aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Horman <[email protected]>2024-08-02 16:43:17 +0100
committerJakub Kicinski <[email protected]>2024-08-02 16:23:59 -0700
commit9a95b7a89dffae5f1e99dd73748f144fec820292 (patch)
treebcb413048e60333933f13c9082164eeb8a3a9ec5
parent46619175f1b7e4f7fc5dc98547f5eca27193f8dc (diff)
eth: fbnic: select DEVLINK and PAGE_POOL
Build bot reports undefined references to devlink functions. And local testing revealed undefined references to page_pool functions. Based on a patch by Jakub Kicinski <[email protected]> Fixes: 1a9d48892ea5 ("eth: fbnic: Allocate core device specific structures and devlink interface") Reported-by: kernel test robot <[email protected]> Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/ Signed-off-by: Simon Horman <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
-rw-r--r--drivers/net/ethernet/meta/Kconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ethernet/meta/Kconfig b/drivers/net/ethernet/meta/Kconfig
index c002ede36402..85519690b837 100644
--- a/drivers/net/ethernet/meta/Kconfig
+++ b/drivers/net/ethernet/meta/Kconfig
@@ -23,6 +23,8 @@ config FBNIC
depends on !S390
depends on MAX_SKB_FRAGS < 22
depends on PCI_MSI
+ select NET_DEVLINK
+ select PAGE_POOL
select PHYLINK
help
This driver supports Meta Platforms Host Network Interface.