cvs commit: src/sys/dev/netif/bge if_bge.c

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Tue Jun 26 08:14:15 PDT 2007


sephe       2007/06/26 08:10:23 PDT

DragonFly src repository

  Modified files:
    sys/dev/netif/bge    if_bge.c 
  Log:
  If RX csum calculation with pseudo header is enabled, bge(4)'s will
  miscalculate csum of frames carrying UDP datagrams.  If UDP datagrams
  are not fragmented by IP, then the rate of miscalculation is low, but
  if UDP datagrams are fragmented by IP, then most of the frames will be
  delivered to the upper layer with wrong hardware csum, which is quite
  common for NFS.
  
  Disable hardware RX csum calculation with pseudo header; it will be
  better than doing software csum if hardware csum error happens, since
  the error rate is too high.
  
  Reported-by: Thomas Nikolajsen <thomas.nikolajsen at mail.dk>
  
  Revision  Changes    Path
  1.85      +4 -5      src/sys/dev/netif/bge/if_bge.c


http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/bge/if_bge.c.diff?r1=1.84&r2=1.85&f=u





More information about the Commits mailing list