Re: [PATCH 1/3 bpf-next] net: add convert_to_xdp_frame_keep_zc function

2019-07-01 Thread Magnus Karlsson
On Sat, Jun 29, 2019 at 12:19 AM Jonathan Lemon wrote: > > Add a function which converts a ZC xdp_buff to a an xdp_frame, while nit: "a an" -> "an" > keeping the zc backing storage. This will be used to support TX of > received AF_XDP frames. > > Signed-off-by: Jonathan Lemon > --- > include/

[PATCH 1/3 bpf-next] net: add convert_to_xdp_frame_keep_zc function

2019-06-28 Thread Jonathan Lemon
Add a function which converts a ZC xdp_buff to a an xdp_frame, while keeping the zc backing storage. This will be used to support TX of received AF_XDP frames. Signed-off-by: Jonathan Lemon --- include/net/xdp.h | 20 1 file changed, 16 insertions(+), 4 deletions(-) diff -