blob: 8844d1ac053af5f2fa4c9ed046bba365b932ed58 [file] [log] [blame]
Thomas Gleixnerec8f24b2019-05-19 13:07:45 +01001# SPDX-License-Identifier: GPL-2.0-only
Jakub Kicinski4c352362015-12-01 14:55:22 +00002#
3# Netronome device configuration
4#
5
6config NET_VENDOR_NETRONOME
7 bool "Netronome(R) devices"
8 default y
Masahiro Yamadaa7f7f622020-06-14 01:50:22 +09009 help
Jakub Kicinski4c352362015-12-01 14:55:22 +000010 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
Jakub Kicinski2633beb2017-02-09 09:17:28 -080019config NFP
20 tristate "Netronome(R) NFP4000/NFP6000 NIC driver"
Jakub Kicinski4c352362015-12-01 14:55:22 +000021 depends on PCI && PCI_MSI
22 depends on VXLAN || VXLAN=n
Jakub Kicinski232eeb12019-06-05 14:11:36 -070023 depends on TLS && TLS_DEVICE || TLS_DEVICE=n
Jiri Pirkof6b19b32019-03-24 11:14:38 +010024 select NET_DEVLINK
Arnd Bergmann0b32e912020-12-04 00:20:37 +010025 select CRC32
Yinjun Zhang9d32e4e2021-07-26 13:16:34 +020026 select DIMLIB
Masahiro Yamadaa7f7f622020-06-14 01:50:22 +090027 help
Jakub Kicinski2633beb2017-02-09 09:17:28 -080028 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.
Jakub Kicinski4c352362015-12-01 14:55:22 +000031
Jakub Kicinski57ae6762017-06-27 00:50:28 -070032config NFP_APP_FLOWER
33 bool "NFP4000/NFP6000 TC Flower offload support"
34 depends on NFP
35 depends on NET_SWITCHDEV
Arnd Bergmannea217e82020-01-08 14:15:15 +010036 depends on IPV6!=m || NFP=m
Jakub Kicinski7c8a2d82017-09-02 18:26:04 -070037 default y
Masahiro Yamadaa7f7f622020-06-14 01:50:22 +090038 help
Jakub Kicinski57ae6762017-06-27 00:50:28 -070039 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
Jakub Kicinskic4c8f392018-05-21 22:12:47 -070044config 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
Jakub Kicinski2633beb2017-02-09 09:17:28 -080057config NFP_DEBUG
58 bool "Debug support for Netronome(R) NFP4000/NFP6000 NIC drivers"
59 depends on NFP
Masahiro Yamadaa7f7f622020-06-14 01:50:22 +090060 help
Jakub Kicinski4c352362015-12-01 14:55:22 +000061 Enable extra sanity checks and debugfs support in
Jakub Kicinski2633beb2017-02-09 09:17:28 -080062 Netronome(R) NFP4000/NFP6000 NIC drivers.
Jakub Kicinski4c352362015-12-01 14:55:22 +000063 Note: selecting this option may adversely impact
64 performance.
65
66endif