[virtio-dev] Packed ring only devices clarification

2021-01-29 Thread Maxime Coquelin
Hello, In the Virtqueues section of the Virtio specification [0], it is mentioned that: " Every driver and device supports either the Packed or the Split Virtqueue format, or both. " However, it seems there is no way to differentiate whether the device supports both split and packed ring, or onl

Re: [virtio-dev] Packed ring only devices clarification

2021-01-29 Thread Maxime Coquelin
On 1/29/21 10:04 AM, Jason Wang wrote: > > On 2021/1/29 下午4:38, Maxime Coquelin wrote: >> Hello, >> >> In the Virtqueues section of the Virtio specification [0], it is >> mentioned that: >> >> " >> Every driver and device supports either

[virtio-dev] Re: [PATCH net-next v3 01/13] virtio: add packed ring types and macros

2018-11-30 Thread Maxime Coquelin
On 11/30/18 1:47 PM, Michael S. Tsirkin wrote: On Fri, Nov 30, 2018 at 05:53:40PM +0800, Tiwei Bie wrote: On Fri, Nov 30, 2018 at 04:10:55PM +0800, Jason Wang wrote: On 2018/11/21 下午6:03, Tiwei Bie wrote: Add types and macros for packed ring. Signed-off-by: Tiwei Bie --- include/uapi/

Re: [virtio-dev] [PATCH v8] virtio-net: add Max MTU configuration field

2016-09-04 Thread Maxime Coquelin
for > packet sizes during transmission, without segmentation offloading. > > In addition, in order to support backward and forward compatibility, > we introduce a new feature bit called VIRTIO_NET_F_MTU. > > Signed-off-by: Aaron Conole > Cc: Victor Kaplansky Acked-by: Mi

Re: [virtio-dev] packed ring layout proposal

2016-09-16 Thread Maxime Coquelin
On 09/16/2016 10:03 PM, Michael S. Tsirkin wrote: On Fri, Sep 16, 2016 at 12:11:59PM +0200, Paolo Bonzini wrote: On 16/09/2016 11:46, Stefan Hajnoczi wrote: The idea is to have a r/w descriptor in a ring structure, replacing the used and available ring, index and descriptor buffer. This is

Re: [virtio-dev] packed ring layout proposal

2016-09-19 Thread Maxime Coquelin
Hi Michael, On 09/19/2016 07:24 PM, Michael S. Tsirkin wrote: On Mon, Sep 19, 2016 at 10:03:36AM -0700, Stephen Hemminger wrote: On Sun, 18 Sep 2016 08:36:05 -0400 (EDT) Paolo Bonzini wrote: Without indirect the usable ring size is cut in half on older kernels that don't support any layout.

Re: [virtio-dev] packed ring layout proposal

2016-10-26 Thread Maxime Coquelin
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. T

Re: [virtio-dev] packed ring layout proposal

2016-10-26 Thread Maxime Coquelin
On 10/26/2016 01:24 PM, Paolo Bonzini wrote: On 26/10/2016 12:14, Yuanhan Liu wrote: 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

Re: [virtio-dev] [PATCH] net: clarify device rules for mergeable buffers

2017-03-29 Thread Maxime Coquelin
d a feature bit. Further, correct all misuses of a "descriptor" to "buffer" as that is the entity that is being merged. VIRTIO-160 Signed-off-by: Michael S. Tsirkin --- content.tex | 20 ++-- 1 file changed, 14 insertions(+), 6 deletions(-) Reviewed-b

Re: [virtio-dev] [PATCH] net: relax buf size requirements for mrg buffers

2017-03-29 Thread Maxime Coquelin
y no one relies on this. VIRTIO-159 Signed-off-by: Michael S. Tsirkin --- content.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Reviewed-by: Maxime Coquelin Thanks, Maxime - To unsubscribe, e-mail: virtio-dev-

Re: [virtio-dev] Re: [Qemu-devel] [virtio-dev] Re: [virtio-dev] Re: [PATCH v1] virtio-net: enable configurable tx queue size

2017-06-16 Thread Maxime Coquelin
On 06/16/2017 05:19 PM, Michael S. Tsirkin wrote: On Fri, Jun 16, 2017 at 04:57:01PM +0800, Jason Wang wrote: On 2017年06月16日 11:22, Michael S. Tsirkin wrote: I think the issues can be solved by VIRTIO_F_MAX_CHAIN_SIZE. For now, how about splitting it into two series of patches: 1) enable 1

[virtio-dev] Re: [Qemu-devel] [virtio-dev] [PATCH v3 0/7] Vhost-pci for inter-VM communication

2017-12-13 Thread Maxime Coquelin
Hi Stefan, On 12/13/2017 09:08 PM, Stefan Hajnoczi wrote: On Wed, Dec 13, 2017 at 3:01 PM, Michael S. Tsirkin wrote: On Wed, Dec 13, 2017 at 12:35:21PM +, Stefan Hajnoczi wrote: I'm not saying that DPDK should use libvhost-user. I'm saying that it's easy to add vfio vhost-pci support (fo

Re: [virtio-dev] Re: [Qemu-devel] [virtio-dev] [PATCH v3 0/7] Vhost-pci for inter-VM communication

2017-12-14 Thread Maxime Coquelin
On 12/14/2017 05:27 PM, Michael S. Tsirkin wrote: On Thu, Dec 14, 2017 at 03:46:56PM +, Stefan Hajnoczi wrote: On Wed, Dec 13, 2017 at 10:50:11PM +0100, Maxime Coquelin wrote: On 12/13/2017 09:08 PM, Stefan Hajnoczi wrote: On Wed, Dec 13, 2017 at 3:01 PM, Michael S. Tsirkin wrote: On

Re: [virtio-dev] Re: [Qemu-devel] [virtio-dev] [PATCH v3 0/7] Vhost-pci for inter-VM communication

2017-12-14 Thread Maxime Coquelin
On 12/14/2017 05:40 PM, Michael S. Tsirkin wrote: On Thu, Dec 14, 2017 at 05:39:19PM +0100, Maxime Coquelin wrote: On 12/14/2017 05:27 PM, Michael S. Tsirkin wrote: On Thu, Dec 14, 2017 at 03:46:56PM +, Stefan Hajnoczi wrote: On Wed, Dec 13, 2017 at 10:50:11PM +0100, Maxime Coquelin