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