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