Skip to content

allow userspace to query device features

Zhu Lingshan kvm netdev virtualization 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 41 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2vDPA: allow userspace to query features of a vDPA devicedrivers/vdpa/vdpa.c include/uapi/linux/vdpa.h+16 -44 replies
2/2vDPA: conditionally read fields in virtio-net devdrivers/vdpa/vdpa.c+47 -1337 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] allow userspace to query device features

This series allows userspace to query device features of a vDPA device through a new netlink attr VDPA_ATTR_VDPA_DEV_SUPPORTED_FEATURES

This series also make some fields of virtio-net device config space conditional on the feature bits, this means:

MTU should be conditional on VIRTIO_F_NET_MTU MAC should be conditional on VIRTIO_F_NET_MAC MQ should be conditional on VIRTIO_F_NET_MQ

For details, please refer to commit message
of patch 2/2

Thanks!

Zhu Lingshan (2):
vDPA: allow userspace to query features of a vDPA device
vDPA: conditionally read fields in virtio-net dev

 drivers/vdpa/vdpa.c       | 71 +++++++++++++++++++++++++++++++--------
 include/uapi/linux/vdpa.h |  3 ++
 2 files changed, 60 insertions(+), 14 deletions(-)
Signature · 1 line
2.31.1