> -----Original Message----- > From: Maxime Coquelin <maxime.coque...@redhat.com> > Sent: Wednesday, November 30, 2022 11:57 PM > To: dev@dpdk.org; Xia, Chenbo <chenbo....@intel.com>; > david.march...@redhat.com; epere...@redhat.com > Cc: Maxime Coquelin <maxime.coque...@redhat.com> > Subject: [PATCH v1 15/21] net/virtio-user: get max number of queue pairs > from device > > When supported by the backend (only vDPA for now), this > patch gets the maximum number of queue pairs supported by > the device by querying it in its config space. > > This is required for adding backend control queue support, > as is index equals the maximum number of queues supported > by the device as described by the Virtio specification. > > Signed-off-by: Maxime Coquelin <maxime.coque...@redhat.com> > --- > .../net/virtio/virtio_user/virtio_user_dev.c | 93 ++++++++++++++----- > drivers/net/virtio/virtio_user_ethdev.c | 7 -- > 2 files changed, 71 insertions(+), 29 deletions(-) > > 2.38.1
Reviewed-by: Chenbo Xia <chenbo....@intel.com>