All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/6] ifcvf/vDPA: support query device config space through netlink
@ 2022-06-02  2:38 Zhu Lingshan
  2022-06-02  2:38 ` [PATCH 1/6] vDPA/ifcvf: get_config_size should return a value no greater than dev implementation Zhu Lingshan
                   ` (5 more replies)
  0 siblings, 6 replies; 32+ messages in thread
From: Zhu Lingshan @ 2022-06-02  2:38 UTC (permalink / raw)
  To: jasowang, mst; +Cc: virtualization, netdev, Zhu Lingshan

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(-)

-- 
2.31.1


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

end of thread, other threads:[~2022-06-07  8:41 UTC | newest]

Thread overview: 32+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-02  2:38 [PATCH 0/6] ifcvf/vDPA: support query device config space through netlink Zhu Lingshan
2022-06-02  2:38 ` [PATCH 1/6] vDPA/ifcvf: get_config_size should return a value no greater than dev implementation Zhu Lingshan
2022-06-02  7:11   ` Jason Wang
2022-06-02  7:11     ` Jason Wang
2022-06-06  8:17     ` Zhu, Lingshan
2022-06-02  2:38 ` [PATCH 2/6] vDPA/ifcvf: support userspace to query features and MQ of a management device Zhu Lingshan
2022-06-02  7:21   ` Jason Wang
2022-06-02  7:21     ` Jason Wang
2022-06-06  8:18     ` Zhu, Lingshan
2022-06-02  2:38 ` [PATCH 3/6] vDPA/ifcvf: support userspace to query device feature bits Zhu Lingshan
2022-06-02  7:32   ` Jason Wang
2022-06-02  7:32     ` Jason Wang
2022-06-02  7:46     ` Eli Cohen
2022-06-06  8:24       ` Zhu, Lingshan
2022-06-02  2:38 ` [PATCH 4/6] vDPA: !FEATURES_OK should not block querying device config space Zhu Lingshan
2022-06-02  7:36   ` Jason Wang
2022-06-02  7:36     ` Jason Wang
2022-06-06  8:19     ` Zhu, Lingshan
2022-06-02  2:38 ` [PATCH 5/6] vDPA: answer num of queue pairs = 1 to userspace when VIRTIO_NET_F_MQ == 0 Zhu Lingshan
2022-06-02  7:38   ` Jason Wang
2022-06-02  7:38     ` Jason Wang
2022-06-06  8:21     ` Zhu, Lingshan
2022-06-07  6:14       ` Jason Wang
2022-06-07  6:14         ` Jason Wang
2022-06-07  8:40         ` Zhu, Lingshan
2022-06-02  2:38 ` [PATCH 6/6] vDPA: fix 'cast to restricted le16' warnings in vdpa_dev_net_config_fill() Zhu Lingshan
2022-06-02  7:40   ` Jason Wang
2022-06-02  7:40     ` Jason Wang
2022-06-06  8:22     ` Zhu, Lingshan
2022-06-07  6:15       ` Jason Wang
2022-06-07  6:15         ` Jason Wang
2022-06-07  6:41         ` Zhu, Lingshan

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.