Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 May 2018 00:52:48 +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: r333696 - head/sys/dev/cxgbe
Message-ID:  <201805170052.w4H0qmtq049581@repo.freebsd.org>

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



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