summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/broadcom/Kconfig
diff options
context:
space:
mode:
authorSathya Perla <sathya.perla@broadcom.com>2017-08-28 20:40:33 +0300
committerDavid S. Miller <davem@davemloft.net>2017-08-29 02:57:10 +0300
commit2ae7408fedfee979e01ed3801223c632bb124c46 (patch)
tree539e6f6d123b9f4ca9277d3d911962023509197e /drivers/net/ethernet/broadcom/Kconfig
parent70855603e0a129d1c810947a4e4dd7ecd6f4560d (diff)
downloadlinux-2ae7408fedfee979e01ed3801223c632bb124c46.tar.xz
bnxt_en: bnxt: add TC flower filter offload support
This patch adds support for offloading TC based flow rules and actions for the 'flower' classifier in the bnxt_en driver. It includes logic to parse flow rules and actions received from the TC subsystem, store them and issue the corresponding hwrm_cfa_flow_alloc/free FW cmds. L2/IPv4/IPv6 flows and drop, redir, vlan push/pop actions are supported in this patch. In this patch the hwrm_cfa_flow_xxx routines are just stubs. The code for these routines is introduced in the next patch for easier review. Also, the code to query the TC/flower action stats will be introduced in a subsequent patch. Signed-off-by: Sathya Perla <sathya.perla@broadcom.com> Signed-off-by: Michael Chan <michael.chan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/broadcom/Kconfig')
-rw-r--r--drivers/net/ethernet/broadcom/Kconfig9
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/net/ethernet/broadcom/Kconfig b/drivers/net/ethernet/broadcom/Kconfig
index 1456cb18f830..67134ece1107 100644
--- a/drivers/net/ethernet/broadcom/Kconfig
+++ b/drivers/net/ethernet/broadcom/Kconfig
@@ -212,6 +212,15 @@ config BNXT_SRIOV
Virtualization support in the NetXtreme-C/E products. This
allows for virtual function acceleration in virtual environments.
+config BNXT_FLOWER_OFFLOAD
+ bool "TC Flower offload support for NetXtreme-C/E"
+ depends on BNXT
+ default y
+ ---help---
+ This configuration parameter enables TC Flower packet classifier
+ offload for eswitch. This option enables SR-IOV switchdev eswitch
+ offload.
+
config BNXT_DCB
bool "Data Center Bridging (DCB) Support"
default n