The octeontx2 pf nic driver failsz to link when the devlink support is not reachable: aarch64-linux-ld: drivers/net/ethernet/marvell/octeontx2/nic/otx2_devlink.o: in function `otx2_dl_mcam_count_get': otx2_devlink.c:(.text+0x10): undefined reference to `devlink_priv' aarch64-linux-ld: drivers/net/ethernet/marvell/octeontx2/nic/otx2_devlink.o: in function `otx2_dl_mcam_count_validate': otx2_devlink.c:(.text+0x50): undefined reference to `devlink_priv' aarch64-linux-ld: drivers/net/ethernet/marvell/octeontx2/nic/otx2_devlink.o: in function `otx2_dl_mcam_count_set': otx2_devlink.c:(.text+0xd0): undefined reference to `devlink_priv' aarch64-linux-ld: drivers/net/ethernet/marvell/octeontx2/nic/otx2_devlink.o: in function `otx2_devlink_info_get': otx2_devlink.c:(.text+0x150): undefined reference to `devlink_priv' This is already selected by the admin function driver, but not the actual nic, which might be built-in when the af driver is not. Fixes: 2da489432747 ("octeontx2-pf: devlink params support to set mcam entry count") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: David S. Miller <davem@davemloft.net>
46 lines
1.3 KiB
Plaintext
46 lines
1.3 KiB
Plaintext
# SPDX-License-Identifier: GPL-2.0-only
|
|
#
|
|
# Marvell RVU Network drivers configuration
|
|
#
|
|
|
|
config OCTEONTX2_MBOX
|
|
tristate
|
|
|
|
config OCTEONTX2_AF
|
|
tristate "Marvell OcteonTX2 RVU Admin Function driver"
|
|
select OCTEONTX2_MBOX
|
|
select NET_DEVLINK
|
|
depends on (64BIT && COMPILE_TEST) || ARM64
|
|
depends on PCI
|
|
depends on PTP_1588_CLOCK_OPTIONAL
|
|
help
|
|
This driver supports Marvell's OcteonTX2 Resource Virtualization
|
|
Unit's admin function manager which manages all RVU HW resources
|
|
and provides a medium to other PF/VFs to configure HW. Should be
|
|
enabled for other RVU device drivers to work.
|
|
|
|
config NDC_DIS_DYNAMIC_CACHING
|
|
bool "Disable caching of dynamic entries in NDC"
|
|
depends on OCTEONTX2_AF
|
|
default n
|
|
help
|
|
This config option disables caching of dynamic entries such as NIX SQEs
|
|
, NPA stack pages etc in NDC. Also locks down NIX SQ/CQ/RQ/RSS and
|
|
NPA Aura/Pool contexts.
|
|
|
|
config OCTEONTX2_PF
|
|
tristate "Marvell OcteonTX2 NIC Physical Function driver"
|
|
select OCTEONTX2_MBOX
|
|
select NET_DEVLINK
|
|
depends on (64BIT && COMPILE_TEST) || ARM64
|
|
depends on PCI
|
|
depends on PTP_1588_CLOCK_OPTIONAL
|
|
help
|
|
This driver supports Marvell's OcteonTX2 NIC physical function.
|
|
|
|
config OCTEONTX2_VF
|
|
tristate "Marvell OcteonTX2 NIC Virtual Function driver"
|
|
depends on OCTEONTX2_PF
|
|
help
|
|
This driver supports Marvell's OcteonTX2 NIC virtual function.
|