summaryrefslogtreecommitdiffstats
path: root/io_uring
diff options
context:
space:
mode:
authorMaciej Fijalkowski <maciej.fijalkowski@intel.com>2023-01-31 21:45:02 +0100
committerDaniel Borkmann <daniel@iogearbox.net>2023-02-01 23:30:27 +0100
commit8a11b334ec9b8088b54764424a49adb8ef1c002a (patch)
treec329557ea0fa2f0e4ba0ea54bfbae03d0714ec58 /io_uring
parent9070fe3da0b126044c3cffd169d5fb2565365a0e (diff)
downloadlinux-stable-8a11b334ec9b8088b54764424a49adb8ef1c002a.tar.gz
linux-stable-8a11b334ec9b8088b54764424a49adb8ef1c002a.tar.bz2
linux-stable-8a11b334ec9b8088b54764424a49adb8ef1c002a.zip
ice: Use xdp->frame_sz instead of recalculating truesize
SKB path calculates truesize on three different functions, which could be avoided as xdp_buff carries the already calculated truesize under xdp_buff::frame_sz. If ice_add_rx_frag() is adjusted to take the xdp_buff as an input just like functions responsible for creating sk_buff initially, codebase could be simplified by removing these redundant recalculations and rely on xdp_buff::frame_sz instead. Signed-off-by: Maciej Fijalkowski <maciej.fijalkowski@intel.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Reviewed-by: Alexander Lobakin <alexandr.lobakin@intel.com> Link: https://lore.kernel.org/bpf/20230131204506.219292-10-maciej.fijalkowski@intel.com
Diffstat (limited to 'io_uring')
0 files changed, 0 insertions, 0 deletions