18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
28c2ecf20Sopenharmony_ci#
38c2ecf20Sopenharmony_ci# Marvell OcteonTX2 drivers configuration
48c2ecf20Sopenharmony_ci#
58c2ecf20Sopenharmony_ci
68c2ecf20Sopenharmony_ciconfig OCTEONTX2_MBOX
78c2ecf20Sopenharmony_ci	tristate
88c2ecf20Sopenharmony_ci
98c2ecf20Sopenharmony_ciconfig OCTEONTX2_AF
108c2ecf20Sopenharmony_ci	tristate "Marvell OcteonTX2 RVU Admin Function driver"
118c2ecf20Sopenharmony_ci	select OCTEONTX2_MBOX
128c2ecf20Sopenharmony_ci	depends on (64BIT && COMPILE_TEST) || ARM64
138c2ecf20Sopenharmony_ci	depends on PCI
148c2ecf20Sopenharmony_ci	help
158c2ecf20Sopenharmony_ci	  This driver supports Marvell's OcteonTX2 Resource Virtualization
168c2ecf20Sopenharmony_ci	  Unit's admin function manager which manages all RVU HW resources
178c2ecf20Sopenharmony_ci	  and provides a medium to other PF/VFs to configure HW. Should be
188c2ecf20Sopenharmony_ci	  enabled for other RVU device drivers to work.
198c2ecf20Sopenharmony_ci
208c2ecf20Sopenharmony_ciconfig NDC_DIS_DYNAMIC_CACHING
218c2ecf20Sopenharmony_ci	bool "Disable caching of dynamic entries in NDC"
228c2ecf20Sopenharmony_ci	depends on OCTEONTX2_AF
238c2ecf20Sopenharmony_ci	default n
248c2ecf20Sopenharmony_ci	help
258c2ecf20Sopenharmony_ci	  This config option disables caching of dynamic entries such as NIX SQEs
268c2ecf20Sopenharmony_ci	  , NPA stack pages etc in NDC. Also locks down NIX SQ/CQ/RQ/RSS and
278c2ecf20Sopenharmony_ci	  NPA Aura/Pool contexts.
288c2ecf20Sopenharmony_ci
298c2ecf20Sopenharmony_ciconfig OCTEONTX2_PF
308c2ecf20Sopenharmony_ci	tristate "Marvell OcteonTX2 NIC Physical Function driver"
318c2ecf20Sopenharmony_ci	select OCTEONTX2_MBOX
328c2ecf20Sopenharmony_ci	depends on (64BIT && COMPILE_TEST) || ARM64
338c2ecf20Sopenharmony_ci	depends on PCI
348c2ecf20Sopenharmony_ci	help
358c2ecf20Sopenharmony_ci	  This driver supports Marvell's OcteonTX2 NIC physical function.
368c2ecf20Sopenharmony_ci
378c2ecf20Sopenharmony_ciconfig OCTEONTX2_VF
388c2ecf20Sopenharmony_ci	tristate "Marvell OcteonTX2 NIC Virtual Function driver"
398c2ecf20Sopenharmony_ci	depends on OCTEONTX2_PF
408c2ecf20Sopenharmony_ci	help
418c2ecf20Sopenharmony_ci	  This driver supports Marvell's OcteonTX2 NIC virtual function.
42