[PATCH v2 21/21] net/virtio-user: remove max queues limitation
Xia, Chenbo
chenbo.xia at intel.com
Wed Feb 8 02:06:48 CET 2023
> -----Original Message-----
> From: Maxime Coquelin <maxime.coquelin at redhat.com>
> Sent: Tuesday, February 7, 2023 11:18 PM
> To: dev at dpdk.org; Xia, Chenbo <chenbo.xia at intel.com>;
> david.marchand at redhat.com; eperezma at redhat.com; stephen at networkplumber.org
> Cc: Maxime Coquelin <maxime.coquelin at 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.coquelin at 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.xia at intel.com>
More information about the dev
mailing list