[dpdk-dev] [PATCH v3 4/4] examples/vdpa: add statistics show command

Maxime Coquelin maxime.coquelin at redhat.com
Thu Jun 18 14:13:04 CEST 2020



On 6/2/20 5:47 PM, Matan Azrad wrote:
> A new vDPA driver feature was added to query the virtq statistics from
> the HW.
> 
> Use this feature to show the HW queues statistics for the virtqs.
> 
> Command description: stats X Y.
> X is the device ID.
> Y is the queue ID, Y=0xffff to show all the virtio queues statistics of
> the device X.
> 
> Signed-off-by: Matan Azrad <matan at mellanox.com>
> ---
>  doc/guides/sample_app_ug/vdpa.rst |   3 +-
>  examples/vdpa/main.c              | 119 ++++++++++++++++++++++++++++++++++++++
>  2 files changed, 121 insertions(+), 1 deletion(-)
> 

Reviewed-by: Maxime Coquelin <maxime.coquelin at redhat.com>



More information about the dev mailing list