Skip to contentSkip to conversation

fix 3c59x for current 2.5-bk

PATCH New Andrew Morton 1 participant 1 message Oct 17, 2002 Network drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fix 3c59x for current 2.5-bk

The networking guys have been doing stuff, and the following patch from Alexey is needed to make the 3c59x ethernet driver work with udp. It teaches driver to add hardware checksums to outgoing UDP frames.

drivers/net/3c59x.c renamed from drivers/net/3c59x.c~3c59x-udp-csum +1 -1
@@ -2052,7 +2052,7 @@ boomerang_start_xmit(struct sk_buff *skb
 	if (skb->ip_summed != CHECKSUM_HW)
 			vp->tx_ring[entry].status = cpu_to_le32(skb->len | TxIntrUploaded);
 	else
-			vp->tx_ring[entry].status = cpu_to_le32(skb->len | TxIntrUploaded | AddTCPChksum);
+			vp->tx_ring[entry].status = cpu_to_le32(skb->len | TxIntrUploaded | AddTCPChksum | AddUDPChksum);
 
 	if (!skb_shinfo(skb)->nr_frags) {
 		vp->tx_ring[entry].frag[0].addr = cpu_to_le32(pci_map_single(vp->pdev, skb->data,

.