path: root/samples
diff options
authorLorenzo Bianconi <>2021-01-12 19:26:13 +0100
committerAlexei Starovoitov <>2021-01-20 14:10:35 -0800
commit89f479f0eccfc879e7bc0a69f44ed4a4639dfc32 (patch)
tree77c1f24da42e76c19c1267ea2d78ba7d0439cde2 /samples
parent97a0e1ea7b41c2db762c1258632f6ccc22719510 (diff)
net, xdp: Introduce xdp_build_skb_from_frame utility routine
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. Introduce missing xdp metadata support in veth_xdp_rcv_one routine. Add missing metadata support in veth_xdp_rcv_one(). Signed-off-by: Lorenzo Bianconi <> Signed-off-by: Daniel Borkmann <> Reviewed-by: Toshiaki Makita <> Acked-by: Jesper Dangaard Brouer <> Link: Signed-off-by: Alexei Starovoitov <>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions