bce: Utilize hardware supplied RSS hash
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Sat, 9 Mar 2013 09:37:13 +0000 (17:37 +0800)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Sat, 9 Mar 2013 09:45:42 +0000 (17:45 +0800)
commit42ad0e07a760aa29981d4650100f65e770f8f144
tree4eef843142e3de26a534f3d08f5c1c0bafeb81cc
parente38ae497483a6be576d0242ed6d16e6608f04a39
bce: Utilize hardware supplied RSS hash

The IP fragment detection needs further investigation.  Currently we
can't tell for 100% sure whether the received packet is an IP fragment
or not; we just test the hardware supplied checksum against 0xffff for
IP fragment detection.  However, it is not a big deal in the current
code base, since IP fragments reassemabling is under a token (the IP
fragments reassemabing used to be only allowed on netisr0)
sys/dev/netif/bce/if_bce.c