svn commit: r284958 - stable/10/sys/dev/ixgbe

Eric Joyner erj at FreeBSD.org
Tue Jun 30 16:26:14 UTC 2015


Author: erj
Date: Tue Jun 30 16:26:13 2015
New Revision: 284958
URL: https://svnweb.freebsd.org/changeset/base/284958

Log:
  Re-add if_hw_tso* assignments to if_ix.c that were removed in r283668.
  
  These are used in stable/10 as well as 11.
  
  Requested by:	rmacklem@

Modified:
  stable/10/sys/dev/ixgbe/if_ix.c

Modified: stable/10/sys/dev/ixgbe/if_ix.c
==============================================================================
--- stable/10/sys/dev/ixgbe/if_ix.c	Tue Jun 30 15:32:57 2015	(r284957)
+++ stable/10/sys/dev/ixgbe/if_ix.c	Tue Jun 30 16:26:13 2015	(r284958)
@@ -2499,6 +2499,10 @@ ixgbe_setup_interface(device_t dev, stru
 	ifp->if_softc = adapter;
 	ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST;
 	ifp->if_ioctl = ixgbe_ioctl;
+	/* TSO parameters */
+	ifp->if_hw_tsomax = 65518;
+	ifp->if_hw_tsomaxsegcount = IXGBE_82599_SCATTER;
+	ifp->if_hw_tsomaxsegsize = 2048;
 #ifndef IXGBE_LEGACY_TX
 	ifp->if_transmit = ixgbe_mq_start;
 	ifp->if_qflush = ixgbe_qflush;


More information about the svn-src-all mailing list