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	depends on (64BIT && COMPILE_TEST) || ARM64
13	depends on PCI
14	help
15	  This driver supports Marvell's OcteonTX2 Resource Virtualization
16	  Unit's admin function manager which manages all RVU HW resources
17	  and provides a medium to other PF/VFs to configure HW. Should be
18	  enabled for other RVU device drivers to work.
19
20config NDC_DIS_DYNAMIC_CACHING
21	bool "Disable caching of dynamic entries in NDC"
22	depends on OCTEONTX2_AF
23	default n
24	---help---
25	  This config option disables caching of dynamic entries such as NIX SQEs
26	  , NPA stack pages etc in NDC. Also locks down NIX SQ/CQ/RQ/RSS and
27	  NPA Aura/Pool contexts.
28
29config OCTEONTX2_PF
30	tristate "Marvell OcteonTX2 NIC Physical Function driver"
31	select OCTEONTX2_MBOX
32	depends on (64BIT && COMPILE_TEST) || ARM64
33	depends on PCI
34	help
35	  This driver supports Marvell's OcteonTX2 NIC physical function.
36
37config OCTEONTX2_VF
38	tristate "Marvell OcteonTX2 NIC Virtual Function driver"
39	depends on OCTEONTX2_PF
40	help
41	  This driver supports Marvell's OcteonTX2 NIC virtual function.
42