[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20170125164844-mutt-send-email-mst@kernel.org>
Date: Wed, 25 Jan 2017 16:52:52 +0200
From: "Michael S. Tsirkin" <mst@...hat.com>
To: Alexei Starovoitov <alexei.starovoitov@...il.com>
Cc: John Fastabend <john.fastabend@...il.com>,
Jason Wang <jasowang@...hat.com>,
David Miller <davem@...emloft.net>,
John Fastabend <john.r.fastabend@...el.com>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>,
Daniel Borkmann <daniel@...earbox.net>
Subject: Re: [net PATCH v5 1/6] virtio_net: use dev_kfree_skb for small
buffer XDP receive
On Tue, Jan 24, 2017 at 11:33:56PM -0800, Alexei Starovoitov wrote:
> On Tue, Jan 24, 2017 at 8:02 PM, John Fastabend
> <john.fastabend@...il.com> wrote:
> >
> > Finally just to point out here are the drivers with XDP support on latest
> > net tree,
> >
> > mlx/mlx5
> > mlx/mlx4
> > qlogic/qede
> > netronome/nfp
> > virtio_net
> >
> > And here is the list of adjust header support,
> >
> > mlx/mlx4
> >
>
> in net-next it's actually:
> yes: mlx4, mlx5
> no: qede, nfp, virtio
> while nfp and virtio are working on it.
>
> xdp_adjust_head() is must have for load balancer,
What amount of head space does it need? 70 bytes
to do vxlan kind of thing?
> so the sooner it lands for virtio the easier it will be
> to develop xdp programs. Initially I expected
> e1k+xdp to be the base line for debugging and
> development of xdp programs, but since not everyone
> agreed on e1k the virtio+xdp filled in the gap.
> So without adjust_head in virtio I see very little use for it
> in our environment.
> It is a must have feature regardless of timing.
> I will backport whatever is necessary, but distros
> will stick with official releases and imo it's not great
> from xdp adoption point of view to have
> virtio driver lacking key features.
If everyone can agree it's net-next material then I'm happy.
--
MST
Powered by blists - more mailing lists