On Wed, 16 Dec 2020 19:38:34 +0100 Lorenzo Bianconi <lorenzo@xxxxxxxxxx> wrote: > Introduce xdp_build_skb_from_frame utility routine to build the skb > from xdp_frame. Respect to __xdp_build_skb_from_frame, > xdp_build_skb_from_frame will allocate the skb object. Rely on > xdp_build_skb_from_frame in veth driver. > > Signed-off-by: Lorenzo Bianconi <lorenzo@xxxxxxxxxx> > --- > drivers/net/veth.c | 18 +++--------------- > include/net/xdp.h | 2 ++ > net/core/xdp.c | 15 +++++++++++++++ > 3 files changed, 20 insertions(+), 15 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