aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorNavdeep Parhar <np@FreeBSD.org>2018-10-31 18:30:17 +0000
committerNavdeep Parhar <np@FreeBSD.org>2018-10-31 18:30:17 +0000
commit1272051e82111b521fd5d5c1e3a7fd9e63d44eeb (patch)
treeae5d4df27fe86cc023cda5355d988e5544b58486 /sys
parent9117dffc3c2330895485a16e31a014401db5bf50 (diff)
downloadsrc-1272051e82111b521fd5d5c1e3a7fd9e63d44eeb.tar.gz
src-1272051e82111b521fd5d5c1e3a7fd9e63d44eeb.zip
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
Notes
Notes: svn path=/head/; revision=339965
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/cxgbe/t4_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/cxgbe/t4_main.c b/sys/dev/cxgbe/t4_main.c
index d2746367251f..effc82ab0704 100644
--- a/sys/dev/cxgbe/t4_main.c
+++ b/sys/dev/cxgbe/t4_main.c
@@ -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