xref: /linux/drivers/net/ethernet/marvell/octeontx2/Kconfig (revision a1c3be890440a1769ed6f822376a3e3ab0d42994)
1# SPDX-License-Identifier: GPL-2.0-only
2#
3# Marvell OcteonTX2 drivers configuration
4#
5
6config OCTEONTX2_MBOX
7	tristate
8
9config OCTEONTX2_AF
10	tristate "Marvell OcteonTX2 RVU Admin Function driver"
11	select OCTEONTX2_MBOX
12	select NET_DEVLINK
13	depends on (64BIT && COMPILE_TEST) || ARM64
14	depends on PCI
15	help
16	  This driver supports Marvell's OcteonTX2 Resource Virtualization
17	  Unit's admin function manager which manages all RVU HW resources
18	  and provides a medium to other PF/VFs to configure HW. Should be
19	  enabled for other RVU device drivers to work.
20
21config NDC_DIS_DYNAMIC_CACHING
22	bool "Disable caching of dynamic entries in NDC"
23	depends on OCTEONTX2_AF
24	default n
25	help
26	  This config option disables caching of dynamic entries such as NIX SQEs
27	  , NPA stack pages etc in NDC. Also locks down NIX SQ/CQ/RQ/RSS and
28	  NPA Aura/Pool contexts.
29
30config OCTEONTX2_PF
31	tristate "Marvell OcteonTX2 NIC Physical Function driver"
32	select OCTEONTX2_MBOX
33	depends on (64BIT && COMPILE_TEST) || ARM64
34	depends on PCI
35	help
36	  This driver supports Marvell's OcteonTX2 NIC physical function.
37
38config OCTEONTX2_VF
39	tristate "Marvell OcteonTX2 NIC Virtual Function driver"
40	depends on OCTEONTX2_PF
41	help
42	  This driver supports Marvell's OcteonTX2 NIC virtual function.
43