^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) # SPDX-License-Identifier: GPL-2.0-only
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) #
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) # Netronome device configuration
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) #
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) config NET_VENDOR_NETRONOME
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) bool "Netronome(R) devices"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) default y
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) If you have a Netronome(R) network (Ethernet) card or device, say Y.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) Note that the answer to this question doesn't directly affect the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) kernel: saying N will just cause the configurator to skip all
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) the questions about Netronome(R) cards. If you say Y, you will be
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) asked for your specific card in the following questions.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) if NET_VENDOR_NETRONOME
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) config NFP
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) tristate "Netronome(R) NFP4000/NFP6000 NIC driver"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) depends on PCI && PCI_MSI
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) depends on VXLAN || VXLAN=n
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) depends on TLS && TLS_DEVICE || TLS_DEVICE=n
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) select NET_DEVLINK
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) select CRC32
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) This driver supports the Netronome(R) NFP4000/NFP6000 based
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) cards working as a advanced Ethernet NIC. It works with both
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) SR-IOV physical and virtual functions.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) config NFP_APP_FLOWER
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) bool "NFP4000/NFP6000 TC Flower offload support"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) depends on NFP
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) depends on NET_SWITCHDEV
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) depends on IPV6!=m || NFP=m
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) default y
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) Enable driver support for TC Flower offload on NFP4000 and NFP6000.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) Say Y, if you are planning to make use of TC Flower offload
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40) either directly, with Open vSwitch, or any other way. Note that
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) TC Flower offload requires specific FW to work.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43) config NFP_APP_ABM_NIC
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44) bool "NFP4000/NFP6000 Advanced buffer management NIC support"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45) depends on NFP
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 46) depends on NET_SWITCHDEV
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 47) default y
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 48) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 49) Enable driver support for Advanced buffer management NIC on NFP.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 50) ABM NIC allows advanced configuration of queuing and scheduling
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 51) of packets, including ECN marking. Say Y, if you are planning to
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 52) use one of the NFP4000 and NFP6000 platforms which support this
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 53) functionality.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 54) Code will be built into the nfp.ko driver.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 55)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 56) config NFP_DEBUG
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 57) bool "Debug support for Netronome(R) NFP4000/NFP6000 NIC drivers"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 58) depends on NFP
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 59) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 60) Enable extra sanity checks and debugfs support in
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 61) Netronome(R) NFP4000/NFP6000 NIC drivers.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 62) Note: selecting this option may adversely impact
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 63) performance.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 64)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 65) endif