162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
262306a36Sopenharmony_ci#
362306a36Sopenharmony_ci# Marvell RVU Network drivers configuration
462306a36Sopenharmony_ci#
562306a36Sopenharmony_ci
662306a36Sopenharmony_ciconfig OCTEONTX2_MBOX
762306a36Sopenharmony_ci	tristate
862306a36Sopenharmony_ci
962306a36Sopenharmony_ciconfig OCTEONTX2_AF
1062306a36Sopenharmony_ci	tristate "Marvell OcteonTX2 RVU Admin Function driver"
1162306a36Sopenharmony_ci	select OCTEONTX2_MBOX
1262306a36Sopenharmony_ci	select NET_DEVLINK
1362306a36Sopenharmony_ci	depends on (64BIT && COMPILE_TEST) || ARM64
1462306a36Sopenharmony_ci	depends on PCI
1562306a36Sopenharmony_ci	depends on PTP_1588_CLOCK_OPTIONAL
1662306a36Sopenharmony_ci	help
1762306a36Sopenharmony_ci	  This driver supports Marvell's OcteonTX2 Resource Virtualization
1862306a36Sopenharmony_ci	  Unit's admin function manager which manages all RVU HW resources
1962306a36Sopenharmony_ci	  and provides a medium to other PF/VFs to configure HW. Should be
2062306a36Sopenharmony_ci	  enabled for other RVU device drivers to work.
2162306a36Sopenharmony_ci
2262306a36Sopenharmony_ciconfig NDC_DIS_DYNAMIC_CACHING
2362306a36Sopenharmony_ci	bool "Disable caching of dynamic entries in NDC"
2462306a36Sopenharmony_ci	depends on OCTEONTX2_AF
2562306a36Sopenharmony_ci	default n
2662306a36Sopenharmony_ci	help
2762306a36Sopenharmony_ci	  This config option disables caching of dynamic entries such as NIX SQEs
2862306a36Sopenharmony_ci	  , NPA stack pages etc in NDC. Also locks down NIX SQ/CQ/RQ/RSS and
2962306a36Sopenharmony_ci	  NPA Aura/Pool contexts.
3062306a36Sopenharmony_ci
3162306a36Sopenharmony_ciconfig OCTEONTX2_PF
3262306a36Sopenharmony_ci	tristate "Marvell OcteonTX2 NIC Physical Function driver"
3362306a36Sopenharmony_ci	select OCTEONTX2_MBOX
3462306a36Sopenharmony_ci	select NET_DEVLINK
3562306a36Sopenharmony_ci	select PAGE_POOL
3662306a36Sopenharmony_ci	depends on (64BIT && COMPILE_TEST) || ARM64
3762306a36Sopenharmony_ci	select DIMLIB
3862306a36Sopenharmony_ci	depends on PCI
3962306a36Sopenharmony_ci	depends on PTP_1588_CLOCK_OPTIONAL
4062306a36Sopenharmony_ci	depends on MACSEC || !MACSEC
4162306a36Sopenharmony_ci	help
4262306a36Sopenharmony_ci	  This driver supports Marvell's OcteonTX2 NIC physical function.
4362306a36Sopenharmony_ci
4462306a36Sopenharmony_ciconfig OCTEONTX2_VF
4562306a36Sopenharmony_ci	tristate "Marvell OcteonTX2 NIC Virtual Function driver"
4662306a36Sopenharmony_ci	depends on OCTEONTX2_PF
4762306a36Sopenharmony_ci	help
4862306a36Sopenharmony_ci	  This driver supports Marvell's OcteonTX2 NIC virtual function.
49