[virtio-dev] Propose to report the offset addr back from vhost to virtio

2017-11-08 Thread Tan, Jianfeng
Hi, This proposal will be from virtio-net perspective, not sure if it helps for other device types. Current status: VIRTIO-net "rx" path will rearm buffers for packets receiving, put the start addr and len on the descriptor table (or the single ring for virtio 1.1 draft spec), vhost backend

[virtio-dev] Re: [Qemu-devel] [v21 1/2] virtio-crypto: Add virtio crypto device specification

2017-11-08 Thread Halil Pasic
[..] On 11/06/2017 07:53 AM, Longpeng(Mike) wrote: > +\subsection{Device Operation}\label{sec:Device Types / Crypto Device / > Device Operation} > + > +The operation of a virtio crypto device is driven by requests placed on the > virtqueues. > +Requests consist of a queue-type specific header (s

[virtio-dev] [PATCH RFC] packed ring layout spec v4

2017-11-08 Thread Michael S. Tsirkin
Below is an attempt at a formal write-up of the latest proposal with some modifications. Will reply with a pdf version as well. This is reasonably complete functionally, from spec point of view we need - more conformance statements - pseudo-code - discussion of memory barriers - rearrange existing