[PATCH v1 15/21] net/virtio-user: get max number of queue pairs from device
Xia, Chenbo
chenbo.xia at intel.com
Tue Jan 31 06:21:40 CET 2023
> -----Original Message-----
> From: Maxime Coquelin <maxime.coquelin at redhat.com>
> Sent: Wednesday, November 30, 2022 11:57 PM
> To: dev at dpdk.org; Xia, Chenbo <chenbo.xia at intel.com>;
> david.marchand at redhat.com; eperezma at redhat.com
> Cc: Maxime Coquelin <maxime.coquelin at 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.coquelin at 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.xia at intel.com>
More information about the dev
mailing list