GNU Linux-libre 4.14.294-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_DEBUG
40         bool "Debug support for Netronome(R) NFP4000/NFP6000 NIC drivers"
41         depends on NFP
42         ---help---
43           Enable extra sanity checks and debugfs support in
44           Netronome(R) NFP4000/NFP6000 NIC drivers.
45           Note: selecting this option may adversely impact
46                 performance.
47
48 endif