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