On Wed, Jul 1, 2026 at 8:36 AM Liangxing Wang <[email protected]> wrote:
>
> Add Rx and Tx queue info callbacks to report the vhost-user vring
> size as the queue descriptor number.
>
> The vhost-user PMD does not use the descriptor count passed by
> rte_eth_rx_queue_setup() and rte_eth_tx_queue_setup(). The actual queue
> depth is negotiated with the virtio frontend and maintained by the
> vhost library. Query the vhost vring and report its size through
> rxq_info_get and txq_info_get.
>
> With this change, testpmd using vhost-user PMD can display the correct
> Rx and Tx queue descriptor number in the port start log.
>
> Signed-off-by: Liangxing Wang <[email protected]>
> ---
>  drivers/net/vhost/rte_eth_vhost.c | 38 +++++++++++++++++++++++++++++++
>  1 file changed, 38 insertions(+)
>
Reviewed-by: Maxime Coquelin <[email protected]>

Thanks,
Maxime

Reply via email to