]> git.baikalelectronics.ru Git - kernel.git/commit
tg3: Raise the jumbo frame BD flag threshold
authorMatt Carlson <mcarlson@broadcom.com>
Mon, 6 Dec 2010 08:28:49 +0000 (08:28 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 6 Dec 2010 19:03:46 +0000 (11:03 -0800)
commit10700007b6011cd63143f75db4b9460536ef68c2
tree813ad1761b8f0916ad268f755d1d827f4964ad53
parentb5b11959c69440088fbba695abbc898d8348513e
tg3: Raise the jumbo frame BD flag threshold

The current transmit routines set the jumbo frame BD flag too
aggressively.  This can reduce performance for common cases.  This patch
raises the jumbo flag threshold to 1518, up from 1500.

Signed-off-by: Matt Carlson <mcarlson@broadcom.com>
Reviewed-by: Benjamin Li <benli@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/tg3.c