enic: add dependency on Page Pool
authorJohn Daley <johndale@cisco.com>
Mon, 24 Feb 2025 23:43:50 +0000 (15:43 -0800)
committerJakub Kicinski <kuba@kernel.org>
Wed, 26 Feb 2025 03:08:21 +0000 (19:08 -0800)
Driver was not configured to select page_pool, causing a compile error
if page pool module was not already selected.

Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202502211253.3XRosM9I-lkp@intel.com/
Fixes: d24cb52b2d8a ("enic: Use the Page Pool API for RX")
Reviewed-by: Nelson Escobar <neescoba@cisco.com>
Signed-off-by: John Daley <johndale@cisco.com>
Reviewed-by: Joe Damato <jdamato@fastly.com>
Link: https://patch.msgid.link/20250224234350.23157-2-johndale@cisco.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/cisco/enic/Kconfig

index ad80c0fa96a683db9f21ab67ab87e933d3647dcf..96709875fe4f2348495ad232e0e1a0d99e741fb9 100644 (file)
@@ -6,5 +6,6 @@
 config ENIC
        tristate "Cisco VIC Ethernet NIC Support"
        depends on PCI
+       select PAGE_POOL
        help
          This enables the support for the Cisco VIC Ethernet card.