svn commit: r234620 - head/sys/dev/ixgbe
Bjoern A. Zeeb
bz at FreeBSD.org
Mon Apr 23 22:05:09 UTC 2012
Author: bz
Date: Mon Apr 23 22:05:09 2012
New Revision: 234620
URL: http://svn.freebsd.org/changeset/base/234620
Log:
If we pass down 64k - L2 hdr size + 1 to 64K L3+ data adding an ether
header will make the data go over the 64k limits announced to busdma as
maxsize and the transaction will fail.
With TSO this can result in a TCP regression due to the lost packet.
According to the data sheets ixgbe(4) 82598 and 82599 can handle up to
256k so increase the maximum.
Reported by: Jon Kåre Hellan, UNINETT (jon.kare.hellan uninett.no)
Tested by: Jon Kåre Hellan, UNINETT (jon.kare.hellan uninett.no)
MFC after: 1 week
Modified:
head/sys/dev/ixgbe/ixgbe.h
Modified: head/sys/dev/ixgbe/ixgbe.h
==============================================================================
--- head/sys/dev/ixgbe/ixgbe.h Mon Apr 23 22:03:56 2012 (r234619)
+++ head/sys/dev/ixgbe/ixgbe.h Mon Apr 23 22:05:09 2012 (r234620)
@@ -179,7 +179,7 @@
#define IXGBE_82599_SCATTER 32
#define MSIX_82598_BAR 3
#define MSIX_82599_BAR 4
-#define IXGBE_TSO_SIZE 65535
+#define IXGBE_TSO_SIZE 262140
#define IXGBE_TX_BUFFER_SIZE ((u32) 1514)
#define IXGBE_RX_HDR 128
#define IXGBE_VFTA_SIZE 128
More information about the svn-src-all
mailing list