Message ID | 20211104133449.1118457-1-arnd@kernel.org (mailing list archive) |
---|---|
State | Accepted |
Commit | 9cbc3367968de69017a87a1118b62490ac1bdd0a |
Delegated to: | Netdev Maintainers |
Headers | show |
Series | octeontx2-pf: select CONFIG_NET_DEVLINK | expand |
Hello: This patch was applied to netdev/net.git (master) by David S. Miller <davem@davemloft.net>: On Thu, 4 Nov 2021 14:34:42 +0100 you wrote: > From: Arnd Bergmann <arnd@arndb.de> > > 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' > > [...] Here is the summary with links: - octeontx2-pf: select CONFIG_NET_DEVLINK https://git.kernel.org/netdev/net/c/9cbc3367968d You are awesome, thank you!
diff --git a/drivers/net/ethernet/marvell/octeontx2/Kconfig b/drivers/net/ethernet/marvell/octeontx2/Kconfig index 3f982ccf2c85..639893d87055 100644 --- a/drivers/net/ethernet/marvell/octeontx2/Kconfig +++ b/drivers/net/ethernet/marvell/octeontx2/Kconfig @@ -31,6 +31,7 @@ config NDC_DIS_DYNAMIC_CACHING 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