On Wed, 16 Dec 2020 19:38:33 +0100 Lorenzo Bianconi <lorenzo@xxxxxxxxxx> wrote: > Introduce __xdp_build_skb_from_frame utility routine to build > the skb from xdp_frame. Rely on __xdp_build_skb_from_frame in > cpumap code. > > Signed-off-by: Lorenzo Bianconi <lorenzo@xxxxxxxxxx> > --- > include/net/xdp.h | 3 +++ > kernel/bpf/cpumap.c | 45 +-------------------------------------------- > net/core/xdp.c | 44 ++++++++++++++++++++++++++++++++++++++++++++ > 3 files changed, 48 insertions(+), 44 deletions(-) Acked-by: Jesper Dangaard Brouer <brouer@xxxxxxxxxx> -- Best regards, Jesper Dangaard Brouer MSc.CS, Principal Kernel Engineer at Red Hat LinkedIn: http://www.linkedin.com/in/brouer