1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only 254494aa5SSunil Goutham# 3cb0e3ec4SSunil Goutham# Marvell RVU Network drivers configuration 454494aa5SSunil Goutham# 554494aa5SSunil Goutham 6021e2e53SAleksey Makarovconfig OCTEONTX2_MBOX 7021e2e53SAleksey Makarov tristate 8021e2e53SAleksey Makarov 954494aa5SSunil Gouthamconfig OCTEONTX2_AF 1054494aa5SSunil Goutham tristate "Marvell OcteonTX2 RVU Admin Function driver" 11021e2e53SAleksey Makarov select OCTEONTX2_MBOX 12fae06da4SGeorge Cherian select NET_DEVLINK 1354494aa5SSunil Goutham depends on (64BIT && COMPILE_TEST) || ARM64 1454494aa5SSunil Goutham depends on PCI 15e5f31552SArnd Bergmann depends on PTP_1588_CLOCK_OPTIONAL 1654494aa5SSunil Goutham help 1754494aa5SSunil Goutham This driver supports Marvell's OcteonTX2 Resource Virtualization 1854494aa5SSunil Goutham Unit's admin function manager which manages all RVU HW resources 1954494aa5SSunil Goutham and provides a medium to other PF/VFs to configure HW. Should be 2054494aa5SSunil Goutham enabled for other RVU device drivers to work. 21a0291766SSunil Goutham 22a0291766SSunil Gouthamconfig NDC_DIS_DYNAMIC_CACHING 23a0291766SSunil Goutham bool "Disable caching of dynamic entries in NDC" 24a0291766SSunil Goutham depends on OCTEONTX2_AF 25a0291766SSunil Goutham default n 26a7f7f624SMasahiro Yamada help 27a0291766SSunil Goutham This config option disables caching of dynamic entries such as NIX SQEs 28a0291766SSunil Goutham , NPA stack pages etc in NDC. Also locks down NIX SQ/CQ/RQ/RSS and 29a0291766SSunil Goutham NPA Aura/Pool contexts. 3016547577SSunil Goutham 3116547577SSunil Gouthamconfig OCTEONTX2_PF 3216547577SSunil Goutham tristate "Marvell OcteonTX2 NIC Physical Function driver" 3316547577SSunil Goutham select OCTEONTX2_MBOX 349cbc3367SArnd Bergmann select NET_DEVLINK 35*b2e3406aSRatheesh Kannoth select PAGE_POOL 3616547577SSunil Goutham depends on (64BIT && COMPILE_TEST) || ARM64 376e144b47SSuman Ghosh select DIMLIB 3816547577SSunil Goutham depends on PCI 39e5f31552SArnd Bergmann depends on PTP_1588_CLOCK_OPTIONAL 404581dd48SRandy Dunlap depends on MACSEC || !MACSEC 4116547577SSunil Goutham help 4216547577SSunil Goutham This driver supports Marvell's OcteonTX2 NIC physical function. 433184fb5bSTomasz Duszynski 443184fb5bSTomasz Duszynskiconfig OCTEONTX2_VF 453184fb5bSTomasz Duszynski tristate "Marvell OcteonTX2 NIC Virtual Function driver" 463184fb5bSTomasz Duszynski depends on OCTEONTX2_PF 473184fb5bSTomasz Duszynski help 483184fb5bSTomasz Duszynski This driver supports Marvell's OcteonTX2 NIC virtual function. 49