[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <585D9B4E.8080209@gmail.com>
Date: Fri, 23 Dec 2016 13:46:54 -0800
From: John Fastabend <john.fastabend@...il.com>
To: jasowang@...hat.com, jakub.kicinski@...ronome.com, mst@...hat.com
Cc: john.r.fastabend@...el.com, netdev@...r.kernel.org,
alexei.starovoitov@...il.com, daniel@...earbox.net,
virtualization@...ts.linux-foundation.org
Subject: Re: [RFC PATCH] virtio_net: XDP support for adjust_head
On 16-12-23 10:43 AM, John Fastabend wrote:
> Add support for XDP adjust head by allocating a 256B header region
> that XDP programs can grow into. This is only enabled when a XDP
> program is loaded.
>
> In order to ensure that we do not have to unwind queue headroom push
> queue setup below bpf_prog_add. It reads better to do a prog ref
> unwind vs another queue setup call.
>
> TBD merge with Jason Wang's fixes, do a bit more testing, note
> big_packet support is removed by Jason as well.
>
> Signed-off-by: John Fastabend <john.r.fastabend@...el.com>
> ---
> drivers/net/virtio_net.c | 53 +++++++++++++++++++++++++++++++---------------
> 1 file changed, 36 insertions(+), 17 deletions(-)
>
ah dang, I sent this from the wrong tree so it was missing a fix sorry
for the noise. I'll send an update on top of net shortly.
.John
Powered by blists - more mailing lists