diff options
author | Lucas Stach <l.stach@pengutronix.de> | 2023-06-16 21:18:32 +0200 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2023-06-20 12:11:59 -0700 |
commit | 857922b16bb893d26d5ecd83acf9f20cb28eaea2 (patch) | |
tree | 7b80ddc1ecfb312b70008325fb32b69059da33ee /drivers/net/ethernet/freescale/Kconfig | |
parent | b6d972f6898308fbe7e693bf8d44ebfdb1cd2dc4 (diff) |
net: fec: allow to build without PAGE_POOL_STATS
Commit 6970ef27ff7f ("net: fec: add xdp and page pool statistics") selected
CONFIG_PAGE_POOL_STATS from the FEC driver symbol, making it impossible
to build without the page pool statistics when this driver is enabled. The
help text of those statistics mentions increased overhead. Allow the user
to choose between usefulness of the statistics and the added overhead.
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://lore.kernel.org/r/20230616191832.2944130-1-l.stach@pengutronix.de
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/ethernet/freescale/Kconfig')
-rw-r--r-- | drivers/net/ethernet/freescale/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/freescale/Kconfig b/drivers/net/ethernet/freescale/Kconfig index 1c78f66a89da..75401d2a5fb4 100644 --- a/drivers/net/ethernet/freescale/Kconfig +++ b/drivers/net/ethernet/freescale/Kconfig @@ -29,7 +29,7 @@ config FEC select CRC32 select PHYLIB select PAGE_POOL - select PAGE_POOL_STATS + imply PAGE_POOL_STATS imply NET_SELFTESTS help Say Y here if you want to use the built-in 10/100 Fast ethernet |