git: bce: Utilize hardware supplied RSS hash

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Sat Mar 9 01:43:16 PST 2013


commit 42ad0e07a760aa29981d4650100f65e770f8f144
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
Date:   Sat Mar 9 17:37:13 2013 +0800

    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)

Summary of changes:
 sys/dev/netif/bce/if_bce.c | 52 +++++++++++++++++++++++++++++++++++++++++++++-
 1 file changed, 51 insertions(+), 1 deletion(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/42ad0e07a760aa29981d4650100f65e770f8f144


-- 
DragonFly BSD source repository


More information about the Commits mailing list