diff options
author | Lorenzo Bianconi <[email protected]> | 2022-01-21 11:09:49 +0100 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2022-01-21 14:14:01 -0800 |
commit | ed7a58cb40bd1dda5bf3a7f4d18d2652423fd14b (patch) | |
tree | 8d20c3965e9e73023a244f4b0c8d7dd4c70c0a37 /tools/testing/selftests/bpf/prog_tests/autoload.c | |
parent | d65a1906b31246492449eafe9cace188cb59e26c (diff) |
net: marvell: rely on xdp_update_skb_shared_info utility routine
Rely on xdp_update_skb_shared_info routine in order to avoid
resetting frags array in skb_shared_info structure building
the skb in mvneta_swbm_build_skb(). Frags array is expected to
be initialized by the receiving driver building the xdp_buff
and here we just need to update memory metadata.
Acked-by: Toke Hoiland-Jorgensen <[email protected]>
Acked-by: John Fastabend <[email protected]>
Signed-off-by: Lorenzo Bianconi <[email protected]>
Link: https://lore.kernel.org/r/e0dad97f5d02b13f189f99f1e5bc8e61bef73412.1642758637.git.lorenzo@kernel.org
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions