svn commit: r333696 - head/sys/dev/cxgbe

Navdeep Parhar np at FreeBSD.org
Thu May 17 00:52:49 UTC 2018


Author: np
Date: Thu May 17 00:52:48 2018
New Revision: 333696
URL: https://svnweb.freebsd.org/changeset/base/333696

Log:
  cxgbe(4): Add NIC_ETHOFLD to the NIC capabilities allowed by the driver
  by default.
  
  This is the first of a series of commits that will add support for
  RATELIMIT kernel option to the base if_cxgbe driver, for use with
  ordinary NIC traffic "flows".  RATELIMIT is already supported by t4_tom
  for the fully-offloaded TCP connections that it handles.
  
  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	Thu May 17 00:45:35 2018	(r333695)
+++ head/sys/dev/cxgbe/t4_main.c	Thu May 17 00:52:48 2018	(r333696)
@@ -438,7 +438,7 @@ static int t4_switchcaps_allowed = FW_CAPS_CONFIG_SWIT
 TUNABLE_INT("hw.cxgbe.switchcaps_allowed", &t4_switchcaps_allowed);
 
 static int t4_niccaps_allowed = FW_CAPS_CONFIG_NIC |
-	FW_CAPS_CONFIG_NIC_HASHFILTER;
+	FW_CAPS_CONFIG_NIC_HASHFILTER | FW_CAPS_CONFIG_NIC_ETHOFLD;
 TUNABLE_INT("hw.cxgbe.niccaps_allowed", &t4_niccaps_allowed);
 
 static int t4_toecaps_allowed = -1;


More information about the svn-src-head mailing list