0001 # SPDX-License-Identifier: GPL-2.0-only
0002 #
0003 # Netronome device configuration
0004 #
0005
0006 config NET_VENDOR_NETRONOME
0007 bool "Netronome(R) devices"
0008 default y
0009 help
0010 If you have a Netronome(R) network (Ethernet) card or device, say Y.
0011
0012 Note that the answer to this question doesn't directly affect the
0013 kernel: saying N will just cause the configurator to skip all
0014 the questions about Netronome(R) cards. If you say Y, you will be
0015 asked for your specific card in the following questions.
0016
0017 if NET_VENDOR_NETRONOME
0018
0019 config NFP
0020 tristate "Netronome(R) NFP4000/NFP6000 NIC driver"
0021 depends on PCI && PCI_MSI
0022 depends on VXLAN || VXLAN=n
0023 depends on TLS && TLS_DEVICE || TLS_DEVICE=n
0024 select NET_DEVLINK
0025 select CRC32
0026 select DIMLIB
0027 help
0028 This driver supports the Netronome(R) NFP4000/NFP6000 based
0029 cards working as a advanced Ethernet NIC. It works with both
0030 SR-IOV physical and virtual functions.
0031
0032 config NFP_APP_FLOWER
0033 bool "NFP4000/NFP6000 TC Flower offload support"
0034 depends on NFP
0035 depends on NET_SWITCHDEV
0036 depends on IPV6!=m || NFP=m
0037 default y
0038 help
0039 Enable driver support for TC Flower offload on NFP4000 and NFP6000.
0040 Say Y, if you are planning to make use of TC Flower offload
0041 either directly, with Open vSwitch, or any other way. Note that
0042 TC Flower offload requires specific FW to work.
0043
0044 config NFP_APP_ABM_NIC
0045 bool "NFP4000/NFP6000 Advanced buffer management NIC support"
0046 depends on NFP
0047 depends on NET_SWITCHDEV
0048 default y
0049 help
0050 Enable driver support for Advanced buffer management NIC on NFP.
0051 ABM NIC allows advanced configuration of queuing and scheduling
0052 of packets, including ECN marking. Say Y, if you are planning to
0053 use one of the NFP4000 and NFP6000 platforms which support this
0054 functionality.
0055 Code will be built into the nfp.ko driver.
0056
0057 config NFP_DEBUG
0058 bool "Debug support for Netronome(R) NFP4000/NFP6000 NIC drivers"
0059 depends on NFP
0060 help
0061 Enable extra sanity checks and debugfs support in
0062 Netronome(R) NFP4000/NFP6000 NIC drivers.
0063 Note: selecting this option may adversely impact
0064 performance.
0065
0066 endif