svn commit: r339965 - head/sys/dev/cxgbe
Navdeep Parhar
np at FreeBSD.org
Wed Oct 31 18:30:18 UTC 2018
Author: np
Date: Wed Oct 31 18:30:17 2018
New Revision: 339965
URL: https://svnweb.freebsd.org/changeset/base/339965
Log:
cxgbe(4): Report a reasonable non-zero if_hw_tsomaxsegsize to the
kernel.
This reverts an accidental change that snuck in with r339628.
Sponsored by: Chelsio Communications
Modified:
head/sys/dev/cxgbe/t4_main.c
Modified: head/sys/dev/cxgbe/t4_main.c
==============================================================================
--- head/sys/dev/cxgbe/t4_main.c Wed Oct 31 18:08:12 2018 (r339964)
+++ head/sys/dev/cxgbe/t4_main.c Wed Oct 31 18:30:17 2018 (r339965)
@@ -1543,7 +1543,7 @@ cxgbe_vi_attach(device_t dev, struct vi_info *vi)
if (is_ethoffload(vi->pi->adapter) && vi->nofldtxq != 0)
ifp->if_hw_tsomaxsegcount = TX_SGL_SEGS_EO_TSO;
#endif
- ifp->if_hw_tsomaxsegsize = 0;
+ ifp->if_hw_tsomaxsegsize = 65536;
ether_ifattach(ifp, vi->hw_addr);
#ifdef DEV_NETMAP
More information about the svn-src-all
mailing list