Date: Tue, 30 Jun 2015 16:26:14 +0000 (UTC) From: Eric Joyner <erj@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org Subject: svn commit: r284958 - stable/10/sys/dev/ixgbe Message-ID: <201506301626.t5UGQElW084924@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201506301626.t5UGQElW084924>