> -----Original Message-----
> From: Maxime Coquelin <[email protected]>
> Sent: Wednesday, November 30, 2022 11:57 PM
> To: [email protected]; Xia, Chenbo <[email protected]>;
> [email protected]; [email protected]
> Cc: Maxime Coquelin <[email protected]>
> 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 <[email protected]>
> ---
>  .../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 <[email protected]> 

Reply via email to