1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only 24c352362SJakub Kicinski# 34c352362SJakub Kicinski# Netronome device configuration 44c352362SJakub Kicinski# 54c352362SJakub Kicinski 64c352362SJakub Kicinskiconfig NET_VENDOR_NETRONOME 74c352362SJakub Kicinski bool "Netronome(R) devices" 84c352362SJakub Kicinski default y 9a7f7f624SMasahiro Yamada help 104c352362SJakub Kicinski If you have a Netronome(R) network (Ethernet) card or device, say Y. 114c352362SJakub Kicinski 124c352362SJakub Kicinski Note that the answer to this question doesn't directly affect the 134c352362SJakub Kicinski kernel: saying N will just cause the configurator to skip all 144c352362SJakub Kicinski the questions about Netronome(R) cards. If you say Y, you will be 154c352362SJakub Kicinski asked for your specific card in the following questions. 164c352362SJakub Kicinski 174c352362SJakub Kicinskiif NET_VENDOR_NETRONOME 184c352362SJakub Kicinski 192633beb9SJakub Kicinskiconfig NFP 202633beb9SJakub Kicinski tristate "Netronome(R) NFP4000/NFP6000 NIC driver" 214c352362SJakub Kicinski depends on PCI && PCI_MSI 224c352362SJakub Kicinski depends on VXLAN || VXLAN=n 23232eeb1fSJakub Kicinski depends on TLS && TLS_DEVICE || TLS_DEVICE=n 24f6b19b35SJiri Pirko select NET_DEVLINK 250b32e91fSArnd Bergmann select CRC32 269d32e4e7SYinjun Zhang select DIMLIB 27a7f7f624SMasahiro Yamada help 282633beb9SJakub Kicinski This driver supports the Netronome(R) NFP4000/NFP6000 based 292633beb9SJakub Kicinski cards working as a advanced Ethernet NIC. It works with both 302633beb9SJakub Kicinski SR-IOV physical and virtual functions. 314c352362SJakub Kicinski 3257ae676eSJakub Kicinskiconfig NFP_APP_FLOWER 3357ae676eSJakub Kicinski bool "NFP4000/NFP6000 TC Flower offload support" 3457ae676eSJakub Kicinski depends on NFP 3557ae676eSJakub Kicinski depends on NET_SWITCHDEV 36ea217e87SArnd Bergmann depends on IPV6!=m || NFP=m 377c8a2d8bSJakub Kicinski default y 38a7f7f624SMasahiro Yamada help 3957ae676eSJakub Kicinski Enable driver support for TC Flower offload on NFP4000 and NFP6000. 4057ae676eSJakub Kicinski Say Y, if you are planning to make use of TC Flower offload 4157ae676eSJakub Kicinski either directly, with Open vSwitch, or any other way. Note that 4257ae676eSJakub Kicinski TC Flower offload requires specific FW to work. 4357ae676eSJakub Kicinski 44c4c8f39aSJakub Kicinskiconfig NFP_APP_ABM_NIC 45c4c8f39aSJakub Kicinski bool "NFP4000/NFP6000 Advanced buffer management NIC support" 46c4c8f39aSJakub Kicinski depends on NFP 47c4c8f39aSJakub Kicinski depends on NET_SWITCHDEV 48c4c8f39aSJakub Kicinski default y 49c4c8f39aSJakub Kicinski help 50c4c8f39aSJakub Kicinski Enable driver support for Advanced buffer management NIC on NFP. 51c4c8f39aSJakub Kicinski ABM NIC allows advanced configuration of queuing and scheduling 52c4c8f39aSJakub Kicinski of packets, including ECN marking. Say Y, if you are planning to 53c4c8f39aSJakub Kicinski use one of the NFP4000 and NFP6000 platforms which support this 54c4c8f39aSJakub Kicinski functionality. 55c4c8f39aSJakub Kicinski Code will be built into the nfp.ko driver. 56c4c8f39aSJakub Kicinski 57*57f273adSHuanhuan Wangconfig NFP_NET_IPSEC 58*57f273adSHuanhuan Wang bool "NFP IPsec crypto offload support" 59*57f273adSHuanhuan Wang depends on NFP 60*57f273adSHuanhuan Wang depends on XFRM_OFFLOAD 61*57f273adSHuanhuan Wang default y 62*57f273adSHuanhuan Wang help 63*57f273adSHuanhuan Wang Enable driver support IPsec crypto offload on NFP NIC. 64*57f273adSHuanhuan Wang Say Y, if you are planning to make use of IPsec crypto 65*57f273adSHuanhuan Wang offload. NOTE that IPsec crypto offload on NFP NIC 66*57f273adSHuanhuan Wang requires specific FW to work. 67*57f273adSHuanhuan Wang 682633beb9SJakub Kicinskiconfig NFP_DEBUG 692633beb9SJakub Kicinski bool "Debug support for Netronome(R) NFP4000/NFP6000 NIC drivers" 702633beb9SJakub Kicinski depends on NFP 71a7f7f624SMasahiro Yamada help 724c352362SJakub Kicinski Enable extra sanity checks and debugfs support in 732633beb9SJakub Kicinski Netronome(R) NFP4000/NFP6000 NIC drivers. 744c352362SJakub Kicinski Note: selecting this option may adversely impact 754c352362SJakub Kicinski performance. 764c352362SJakub Kicinski 774c352362SJakub Kicinskiendif 78