Re: [PATCH] virtio_ring: use u32 for virtio_max_dma_size

2023-07-03 Thread Michael S. Tsirkin
On Wed, May 10, 2023 at 10:54:37AM +0800, zhenwei pi wrote: > Both split ring and packed ring use 32bits to describe the length of > a descriptor: see struct vring_desc and struct vring_packed_desc. > This means the max segment size supported by virtio is U32_MAX. > > An example of virtio_max_dma_

Re: [PATCH] mlx5_vdpa: offer VHOST_BACKEND_F_ENABLE_AFTER_DRIVER_OK

2023-07-03 Thread Si-Wei Liu
On 7/3/2023 8:46 AM, Michael S. Tsirkin wrote: On Mon, Jul 03, 2023 at 04:25:14PM +0200, Eugenio Pérez wrote: Offer this backend feature as mlx5 is compatible with it. It allows it to do live migration with CVQ, dynamically switching between passthrough and shadow virtqueue. Signed-off-by: Eu

PING Re: [PATCH] virtio_ring: use u32 for virtio_max_dma_size

2023-07-03 Thread zhenwei pi via Virtualization
Hi Michael, This seems to be ignored... On 5/10/23 12:06, Michael S. Tsirkin wrote: On Wed, May 10, 2023 at 12:04:50PM +0800, Jason Wang wrote: On Wed, May 10, 2023 at 11:44 AM Michael S. Tsirkin wrote: On Wed, May 10, 2023 at 11:26:54AM +0800, Xuan Zhuo wrote: On Wed, 10 May 2023 10:54:37

Re: [GIT PULL] virtio: features, fixes, cleanups

2023-07-03 Thread pr-tracker-bot
The pull request you sent on Mon, 3 Jul 2023 12:32:56 -0400: > https://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost.git tags/for_linus has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/a8d70602b186f3c347e62c59a418be802b71886d Thank you! -- Deet-doot-dot, I am a bo

Re: [PATCH v1 0/2] vduse: add support for networking devices

2023-07-03 Thread Michael S. Tsirkin
On Mon, Jul 03, 2023 at 09:43:49AM +0200, Maxime Coquelin wrote: > > On 7/3/23 08:44, Jason Wang wrote: > > On Sun, Jul 2, 2023 at 9:37 PM Michael S. Tsirkin wrote: > > > > > > On Tue, Jun 27, 2023 at 01:36:50PM +0200, Maxime Coquelin wrote: > > > > This small series enables virtio-net device ty

[PATCH V4] virtio-fs: Improved request latencies when Virtio queue is full

2023-07-03 Thread Peter-Jan Gootzen via Virtualization
When the Virtio queue is full, a work item is scheduled to execute in 1ms that retries adding the request to the queue. This is a large amount of time on the scale on which a virtio-fs device can operate. When using a DPU this is around 40us baseline without going to a remote server (4k, QD=1). Thi

[GIT PULL] virtio: features, fixes, cleanups

2023-07-03 Thread Michael S. Tsirkin
Note: dropped some commits at the last moment, I did verify we get the same code in the end as what was in linux next for a while now. The following changes since commit 6995e2de6891c724bfeb2db33d7b87775f913ad1: Linux 6.4 (2023-06-25 16:29:58 -0700) are available in the Git repository at: h

Re: [PATCH] mlx5_vdpa: offer VHOST_BACKEND_F_ENABLE_AFTER_DRIVER_OK

2023-07-03 Thread Michael S. Tsirkin
On Mon, Jul 03, 2023 at 04:25:14PM +0200, Eugenio Pérez wrote: > Offer this backend feature as mlx5 is compatible with it. It allows it > to do live migration with CVQ, dynamically switching between passthrough > and shadow virtqueue. > > Signed-off-by: Eugenio Pérez Same comment. > --- > driv

Re: [PATCH] vdpa: reject F_ENABLE_AFTER_DRIVER_OK if backend does not support it

2023-07-03 Thread Michael S. Tsirkin
On Mon, Jul 03, 2023 at 04:22:18PM +0200, Eugenio Pérez wrote: > With the current code it is accepted as long as userland send it. > > Although userland should not set a feature flag that has not been > offered to it with VHOST_GET_BACKEND_FEATURES, the current code will not > complain for it. >

Re: [PATCH v1 0/2] vduse: add support for networking devices

2023-07-03 Thread Jason Wang
On Mon, Jul 3, 2023 at 3:43 PM Maxime Coquelin wrote: > > > On 7/3/23 08:44, Jason Wang wrote: > > On Sun, Jul 2, 2023 at 9:37 PM Michael S. Tsirkin wrote: > >> > >> On Tue, Jun 27, 2023 at 01:36:50PM +0200, Maxime Coquelin wrote: > >>> This small series enables virtio-net device type in VDUSE. >

Re: [PATCH v1 0/2] vduse: add support for networking devices

2023-07-03 Thread Maxime Coquelin
On 7/3/23 08:44, Jason Wang wrote: On Sun, Jul 2, 2023 at 9:37 PM Michael S. Tsirkin wrote: On Tue, Jun 27, 2023 at 01:36:50PM +0200, Maxime Coquelin wrote: This small series enables virtio-net device type in VDUSE. With it, basic operation have been tested, both with virtio-vdpa and vhost-v