eth: fbnic: select DEVLINK and PAGE_POOL
authorSimon Horman <horms@kernel.org>
Fri, 2 Aug 2024 15:43:17 +0000 (16:43 +0100)
committerJakub Kicinski <kuba@kernel.org>
Fri, 2 Aug 2024 23:23:59 +0000 (16:23 -0700)
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 <kuba@kernel.org>

Fixes: 1a9d48892ea5 ("eth: fbnic: Allocate core device specific structures and devlink interface")
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202408011219.hiPmwwAs-lkp@intel.com/
Signed-off-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20240802-fbnic-select-v2-1-41f82a3e0178@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/meta/Kconfig

index c002ede3640202bb4cb2d0628d6b94701b6a9bd2..85519690b837788fc8b15a9d913e33bf403ceb56 100644 (file)
@@ -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.