0001 # SPDX-License-Identifier: GPL-2.0-only
0002 #
0003 # Marvell RVU Network drivers configuration
0004 #
0005
0006 config OCTEONTX2_MBOX
0007 tristate
0008
0009 config OCTEONTX2_AF
0010 tristate "Marvell OcteonTX2 RVU Admin Function driver"
0011 select OCTEONTX2_MBOX
0012 select NET_DEVLINK
0013 depends on (64BIT && COMPILE_TEST) || ARM64
0014 depends on PCI
0015 depends on PTP_1588_CLOCK_OPTIONAL
0016 help
0017 This driver supports Marvell's OcteonTX2 Resource Virtualization
0018 Unit's admin function manager which manages all RVU HW resources
0019 and provides a medium to other PF/VFs to configure HW. Should be
0020 enabled for other RVU device drivers to work.
0021
0022 config NDC_DIS_DYNAMIC_CACHING
0023 bool "Disable caching of dynamic entries in NDC"
0024 depends on OCTEONTX2_AF
0025 default n
0026 help
0027 This config option disables caching of dynamic entries such as NIX SQEs
0028 , NPA stack pages etc in NDC. Also locks down NIX SQ/CQ/RQ/RSS and
0029 NPA Aura/Pool contexts.
0030
0031 config OCTEONTX2_PF
0032 tristate "Marvell OcteonTX2 NIC Physical Function driver"
0033 select OCTEONTX2_MBOX
0034 select NET_DEVLINK
0035 depends on (64BIT && COMPILE_TEST) || ARM64
0036 select DIMLIB
0037 depends on PCI
0038 depends on PTP_1588_CLOCK_OPTIONAL
0039 help
0040 This driver supports Marvell's OcteonTX2 NIC physical function.
0041
0042 config OCTEONTX2_VF
0043 tristate "Marvell OcteonTX2 NIC Virtual Function driver"
0044 depends on OCTEONTX2_PF
0045 help
0046 This driver supports Marvell's OcteonTX2 NIC virtual function.