aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorJakub Kicinski <[email protected]>2024-07-17 16:15:59 +0000
committerPaolo Abeni <[email protected]>2024-07-19 14:36:34 +0000
commit4359836129d931fc424370249a1fcdec139fe407 (patch)
treebd66f7fd46c1ab2ac7577ce5f974a290ee514272 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parentMerge tag 'nf-24-07-17' of git://git.kernel.org/pub/scm/linux/kernel/git/netf... (diff)
downloadkernel-4359836129d931fc424370249a1fcdec139fe407.tar.gz
kernel-4359836129d931fc424370249a1fcdec139fe407.zip
eth: fbnic: don't build the driver when skb has more than 21 frags
Similarly to commit 0e03c643dc93 ("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: 0cb4c0a13723 ("eth: fbnic: Implement Rx queue alloc/start/stop/free") Signed-off-by: Jakub Kicinski <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions