Re: [PATCH RFC net-next 1/2] xdp: helpers: add multibuffer support

2020-07-27 Thread David Miller
From: Date: Mon, 27 Jul 2020 12:56:52 + > diff --git a/net/core/filter.c b/net/core/filter.c > index bdd2382e6..93e790d7b 100644 > --- a/net/core/filter.c > +++ b/net/core/filter.c > @@ -3452,6 +3452,62 @@ static const struct bpf_func_proto > bpf_xdp_adjust_head_proto = { > .arg2_type

[PATCH RFC net-next 1/2] xdp: helpers: add multibuffer support

2020-07-27 Thread sameehj
From: Sameeh Jubran The implementation is based on this [0] draft by Jesper D. Brouer. Provided two helpers: * bpf_xdp_get_frag() * bpf_xdp_get_frag_count() [0] xdp mb design - https://github.com/xdp-project/xdp-project/blob/master/areas/core/xdp-multi-buffer01-design.org Signed-off-by: Samee