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