> -----Original Message----- > From: Maxime Coquelin <[email protected]> > Sent: Tuesday, February 7, 2023 11:18 PM > To: [email protected]; Xia, Chenbo <[email protected]>; > [email protected]; [email protected]; [email protected] > Cc: Maxime Coquelin <[email protected]> > 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 <[email protected]> > --- > 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 <[email protected]>

