Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 Oct 2018 18:30:18 +0000 (UTC)
From:      Navdeep Parhar <np@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r339965 - head/sys/dev/cxgbe
Message-ID:  <201810311830.w9VIUIMi060091@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201810311830.w9VIUIMi060091>