Commit 2be4a5ff authored by Scott Feldman's avatar Scott Feldman Committed by Jeff Garzik

[E100] Bug fix on setting up Tx csum

On Thu, 20 Mar 2003, Scott Feldman wrote:


* Bug fix on setting up Tx csum
parent ea35c57a
...@@ -2130,7 +2130,8 @@ e100_prepare_xmit_buff(struct e100_private *bdp, struct sk_buff *skb) ...@@ -2130,7 +2130,8 @@ e100_prepare_xmit_buff(struct e100_private *bdp, struct sk_buff *skb)
if ((ip->protocol == IPPROTO_TCP) || if ((ip->protocol == IPPROTO_TCP) ||
(ip->protocol == IPPROTO_UDP)) { (ip->protocol == IPPROTO_UDP)) {
tcb->tcbu.ipcb.ip_activation_high =
tcb->tcbu.ipcb.ip_activation_high |=
IPCB_HARDWAREPARSING_ENABLE; IPCB_HARDWAREPARSING_ENABLE;
tcb->tcbu.ipcb.ip_schedule |= tcb->tcbu.ipcb.ip_schedule |=
IPCB_TCPUDP_CHECKSUM_ENABLE; IPCB_TCPUDP_CHECKSUM_ENABLE;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment