diff options
author | Lorenzo Bianconi <lorenzo@kernel.org> | 2022-01-21 13:09:49 +0300 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2022-01-22 01:14:01 +0300 |
commit | ed7a58cb40bd1dda5bf3a7f4d18d2652423fd14b (patch) | |
tree | 8d20c3965e9e73023a244f4b0c8d7dd4c70c0a37 /include/net/xdp.h | |
parent | d65a1906b31246492449eafe9cace188cb59e26c (diff) | |
download | linux-ed7a58cb40bd1dda5bf3a7f4d18d2652423fd14b.tar.xz |
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 <toke@redhat.com>
Acked-by: John Fastabend <john.fastabend@gmail.com>
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Link: https://lore.kernel.org/r/e0dad97f5d02b13f189f99f1e5bc8e61bef73412.1642758637.git.lorenzo@kernel.org
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'include/net/xdp.h')
0 files changed, 0 insertions, 0 deletions