mbox series

[bpf-next,0/2] Add xdp_update_skb_shared_info utility routine

Message ID cover.1625828537.git.lorenzo@kernel.org
Headers show
Series Add xdp_update_skb_shared_info utility routine | expand

Message

Lorenzo Bianconi July 9, 2021, 11:10 a.m. UTC
Introduce xdp_update_skb_shared_info routine to update frags array metadata
from a given xdp_buffer/xdp_frame.
Add xdp_frags_tsize field to skb_shared_info.

Lorenzo Bianconi (2):
  net: skbuff: add xdp_frags_tsize field to skb_shared_info
  net: xdp: add xdp_update_skb_shared_info utility routine

 drivers/net/ethernet/marvell/mvneta.c | 29 +++++++++++++++------------
 include/linux/skbuff.h                |  2 ++
 include/net/xdp.h                     |  3 +++
 net/core/xdp.c                        | 27 +++++++++++++++++++++++++
 4 files changed, 48 insertions(+), 13 deletions(-)