[PATCH v2 virtio 3/5] pds_vdpa: clean and reset vqs entries

2023-07-10 Thread Shannon Nelson via Virtualization
Make sure that we initialize the vqs[] entries the same way both for initial setup and after a vq reset. Fixes: 151cc834f3dd ("pds_vdpa: add support for vdpa and vdpamgmt interfaces") Signed-off-by: Shannon Nelson --- drivers/vdpa/pds/vdpa_dev.c | 24 +--- 1 file changed, 17

[PATCH v2 virtio 2/5] pds_vdpa: always allow offering VIRTIO_NET_F_MAC

2023-07-10 Thread Shannon Nelson via Virtualization
Our driver sets a mac if the HW is 00:..:00 so we need to be sure to advertise VIRTIO_NET_F_MAC even if the HW doesn't. We also need to be sure that virtio_net sees the VIRTIO_NET_F_MAC and doesn't rewrite the mac address that a user may have set with the vdpa utility. After reading the hw_featur

[PATCH v2 virtio 4/5] pds_vdpa: alloc irq vectors on DRIVER_OK

2023-07-10 Thread Shannon Nelson via Virtualization
From: Allen Hubbe We were allocating irq vectors at the time the aux dev was probed, but that is before the PCI VF is assigned to a separate iommu domain by vhost_vdpa. Because vhost_vdpa later changes the iommu domain the interrupts do not work. Instead, we can allocate the irq vectors later w

[PATCH v2 virtio 1/5] pds_vdpa: reset to vdpa specified mac

2023-07-10 Thread Shannon Nelson via Virtualization
From: Allen Hubbe When the vdpa device is reset, also reinitialize it with the mac address that was assigned when the device was added. Fixes: 151cc834f3dd ("pds_vdpa: add support for vdpa and vdpamgmt interfaces") Signed-off-by: Allen Hubbe Signed-off-by: Shannon Nelson --- drivers/vdpa/pds/

[PATCH v2 virtio 0/5] pds_vdpa: mac, reset, and irq updates

2023-07-10 Thread Shannon Nelson via Virtualization
These are some fixes for device providing a MAC address, for allocating irq resources later to support vhost use, and for properly cleaning vq info on reset. v2: - check driver feature request against supported_features, and strip the F_MAC bit if needed just before writing to the HW. - repor

[PATCH v2 virtio 5/5] pds_vdpa: fix up debugfs feature bit printing

2023-07-10 Thread Shannon Nelson via Virtualization
Make clearer in debugfs output the difference between the hw feature bits, the features supported through the driver, and the features that have been negotiated. Signed-off-by: Shannon Nelson --- drivers/vdpa/pds/debugfs.c | 13 ++--- 1 file changed, 6 insertions(+), 7 deletions(-) diff

Re: [PATCH net-next V1 0/4] virtio_net: add per queue interrupt coalescing support

2023-07-10 Thread Xuan Zhuo
On Tue, 11 Jul 2023 10:34:33 +0800, Gavin Li wrote: > > On 7/10/2023 5:25 PM, Xuan Zhuo wrote: > > External email: Use caution opening links or attachments > > > > > > On Mon, 10 Jul 2023 12:20:01 +0300, Gavin Li wrote: > > > > As far as I know, Heng Qi does that. I'm not sure, it's the same piec

Re: [PATCH vhost v11 10/10] virtio_net: merge dma operation for one page

2023-07-10 Thread Jason Wang
On Tue, Jul 11, 2023 at 10:42 AM Xuan Zhuo wrote: > > On Tue, 11 Jul 2023 10:36:17 +0800, Jason Wang wrote: > > On Mon, Jul 10, 2023 at 8:41 PM Xuan Zhuo > > wrote: > > > > > > On Mon, 10 Jul 2023 07:59:03 -0400, "Michael S. Tsirkin" > > > wrote: > > > > On Mon, Jul 10, 2023 at 06:18:30PM +08

Re: [PATCH vhost v11 10/10] virtio_net: merge dma operation for one page

2023-07-10 Thread Xuan Zhuo
On Tue, 11 Jul 2023 10:36:17 +0800, Jason Wang wrote: > On Mon, Jul 10, 2023 at 8:41 PM Xuan Zhuo wrote: > > > > On Mon, 10 Jul 2023 07:59:03 -0400, "Michael S. Tsirkin" > > wrote: > > > On Mon, Jul 10, 2023 at 06:18:30PM +0800, Xuan Zhuo wrote: > > > > On Mon, 10 Jul 2023 05:40:21 -0400, "Mich

Re: [PATCH vhost v11 10/10] virtio_net: merge dma operation for one page

2023-07-10 Thread Jason Wang
On Mon, Jul 10, 2023 at 8:41 PM Xuan Zhuo wrote: > > On Mon, 10 Jul 2023 07:59:03 -0400, "Michael S. Tsirkin" > wrote: > > On Mon, Jul 10, 2023 at 06:18:30PM +0800, Xuan Zhuo wrote: > > > On Mon, 10 Jul 2023 05:40:21 -0400, "Michael S. Tsirkin" > > > wrote: > > > > On Mon, Jul 10, 2023 at 11:4

Re: [PATCH v2 0/2] vhost-scsi: Fix IO hangs when using windows

2023-07-10 Thread michael . christie
On 7/10/23 12:52 AM, Michael S. Tsirkin wrote: > On Sun, Jul 09, 2023 at 03:28:57PM -0500, Mike Christie wrote: >> The following patches were made over Linus's tree and fix an issue >> where windows guests will send iovecs with offset/lengths that result >> in IOs that are not aligned to 512. The L

ICITS'24 - The 2024 International Conference on Information Technology & Systems |Temuco, Chile

2023-07-10 Thread ICITS-24
* SCIMago H-Index = 27 * Google Scholar H5-Index = 15 * Indexed in WoS, Scopus, DBLP, Google Scholar, etc. -- -- -- -- ICITS'24 - 7th Int. Conference on Information Technology & Systems Universid

ICITS'24 - The 2024 International Conference on Information Technology & Systems |Temuco, Chile

2023-07-10 Thread ICITS-24
* SCIMago H-Index = 27 * Google Scholar H5-Index = 15 * Indexed in WoS, Scopus, DBLP, Google Scholar, etc. -- -- -- -- ICITS'24 - 7th Int. Conference on Information Technology & Systems Universid

Re: [PATCH virtio 1/4] pds_vdpa: reset to vdpa specified mac

2023-07-10 Thread Shannon Nelson via Virtualization
On 7/9/23 8:04 PM, Jason Wang wrote: On Sat, Jul 8, 2023 at 4:12 AM Shannon Nelson wrote: On 7/7/23 12:33 AM, Jason Wang wrote: Caution: This message originated from an External Source. Use proper caution when opening attachments, clicking links, or responding. On Fri, Jun 30, 2023 at 8

Re: [PATCH vhost v11 10/10] virtio_net: merge dma operation for one page

2023-07-10 Thread Xuan Zhuo
On Mon, 10 Jul 2023 07:59:03 -0400, "Michael S. Tsirkin" wrote: > On Mon, Jul 10, 2023 at 06:18:30PM +0800, Xuan Zhuo wrote: > > On Mon, 10 Jul 2023 05:40:21 -0400, "Michael S. Tsirkin" > > wrote: > > > On Mon, Jul 10, 2023 at 11:42:37AM +0800, Xuan Zhuo wrote: > > > > Currently, the virtio cor

Re: [RFC PATCH 0/3] x86/paravirt: Get rid of paravirt patching

2023-07-10 Thread Juergen Gross via Virtualization
Any comments? On 08.06.23 16:03, Juergen Gross wrote: This is a small series getting rid of paravirt patching by switching completely to alternative patching for the same functionality. The basic idea is to add the capability to switch from indirect to direct calls via a special alternative pat

Re: [PATCH vhost v11 10/10] virtio_net: merge dma operation for one page

2023-07-10 Thread Michael S. Tsirkin
On Mon, Jul 10, 2023 at 06:18:30PM +0800, Xuan Zhuo wrote: > On Mon, 10 Jul 2023 05:40:21 -0400, "Michael S. Tsirkin" > wrote: > > On Mon, Jul 10, 2023 at 11:42:37AM +0800, Xuan Zhuo wrote: > > > Currently, the virtio core will perform a dma operation for each > > > operation. Although, the same

Re: [PATCH vhost v11 10/10] virtio_net: merge dma operation for one page

2023-07-10 Thread Xuan Zhuo
On Mon, 10 Jul 2023 05:40:21 -0400, "Michael S. Tsirkin" wrote: > On Mon, Jul 10, 2023 at 11:42:37AM +0800, Xuan Zhuo wrote: > > Currently, the virtio core will perform a dma operation for each > > operation. Although, the same page may be operated multiple times. > > > > The driver does the dma

Re: [PATCH vhost v11 10/10] virtio_net: merge dma operation for one page

2023-07-10 Thread Michael S. Tsirkin
On Mon, Jul 10, 2023 at 11:42:37AM +0800, Xuan Zhuo wrote: > Currently, the virtio core will perform a dma operation for each > operation. Although, the same page may be operated multiple times. > > The driver does the dma operation and manages the dma address based the > feature premapped of virt

Re: [PATCH net-next V1 0/4] virtio_net: add per queue interrupt coalescing support

2023-07-10 Thread Xuan Zhuo
On Mon, 10 Jul 2023 12:20:01 +0300, Gavin Li wrote: As far as I know, Heng Qi does that. I'm not sure, it's the same piece. cc @Heng Qi Thanks. > Currently, coalescing parameters are grouped for all transmit and receive > virtqueues. This patch series add support to set or get the parameters