lkml.org 
[lkml]   [2022]   [Jan]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[RFC 0/3] vdpa: add two ioctl commands to support generic vDPA
Date
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

\
 
 \ /
  Last update: 2022-01-17 10:29    [W:0.075 / U:0.144 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site