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