summaryrefslogtreecommitdiff
path: root/scripts/const_structs.checkpatch
diff options
context:
space:
mode:
authorLarysa Zaremba <larysa.zaremba@intel.com>2026-03-05 14:12:43 +0300
committerJakub Kicinski <kuba@kernel.org>2026-03-05 19:02:03 +0300
commit16394d80539937d348dd3b9ea32415c54e67a81b (patch)
tree3675d1fc662565c6f8fae92a441e2f96e2ab2cbd /scripts/const_structs.checkpatch
parent88b6b7f7b216108a09887b074395fa7b751880b1 (diff)
downloadlinux-16394d80539937d348dd3b9ea32415c54e67a81b.tar.xz
xsk: introduce helper to determine rxq->frag_size
rxq->frag_size is basically a step between consecutive strictly aligned frames. In ZC mode, chunk size fits exactly, but if chunks are unaligned, there is no safe way to determine accessible space to grow tailroom. Report frag_size to be zero, if chunks are unaligned, chunk_size otherwise. Fixes: 24ea50127ecf ("xsk: support mbuf on ZC RX") Reviewed-by: Aleksandr Loktionov <aleksandr.loktionov@intel.com> Signed-off-by: Larysa Zaremba <larysa.zaremba@intel.com> Link: https://patch.msgid.link/20260305111253.2317394-3-larysa.zaremba@intel.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/const_structs.checkpatch')
0 files changed, 0 insertions, 0 deletions