summaryrefslogtreecommitdiff
path: root/rust/helpers/build_bug.c
diff options
context:
space:
mode:
authorMohsin Bashir <mohsin.bashr@gmail.com>2025-08-13 15:13:13 -0700
committerPaolo Abeni <pabeni@redhat.com>2025-08-19 10:51:16 +0200
commit61f9a066c3099264f40737d134c7921567f85072 (patch)
tree2bf801ccced104d6b667f602fb3242536fd4db41 /rust/helpers/build_bug.c
parent0cf5a39720d09793f9cc5a8ec6bb026e6b20e883 (diff)
eth: fbnic: Use shinfo to track frags state on Rx
Remove local fields that track frags state and instead store this information directly in the shinfo struct. This change is necessary because the current implementation can lead to inaccuracies in certain scenarios, such as when using XDP multi-buff support. Specifically, the XDP program may update nr_frags without updating the local variables, resulting in an inconsistent state. Signed-off-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: Mohsin Bashir <mohsin.bashr@gmail.com> Link: https://patch.msgid.link/20250813221319.3367670-4-mohsin.bashr@gmail.com Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'rust/helpers/build_bug.c')
0 files changed, 0 insertions, 0 deletions