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