14c352362SJakub Kicinski#
24c352362SJakub Kicinski# Netronome device configuration
34c352362SJakub Kicinski#
44c352362SJakub Kicinski
54c352362SJakub Kicinskiconfig NET_VENDOR_NETRONOME
64c352362SJakub Kicinski	bool "Netronome(R) devices"
74c352362SJakub Kicinski	default y
84c352362SJakub Kicinski	---help---
94c352362SJakub Kicinski	  If you have a Netronome(R) network (Ethernet) card or device, say Y.
104c352362SJakub Kicinski
114c352362SJakub Kicinski	  Note that the answer to this question doesn't directly affect the
124c352362SJakub Kicinski	  kernel: saying N will just cause the configurator to skip all
134c352362SJakub Kicinski	  the questions about Netronome(R) cards. If you say Y, you will be
144c352362SJakub Kicinski	  asked for your specific card in the following questions.
154c352362SJakub Kicinski
164c352362SJakub Kicinskiif NET_VENDOR_NETRONOME
174c352362SJakub Kicinski
182633beb9SJakub Kicinskiconfig NFP
192633beb9SJakub Kicinski	tristate "Netronome(R) NFP4000/NFP6000 NIC driver"
204c352362SJakub Kicinski	depends on PCI && PCI_MSI
214c352362SJakub Kicinski	depends on VXLAN || VXLAN=n
22d935bc84SJakub Kicinski	depends on MAY_USE_DEVLINK
234c352362SJakub Kicinski	---help---
242633beb9SJakub Kicinski	  This driver supports the Netronome(R) NFP4000/NFP6000 based
252633beb9SJakub Kicinski	  cards working as a advanced Ethernet NIC.  It works with both
262633beb9SJakub Kicinski	  SR-IOV physical and virtual functions.
274c352362SJakub Kicinski
2857ae676eSJakub Kicinskiconfig NFP_APP_FLOWER
2957ae676eSJakub Kicinski	bool "NFP4000/NFP6000 TC Flower offload support"
3057ae676eSJakub Kicinski	depends on NFP
3157ae676eSJakub Kicinski	depends on NET_SWITCHDEV
327c8a2d8bSJakub Kicinski	default y
3357ae676eSJakub Kicinski	---help---
3457ae676eSJakub Kicinski	  Enable driver support for TC Flower offload on NFP4000 and NFP6000.
3557ae676eSJakub Kicinski	  Say Y, if you are planning to make use of TC Flower offload
3657ae676eSJakub Kicinski	  either directly, with Open vSwitch, or any other way.  Note that
3757ae676eSJakub Kicinski	  TC Flower offload requires specific FW to work.
3857ae676eSJakub Kicinski
39c4c8f39aSJakub Kicinskiconfig NFP_APP_ABM_NIC
40c4c8f39aSJakub Kicinski	bool "NFP4000/NFP6000 Advanced buffer management NIC support"
41c4c8f39aSJakub Kicinski	depends on NFP
42c4c8f39aSJakub Kicinski	depends on NET_SWITCHDEV
43c4c8f39aSJakub Kicinski	default y
44c4c8f39aSJakub Kicinski	help
45c4c8f39aSJakub Kicinski	  Enable driver support for Advanced buffer management NIC on NFP.
46c4c8f39aSJakub Kicinski	  ABM NIC allows advanced configuration of queuing and scheduling
47c4c8f39aSJakub Kicinski	  of packets, including ECN marking. Say Y, if you are planning to
48c4c8f39aSJakub Kicinski	  use one of the NFP4000 and NFP6000 platforms which support this
49c4c8f39aSJakub Kicinski	  functionality.
50c4c8f39aSJakub Kicinski	  Code will be built into the nfp.ko driver.
51c4c8f39aSJakub Kicinski
522633beb9SJakub Kicinskiconfig NFP_DEBUG
532633beb9SJakub Kicinski	bool "Debug support for Netronome(R) NFP4000/NFP6000 NIC drivers"
542633beb9SJakub Kicinski	depends on NFP
554c352362SJakub Kicinski	---help---
564c352362SJakub Kicinski	  Enable extra sanity checks and debugfs support in
572633beb9SJakub Kicinski	  Netronome(R) NFP4000/NFP6000 NIC drivers.
584c352362SJakub Kicinski	  Note: selecting this option may adversely impact
594c352362SJakub Kicinski		performance.
604c352362SJakub Kicinski
614c352362SJakub Kicinskiendif
62