Re: [virtio-dev] packed ring layout proposal

From
Yuanhan Liu <>
Date
2016-10-26T10:13:33+00:00
ID
Thread
Re: [virtio-dev] packed ring layout proposal
On Wed, Oct 26, 2016 at 11:49:17AM +0200, Maxime Coquelin wrote:
> 
> 
> On 09/16/2016 08:51 PM, Michael S. Tsirkin wrote:
> >On Fri, Sep 16, 2016 at 10:28:19AM +0100, Stefan Hajnoczi wrote:
> >>On Fri, Sep 16, 2016 at 01:39:15AM +0300, Michael S. Tsirkin wrote:
> >>>Let's start a discussion around an alternative ring layout.
> >>>This has been in my kvm forum 2016 presentation.
> >>>The idea is to have a r/w descriptor in a ring structure,
> >>>replacing the used and available ring, index and descriptor
> >>>buffer.
> >>
> >>Do you have pseudo-code?  I find it difficult to infer how it's supposed
> >>to work from the description.
> >
> >Find a prototype implementation under tools/virtio/ringbench/ring.c in
> >latest Linux.
> 
> Are you sure of the path?
> I also had a look at your kernel.org repository, but no luck there
> either.

Me, neither.

> Yuanhan is willing to prototype it in DPDK, so I think he will be
> interested in your implementation.

Yep :)

Thanks.

	--yliu