RE: [EXT] Re: [PATCH v3] virtio-pci: correctly set virtio pci queue mem multiplier

2024-02-28 Thread Srujana Challa
> Subject: Re: [EXT] Re: [PATCH v3] virtio-pci: correctly set virtio pci queue > mem > multiplier > > On Wed, Feb 28, 2024 at 06:13:03AM +, Srujana Challa wrote: > > > Subject: [EXT] Re: [PATCH v3] virtio-pci: correctly set virtio pci > > > queue mem mult

Re: [EXT] Re: [PATCH v3] virtio-pci: correctly set virtio pci queue mem multiplier

2024-02-27 Thread Michael S. Tsirkin
On Wed, Feb 28, 2024 at 06:13:03AM +, Srujana Challa wrote: > > Subject: [EXT] Re: [PATCH v3] virtio-pci: correctly set virtio pci queue mem > > multiplier > > > > External Email > > > >

RE: [EXT] Re: [PATCH v3] virtio-pci: correctly set virtio pci queue mem multiplier

2024-02-27 Thread Srujana Challa
> Subject: [EXT] Re: [PATCH v3] virtio-pci: correctly set virtio pci queue mem > multiplier > > External Email > > -- > On Fri, Feb 23, 2024 at 10:56:17AM +0530, Srujana Challa wrote: > > Currently

Re: [PATCH v3] virtio-pci: correctly set virtio pci queue mem multiplier

2024-02-22 Thread Michael S. Tsirkin
On Fri, Feb 23, 2024 at 10:56:17AM +0530, Srujana Challa wrote: > Currently, virtio_pci_queue_mem_mult function always returns 4K > when VIRTIO_PCI_FLAG_PAGE_PER_VQ is set. But this won't > work for vhost vdpa when host has page size other than 4K. > This patch introduces a new property(host-page-p

Re: [PATCH v3] virtio-pci: correctly set virtio pci queue mem multiplier

2024-02-22 Thread Philippe Mathieu-Daudé
Hi Srujana, On 23/2/24 06:26, Srujana Challa wrote: Currently, virtio_pci_queue_mem_mult function always returns 4K when VIRTIO_PCI_FLAG_PAGE_PER_VQ is set. But this won't work for vhost vdpa when host has page size other than 4K. This patch introduces a new property(host-page-per-vq) for vdpa u

[PATCH v3] virtio-pci: correctly set virtio pci queue mem multiplier

2024-02-22 Thread Srujana Challa
Currently, virtio_pci_queue_mem_mult function always returns 4K when VIRTIO_PCI_FLAG_PAGE_PER_VQ is set. But this won't work for vhost vdpa when host has page size other than 4K. This patch introduces a new property(host-page-per-vq) for vdpa use case to fix the same. Signed-off-by: Srujana Challa