From 940ceb0fc0a2838c72620f8593c5aebce4024377 Mon Sep 17 00:00:00 2001 From: erj Date: Tue, 30 Jun 2015 16:26:13 +0000 Subject: [PATCH] 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@ git-svn-id: svn://svn.freebsd.org/base/stable/10@284958 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f --- sys/dev/ixgbe/if_ix.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sys/dev/ixgbe/if_ix.c b/sys/dev/ixgbe/if_ix.c index 6c4f766be..b71131a34 100644 --- a/sys/dev/ixgbe/if_ix.c +++ b/sys/dev/ixgbe/if_ix.c @@ -2499,6 +2499,10 @@ ixgbe_setup_interface(device_t dev, struct adapter *adapter) 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; -- 2.45.0