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
This commit is contained in:
np 2018-10-31 18:30:17 +00:00
parent c713c73686
commit 05d37fcae1

View File

@ -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