lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:   Mon, 17 Jan 2022 17:29:18 +0800
From:   "Longpeng(Mike)" <longpeng2@...wei.com>
To:     <jasowang@...hat.com>, <mst@...hat.com>, <sgarzare@...hat.com>,
        <stefanha@...hat.com>
CC:     <virtualization@...ts.linux-foundation.org>, <kvm@...r.kernel.org>,
        <linux-kernel@...r.kernel.org>, <netdev@...r.kernel.org>,
        <arei.gonglei@...wei.com>, <yechuan@...wei.com>,
        <huangzhichao@...wei.com>, Longpeng <longpeng2@...wei.com>
Subject: [RFC 0/3] vdpa: add two ioctl commands to support generic vDPA

From: Longpeng <longpeng2@...wei.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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ