[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20161025011011.GA25766@ast-mbp.thefacebook.com>
Date: Mon, 24 Oct 2016 18:10:13 -0700
From: Alexei Starovoitov <alexei.starovoitov@...il.com>
To: Shrijeet Mukherjee <shm@...ulusnetworks.com>
Cc: Stephen Hemminger <stephen@...workplumber.org>,
Shrijeet Mukherjee <shrijeet@...il.com>, mst@...hat.com,
Tom Herbert <tom@...bertland.com>,
Netdev <netdev@...r.kernel.org>,
Roopa Prabhu <roopa@...ulusnetworks.com>,
Nikolay Aleksandrov <nikolay@...ulusnetworks.com>
Subject: Re: [PATCH net-next RFC WIP] Patch for XDP support for virtio_net
On Sun, Oct 23, 2016 at 06:51:53PM -0700, Shrijeet Mukherjee wrote:
>
> The main goal of this patch was to start that discussion. My v2 patch
> rejects the ndo op if neither of rx_mergeable or big_buffers are set.
> Does that sound like a good tradeoff ? Don't know enough about who
> turns these features off and why.
>
> I can say that virtualbox always has the device features enabled .. so
> seems like a good tradeoff ?
If virtio can be taught to work with xdp that would be awesome.
I've looked at it from xdp prog debugging point of view, but amount of
complexity related to mergeable/big/etc was too much, so I went with e1k+xdp.
Are you sure that if mergeable/big disabled than buf is contiguous?
Also my understanding that buf is not writeable?
I don't see how to do TX either... May be it's all solvable somehow.
There was a discussion to convert raw dma buffer in mlx/intel directly
into vhost to avoid skb. This will allow host to send packets into
VMs quickly. Then if we can have fast virtio in the guest then
even more interesting use cases will be solved.
Powered by blists - more mailing lists