18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
28c2ecf20Sopenharmony_ci#
38c2ecf20Sopenharmony_ci# Netronome device configuration
48c2ecf20Sopenharmony_ci#
58c2ecf20Sopenharmony_ci
68c2ecf20Sopenharmony_ciconfig NET_VENDOR_NETRONOME
78c2ecf20Sopenharmony_ci	bool "Netronome(R) devices"
88c2ecf20Sopenharmony_ci	default y
98c2ecf20Sopenharmony_ci	help
108c2ecf20Sopenharmony_ci	  If you have a Netronome(R) network (Ethernet) card or device, say Y.
118c2ecf20Sopenharmony_ci
128c2ecf20Sopenharmony_ci	  Note that the answer to this question doesn't directly affect the
138c2ecf20Sopenharmony_ci	  kernel: saying N will just cause the configurator to skip all
148c2ecf20Sopenharmony_ci	  the questions about Netronome(R) cards. If you say Y, you will be
158c2ecf20Sopenharmony_ci	  asked for your specific card in the following questions.
168c2ecf20Sopenharmony_ci
178c2ecf20Sopenharmony_ciif NET_VENDOR_NETRONOME
188c2ecf20Sopenharmony_ci
198c2ecf20Sopenharmony_ciconfig NFP
208c2ecf20Sopenharmony_ci	tristate "Netronome(R) NFP4000/NFP6000 NIC driver"
218c2ecf20Sopenharmony_ci	depends on PCI && PCI_MSI
228c2ecf20Sopenharmony_ci	depends on VXLAN || VXLAN=n
238c2ecf20Sopenharmony_ci	depends on TLS && TLS_DEVICE || TLS_DEVICE=n
248c2ecf20Sopenharmony_ci	select NET_DEVLINK
258c2ecf20Sopenharmony_ci	select CRC32
268c2ecf20Sopenharmony_ci	help
278c2ecf20Sopenharmony_ci	  This driver supports the Netronome(R) NFP4000/NFP6000 based
288c2ecf20Sopenharmony_ci	  cards working as a advanced Ethernet NIC.  It works with both
298c2ecf20Sopenharmony_ci	  SR-IOV physical and virtual functions.
308c2ecf20Sopenharmony_ci
318c2ecf20Sopenharmony_ciconfig NFP_APP_FLOWER
328c2ecf20Sopenharmony_ci	bool "NFP4000/NFP6000 TC Flower offload support"
338c2ecf20Sopenharmony_ci	depends on NFP
348c2ecf20Sopenharmony_ci	depends on NET_SWITCHDEV
358c2ecf20Sopenharmony_ci	depends on IPV6!=m || NFP=m
368c2ecf20Sopenharmony_ci	default y
378c2ecf20Sopenharmony_ci	help
388c2ecf20Sopenharmony_ci	  Enable driver support for TC Flower offload on NFP4000 and NFP6000.
398c2ecf20Sopenharmony_ci	  Say Y, if you are planning to make use of TC Flower offload
408c2ecf20Sopenharmony_ci	  either directly, with Open vSwitch, or any other way.  Note that
418c2ecf20Sopenharmony_ci	  TC Flower offload requires specific FW to work.
428c2ecf20Sopenharmony_ci
438c2ecf20Sopenharmony_ciconfig NFP_APP_ABM_NIC
448c2ecf20Sopenharmony_ci	bool "NFP4000/NFP6000 Advanced buffer management NIC support"
458c2ecf20Sopenharmony_ci	depends on NFP
468c2ecf20Sopenharmony_ci	depends on NET_SWITCHDEV
478c2ecf20Sopenharmony_ci	default y
488c2ecf20Sopenharmony_ci	help
498c2ecf20Sopenharmony_ci	  Enable driver support for Advanced buffer management NIC on NFP.
508c2ecf20Sopenharmony_ci	  ABM NIC allows advanced configuration of queuing and scheduling
518c2ecf20Sopenharmony_ci	  of packets, including ECN marking. Say Y, if you are planning to
528c2ecf20Sopenharmony_ci	  use one of the NFP4000 and NFP6000 platforms which support this
538c2ecf20Sopenharmony_ci	  functionality.
548c2ecf20Sopenharmony_ci	  Code will be built into the nfp.ko driver.
558c2ecf20Sopenharmony_ci
568c2ecf20Sopenharmony_ciconfig NFP_DEBUG
578c2ecf20Sopenharmony_ci	bool "Debug support for Netronome(R) NFP4000/NFP6000 NIC drivers"
588c2ecf20Sopenharmony_ci	depends on NFP
598c2ecf20Sopenharmony_ci	help
608c2ecf20Sopenharmony_ci	  Enable extra sanity checks and debugfs support in
618c2ecf20Sopenharmony_ci	  Netronome(R) NFP4000/NFP6000 NIC drivers.
628c2ecf20Sopenharmony_ci	  Note: selecting this option may adversely impact
638c2ecf20Sopenharmony_ci		performance.
648c2ecf20Sopenharmony_ci
658c2ecf20Sopenharmony_ciendif
66