Date: Sat, 19 May 2012 22:17:35 +0000 (UTC) From: "Bjoern A. Zeeb" <bz@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org Subject: svn commit: r235667 - stable/7/sys/dev/ixgbe Message-ID: <201205192217.q4JMHZNu048916@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bz Date: Sat May 19 22:17:34 2012 New Revision: 235667 URL: http://svn.freebsd.org/changeset/base/235667 Log: MFC r234620: 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) Modified: stable/7/sys/dev/ixgbe/ixgbe.h Directory Properties: stable/7/sys/ (props changed) Modified: stable/7/sys/dev/ixgbe/ixgbe.h ============================================================================== --- stable/7/sys/dev/ixgbe/ixgbe.h Sat May 19 22:16:12 2012 (r235666) +++ stable/7/sys/dev/ixgbe/ixgbe.h Sat May 19 22:17:34 2012 (r235667) @@ -168,7 +168,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 CSUM_OFFLOAD 7 /* Bits in csum flags */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201205192217.q4JMHZNu048916>