xref: /linux/drivers/net/ethernet/netronome/Kconfig (revision 34dc1baba215b826e454b8d19e4f24adbeb7d00d)
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_MSI
22	depends on VXLAN || VXLAN=n
23	depends on TLS && TLS_DEVICE || TLS_DEVICE=n
24	select NET_DEVLINK
25	select CRC32
26	select DIMLIB
27	help
28	  This driver supports the Netronome(R) NFP4000/NFP6000 based
29	  cards working as a advanced Ethernet NIC.  It works with both
30	  SR-IOV physical and virtual functions.
31
32config NFP_APP_FLOWER
33	bool "NFP4000/NFP6000 TC Flower offload support"
34	depends on NFP
35	depends on NET_SWITCHDEV
36	depends on IPV6!=m || NFP=m
37	default y
38	help
39	  Enable driver support for TC Flower offload on NFP4000 and NFP6000.
40	  Say Y, if you are planning to make use of TC Flower offload
41	  either directly, with Open vSwitch, or any other way.  Note that
42	  TC Flower offload requires specific FW to work.
43
44config NFP_APP_ABM_NIC
45	bool "NFP4000/NFP6000 Advanced buffer management NIC support"
46	depends on NFP
47	depends on NET_SWITCHDEV
48	default y
49	help
50	  Enable driver support for Advanced buffer management NIC on NFP.
51	  ABM NIC allows advanced configuration of queuing and scheduling
52	  of packets, including ECN marking. Say Y, if you are planning to
53	  use one of the NFP4000 and NFP6000 platforms which support this
54	  functionality.
55	  Code will be built into the nfp.ko driver.
56
57config NFP_NET_IPSEC
58	bool "NFP IPsec crypto offload support"
59	depends on NFP
60	depends on XFRM_OFFLOAD
61	default y
62	help
63	  Enable driver support IPsec crypto offload on NFP NIC.
64	  Say Y, if you are planning to make use of IPsec crypto
65	  offload. NOTE that IPsec crypto offload on NFP NIC
66	  requires specific FW to work.
67
68config NFP_DEBUG
69	bool "Debug support for Netronome(R) NFP4000/NFP6000 NIC drivers"
70	depends on NFP
71	help
72	  Enable extra sanity checks and debugfs support in
73	  Netronome(R) NFP4000/NFP6000 NIC drivers.
74	  Note: selecting this option may adversely impact
75		performance.
76
77endif
78