mbox

[v8,00/12] vdpa/ifc: add multi queue support

Message ID 1666094871-25721-1-git-send-email-andy.pei@intel.com (mailing list archive)
Headers

Message

Pei, Andy Oct. 18, 2022, 12:07 p.m. UTC
  v8:
 change "vdpa_device_type" in "rte_vdpa_device" to "type".

v7:
 Fill vdpa_device_type in vdpa device registration.

v6:
 Add vdpa_device_type to rte_vdpa_device to store vDPA device type.

v5:
 fix some commit message.
 rework some code logic.

v4:
 fix some commit message.
 add some commets to code.
 fix some code to reduce confusion.

v3:
 rename device ID macro name.
 fix some patch title and commit message.
 delete some used marco.
 rework some code logic.

v2:
 fix some coding style issue.
 support dynamic enable/disable queue at run time.

Andy Pei (10):
  vdpa/ifc: add multi-queue support
  vdpa/ifc: set max queues based on virtio spec
  vdpa/ifc: write queue count to MQ register
  vdpa/ifc: only configure enabled queue
  vdpa/ifc: change internal function name
  vdpa/ifc: add internal API to get device
  vdpa/ifc: change some driver logic
  vhost: add type to rte vdpa device
  vhost: vDPA blk device gets ready when the first queue is ready
  vhost: improve vDPA blk device configure condition

Huang Wei (2):
  vdpa/ifc: add new device ID for legacy network device
  vdpa/ifc: support dynamic enable/disable queue

 drivers/vdpa/ifc/base/ifcvf.c | 144 ++++++++++++++++++++++++++++++++
 drivers/vdpa/ifc/base/ifcvf.h |  16 +++-
 drivers/vdpa/ifc/ifcvf_vdpa.c | 185 +++++++++++++++++++++++++++++++++++-------
 lib/vhost/socket.c            |  15 +---
 lib/vhost/vdpa.c              |  15 ++++
 lib/vhost/vdpa_driver.h       |   2 +
 lib/vhost/vhost_user.c        |  38 +++++----
 7 files changed, 354 insertions(+), 61 deletions(-)