> -----Original Message----- > From: Maxime Coquelin <maxime.coque...@redhat.com> > Sent: Tuesday, February 7, 2023 11:18 PM > To: dev@dpdk.org; Xia, Chenbo <chenbo....@intel.com>; > david.march...@redhat.com; epere...@redhat.com; step...@networkplumber.org > Cc: Maxime Coquelin <maxime.coque...@redhat.com> > Subject: [PATCH v2 21/21] net/virtio-user: remove max queues limitation > > This patch removes the limitation of 8 queue pairs by > dynamically allocating vring metadata once we know the > maximum number of queue pairs supported by the backend. > > This is especially useful for Vhost-vDPA with physical > devices, where the maximum queues supported may be much > more than 8 pairs. > > Signed-off-by: Maxime Coquelin <maxime.coque...@redhat.com> > --- > drivers/net/virtio/virtio.h | 6 - > .../net/virtio/virtio_user/virtio_user_dev.c | 143 ++++++++++++++---- > .../net/virtio/virtio_user/virtio_user_dev.h | 16 +- > drivers/net/virtio/virtio_user_ethdev.c | 17 +-- > 4 files changed, 125 insertions(+), 57 deletions(-) > > 2.39.1
Reviewed-by: Chenbo Xia <chenbo....@intel.com>