mirror of
https://github.com/torvalds/linux.git
synced 2024-11-22 20:22:09 +00:00
eth: fbnic: don't build the driver when skb has more than 21 frags
Similarly to commit0e03c643dc
("eth: fbnic: fix s390 build."), the driver won't build if skb_shared_info has more than 25 frags assuming a 64B cache line and 21 frags assuming a 128B cache line. (512 - 48 - 64) / 16 = 25 (512 - 48 - 128) / 16 = 21 Fixes:0cb4c0a137
("eth: fbnic: Implement Rx queue alloc/start/stop/free") Signed-off-by: Jakub Kicinski <kuba@kernel.org> Link: https://patch.msgid.link/20240717161600.1291544-1-kuba@kernel.org Signed-off-by: Paolo Abeni <pabeni@redhat.com>
This commit is contained in:
parent
a1b7dbca14
commit
4359836129
@ -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 < 22
|
||||
depends on PCI_MSI
|
||||
select PHYLINK
|
||||
help
|
||||
|
Loading…
Reference in New Issue
Block a user