From 93c0bfb85bdb0c8a7408158068fd4eb2af446ac1 Mon Sep 17 00:00:00 2001 From: Navdeep Parhar Date: Thu, 17 May 2018 00:52:48 +0000 Subject: [PATCH] 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 --- sys/dev/cxgbe/t4_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/cxgbe/t4_main.c b/sys/dev/cxgbe/t4_main.c index cc9e044cff6e..5d486f55d267 100644 --- a/sys/dev/cxgbe/t4_main.c +++ b/sys/dev/cxgbe/t4_main.c @@ -438,7 +438,7 @@ static int t4_switchcaps_allowed = FW_CAPS_CONFIG_SWITCH_INGRESS | 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;