[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-commits-all
Subject:    svn commit: r339965 - head/sys/dev/cxgbe
From:       Navdeep Parhar <np () FreeBSD ! org>
Date:       2018-10-31 18:30:18
Message-ID: 201810311830.w9VIUIMi060091 () repo ! freebsd ! org
[Download RAW message or body]

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
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic