Thomas Gleixner | ec8f24b | 2019-05-19 13:07:45 +0100 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0-only |
Jakub Kicinski | 4c35236 | 2015-12-01 14:55:22 +0000 | [diff] [blame] | 2 | # |
| 3 | # Netronome device configuration |
| 4 | # |
| 5 | |
| 6 | config NET_VENDOR_NETRONOME |
| 7 | bool "Netronome(R) devices" |
| 8 | default y |
Masahiro Yamada | a7f7f62 | 2020-06-14 01:50:22 +0900 | [diff] [blame] | 9 | help |
Jakub Kicinski | 4c35236 | 2015-12-01 14:55:22 +0000 | [diff] [blame] | 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 | |
| 17 | if NET_VENDOR_NETRONOME |
| 18 | |
Jakub Kicinski | 2633beb | 2017-02-09 09:17:28 -0800 | [diff] [blame] | 19 | config NFP |
| 20 | tristate "Netronome(R) NFP4000/NFP6000 NIC driver" |
Jakub Kicinski | 4c35236 | 2015-12-01 14:55:22 +0000 | [diff] [blame] | 21 | depends on PCI && PCI_MSI |
| 22 | depends on VXLAN || VXLAN=n |
Jakub Kicinski | 232eeb1 | 2019-06-05 14:11:36 -0700 | [diff] [blame] | 23 | depends on TLS && TLS_DEVICE || TLS_DEVICE=n |
Jiri Pirko | f6b19b3 | 2019-03-24 11:14:38 +0100 | [diff] [blame] | 24 | select NET_DEVLINK |
Arnd Bergmann | 0b32e91 | 2020-12-04 00:20:37 +0100 | [diff] [blame] | 25 | select CRC32 |
Yinjun Zhang | 9d32e4e | 2021-07-26 13:16:34 +0200 | [diff] [blame] | 26 | select DIMLIB |
Masahiro Yamada | a7f7f62 | 2020-06-14 01:50:22 +0900 | [diff] [blame] | 27 | help |
Jakub Kicinski | 2633beb | 2017-02-09 09:17:28 -0800 | [diff] [blame] | 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. |
Jakub Kicinski | 4c35236 | 2015-12-01 14:55:22 +0000 | [diff] [blame] | 31 | |
Jakub Kicinski | 57ae676 | 2017-06-27 00:50:28 -0700 | [diff] [blame] | 32 | config NFP_APP_FLOWER |
| 33 | bool "NFP4000/NFP6000 TC Flower offload support" |
| 34 | depends on NFP |
| 35 | depends on NET_SWITCHDEV |
Arnd Bergmann | ea217e8 | 2020-01-08 14:15:15 +0100 | [diff] [blame] | 36 | depends on IPV6!=m || NFP=m |
Jakub Kicinski | 7c8a2d8 | 2017-09-02 18:26:04 -0700 | [diff] [blame] | 37 | default y |
Masahiro Yamada | a7f7f62 | 2020-06-14 01:50:22 +0900 | [diff] [blame] | 38 | help |
Jakub Kicinski | 57ae676 | 2017-06-27 00:50:28 -0700 | [diff] [blame] | 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 | |
Jakub Kicinski | c4c8f39 | 2018-05-21 22:12:47 -0700 | [diff] [blame] | 44 | config 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 Kicinski | 2633beb | 2017-02-09 09:17:28 -0800 | [diff] [blame] | 57 | config NFP_DEBUG |
| 58 | bool "Debug support for Netronome(R) NFP4000/NFP6000 NIC drivers" |
| 59 | depends on NFP |
Masahiro Yamada | a7f7f62 | 2020-06-14 01:50:22 +0900 | [diff] [blame] | 60 | help |
Jakub Kicinski | 4c35236 | 2015-12-01 14:55:22 +0000 | [diff] [blame] | 61 | Enable extra sanity checks and debugfs support in |
Jakub Kicinski | 2633beb | 2017-02-09 09:17:28 -0800 | [diff] [blame] | 62 | Netronome(R) NFP4000/NFP6000 NIC drivers. |
Jakub Kicinski | 4c35236 | 2015-12-01 14:55:22 +0000 | [diff] [blame] | 63 | Note: selecting this option may adversely impact |
| 64 | performance. |
| 65 | |
| 66 | endif |