[PATCH vhost 0/4] refactor the params of find_vqs()
Xuan Zhuo
xuanzhuo at linux.alibaba.com
Mon Mar 4 03:47:15 PST 2024
This pathset is splited from the
http://lore.kernel.org/all/20240229072044.77388-1-xuanzhuo@linux.alibaba.com
That may needs some cycles to discuss. But that notifies too many people.
But just the four commits need to notify so many people.
And four commits are independent. So I split that patch set,
let us review these first.
The patch set try to refactor the params of find_vqs().
Then we can just change the structure, when introducing new
features.
Thanks.
Xuan Zhuo (4):
virtio: find_vqs: pass struct instead of multi parameters
virtio: vring_create_virtqueue: pass struct instead of multi
parameters
virtio: vring_new_virtqueue(): pass struct instead of multi parameters
virtio_ring: simplify the parameters of the funcs related to
vring_create/new_virtqueue()
arch/um/drivers/virtio_uml.c | 31 ++--
drivers/platform/mellanox/mlxbf-tmfifo.c | 24 ++--
drivers/remoteproc/remoteproc_virtio.c | 31 ++--
drivers/s390/virtio/virtio_ccw.c | 33 ++---
drivers/virtio/virtio_mmio.c | 30 ++--
drivers/virtio/virtio_pci_common.c | 59 ++++----
drivers/virtio/virtio_pci_common.h | 9 +-
drivers/virtio/virtio_pci_legacy.c | 16 ++-
drivers/virtio/virtio_pci_modern.c | 38 +++--
drivers/virtio/virtio_ring.c | 173 ++++++++---------------
drivers/virtio/virtio_vdpa.c | 45 +++---
include/linux/virtio_config.h | 51 +++++--
include/linux/virtio_ring.h | 82 ++++++-----
tools/virtio/virtio_test.c | 4 +-
tools/virtio/vringh_test.c | 28 ++--
15 files changed, 328 insertions(+), 326 deletions(-)
--
2.32.0.3.g01195cf9f
More information about the linux-um
mailing list