summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_devar.h
diff options
context:
space:
mode:
authorChristian Weisgerber <naddy@cvs.openbsd.org>2009-06-04 04:48:25 +0000
committerChristian Weisgerber <naddy@cvs.openbsd.org>2009-06-04 04:48:25 +0000
commit7ee45ff0cc9dfda370bf6ac721453b0dc17f8efc (patch)
tree37bb7145f87c2b50b6c14a9076235b0924f68792 /sys/dev/pci/if_devar.h
parent035d32216e5a779b4d4f0ca72e4db41f735a46d1 (diff)
Fix IPv4 rx checksumming for the non-TCP/UDP case. DESCV2 chips
don't set RL_RDESC_STAT_PROTOID for non-TCP/UDP IP packets, only RL_RDESC_IPV[46]. Also check RL_RDESC_IPV[46] before inspecting the TCP/UDP checksum bits to make IPv6 TCP/UDP checksum offload work intentionally. Gleaned from NetBSD.
Diffstat (limited to 'sys/dev/pci/if_devar.h')
0 files changed, 0 insertions, 0 deletions