kvm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC 0/3] vdpa: add two ioctl commands to support generic vDPA
@ 2022-01-17  9:29 Longpeng(Mike)
  2022-01-17  9:29 ` [RFC 1/3] vdpa: support exposing the config size to userspace Longpeng(Mike)
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Longpeng(Mike) @ 2022-01-17  9:29 UTC (permalink / raw)
  To: jasowang, mst, sgarzare, stefanha
  Cc: virtualization, kvm, linux-kernel, netdev, arei.gonglei, yechuan,
	huangzhichao, Longpeng

From: Longpeng <longpeng2@huawei.com>

To support generic vdpa deivce[1], we need add the following ioctls:
  - GET_CONFIG_SIZE: the size of the virtio config space (Patch 1)
  - GET_VQS_COUNT: the count of virtqueues that exposed (Patch 2)

Patch 3 supports ctrl vq for vdpasim_net, then guys can test the
generic vDPA device on the vdpasim_net/blk.

[1] https://lore.kernel.org/all/20220105005900.860-1-longpeng2@huawei.com/

Longpeng (3):
  vdpa: support exposing the config size to userspace
  vdpa: support exposing the count of vqs to userspace
  vdpasim_net: control virtqueue support

 drivers/vdpa/vdpa_sim/vdpa_sim_net.c | 83 +++++++++++++++++++++++++++-
 drivers/vhost/vdpa.c                 | 30 ++++++++++
 include/uapi/linux/vhost.h           |  7 +++
 3 files changed, 118 insertions(+), 2 deletions(-)

-- 
2.23.0


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2022-03-10  3:16 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-17  9:29 [RFC 0/3] vdpa: add two ioctl commands to support generic vDPA Longpeng(Mike)
2022-01-17  9:29 ` [RFC 1/3] vdpa: support exposing the config size to userspace Longpeng(Mike)
2022-01-18  3:06   ` Jason Wang
2022-01-17  9:29 ` [RFC 2/3] vdpa: support exposing the count of vqs " Longpeng(Mike)
2022-01-18  3:07   ` Jason Wang
2022-03-10  3:16     ` Longpeng (Mike, Cloud Infrastructure Service Product Dept.)
2022-01-17  9:29 ` [RFC 3/3] vdpasim_net: control virtqueue support Longpeng(Mike)
2022-01-18  3:09   ` Jason Wang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).