RFC ifcvf/vDPA: support query device config space through
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest6 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | vDPA/ifcvf: get_config_size should return a value no greater than dev implementationdrivers/ drivers/ | +8 | 0 replies | |
| 2/6 | vDPA/ifcvf: support userspace to query features and MQ of a management devicedrivers/ drivers/ drivers/ | +16 | 0 replies | |
| 3/6 | vDPA/ifcvf: support userspace to query device feature bitsdrivers/ include/ | +11 | 0 replies | |
| 4/6 | vDPA: !FEATURES_OK should not block querying device config spacedrivers/ | +0 | 0 replies | |
| 5/6 | vDPA: answer num of queue pairs = 1 to userspace when VIRTIO_NET_F_MQ == 0drivers/ | +3 | 0 replies | |
| 6/6 | vDPA: fix 'cast to restricted le16' warnings in vdpa_dev_net_config_fill()drivers/ | +2 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [RFC 0/6] ifcvf/vDPA: support query device config space through
This series allows userspace to query device config space through netlink, to get multi-queue, feature bits, device features and driver features.
This series also has fixed some issues of misusing VDPA_ATTR_DEV_SUPPORTED_FEATURES, this should be used for virtio devices than the management device.
Please help review.
Thanks!
Zhu Lingshan
Zhu Lingshan (6):
vDPA/ifcvf: get_config_size should return a value no greater than dev
implementation
vDPA/ifcvf: support userspace to query features and MQ of a management
device
vDPA/ifcvf: support userspace to query device feature bits
vDPA: !FEATURES_OK should not block querying device config space
vDPA: answer num of queue pairs = 1 to userspace when VIRTIO_NET_F_MQ
== 0
vDPA: fix 'cast to restricted le16' warnings in
vdpa_dev_net_config_fill()
drivers/vdpa/ifcvf/ifcvf_base.c | 20 ++++++++++++++++++-- drivers/vdpa/ifcvf/ifcvf_base.h | 3 +++ drivers/vdpa/ifcvf/ifcvf_main.c | 3 +++ drivers/vdpa/vdpa.c | 32 +++++++++++++++----------------- include/uapi/linux/vdpa.h | 1 + 5 files changed, 40 insertions(+), 19 deletions(-)
Signature · 1 line
2.31.1