diff options
author | Lorenzo Bianconi <[email protected]> | 2022-01-21 11:09:47 +0100 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2022-01-21 14:14:01 -0800 |
commit | d094c9851ae970d4c95a269f9410464ec064b8cd (patch) | |
tree | b9d24bc031a438645a3bd35264654903bf231c39 /drivers/fpga/fpga-mgr.c | |
parent | 76a676947b56710097b755d37fd7d5cea09d6e7d (diff) |
net: mvneta: simplify mvneta_swbm_add_rx_fragment management
Relying on xdp frags bit, remove skb_shared_info structure
allocated on the stack in mvneta_rx_swbm routine and simplify
mvneta_swbm_add_rx_fragment accessing skb_shared_info in the
xdp_buff structure directly. There is no performance penalty in
this approach since mvneta_swbm_add_rx_fragment is run just
for xdp frags use-case.
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/45f050c094ccffce49d6bc5112939ed35250ba90.1642758637.git.lorenzo@kernel.org
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions