[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240717133744.1239356-1-kuba@kernel.org>
Date: Wed, 17 Jul 2024 06:37:44 -0700
From: Jakub Kicinski <kuba@...nel.org>
To: davem@...emloft.net
Cc: netdev@...r.kernel.org,
edumazet@...gle.com,
pabeni@...hat.com,
Jakub Kicinski <kuba@...nel.org>,
alexanderduyck@...com,
kernel-team@...a.com
Subject: [PATCH net] eth: fbnic: don't build the driver when skb has more than 25 frags
Similarly to commit 0e03c643dc93 ("eth: fbnic: fix s390 build."),
the driver won't build if skb_shared_info has more than 25 frags.
Fixes: 0cb4c0a13723 ("eth: fbnic: Implement Rx queue alloc/start/stop/free")
Signed-off-by: Jakub Kicinski <kuba@...nel.org>
---
CC: alexanderduyck@...com
CC: kernel-team@...a.com
---
drivers/net/ethernet/meta/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/ethernet/meta/Kconfig b/drivers/net/ethernet/meta/Kconfig
index a9f078212c78..b599c71a2d27 100644
--- a/drivers/net/ethernet/meta/Kconfig
+++ b/drivers/net/ethernet/meta/Kconfig
@@ -21,6 +21,7 @@ config FBNIC
tristate "Meta Platforms Host Network Interface"
depends on X86_64 || COMPILE_TEST
depends on S390=n
+ depends on MAX_SKB_FRAGS < 26
depends on PCI_MSI
select PHYLINK
help
--
2.45.2
Powered by blists - more mailing lists