forked from Minki/linux
NetXen: Using correct CHECKSUM flag.
Signed-off-by: Amit S. Kale <amitkale@netxen.com> netxen_nic_hw.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Signed-off-by: Jeff Garzik <jeff@garzik.org>
This commit is contained in:
parent
b0d541dbb9
commit
c75e86b47f
@ -376,7 +376,7 @@ void netxen_tso_check(struct netxen_adapter *adapter,
|
||||
((skb->nh.iph)->ihl * sizeof(u32)) +
|
||||
((skb->h.th)->doff * sizeof(u32));
|
||||
netxen_set_cmd_desc_opcode(desc, TX_TCP_LSO);
|
||||
} else if (skb->ip_summed == CHECKSUM_COMPLETE) {
|
||||
} else if (skb->ip_summed == CHECKSUM_PARTIAL) {
|
||||
if (skb->nh.iph->protocol == IPPROTO_TCP) {
|
||||
netxen_set_cmd_desc_opcode(desc, TX_TCP_PKT);
|
||||
} else if (skb->nh.iph->protocol == IPPROTO_UDP) {
|
||||
|
Loading…
Reference in New Issue
Block a user