[dpdk-dev] [PATCH v3 2/4] common/mlx5: support DevX virtq stats operations

Maxime Coquelin maxime.coquelin at redhat.com
Thu Jun 18 12:58:21 CEST 2020



On 6/2/20 5:47 PM, Matan Azrad wrote:
> Add DevX API to create and query virtio queue statistics from the HW.
> The next counters are supported by the HW per virtio queue:
> 	received_desc.
> 	completed_desc.
> 	error_cqes.
> 	bad_desc_errors.
> 	exceed_max_chain.
> 	invalid_buffer.
> 
> Signed-off-by: Matan Azrad <matan at mellanox.com>
> Acked-by: Viacheslav Ovsiienko <viacheslavo at mellanox.com>
> ---
>  drivers/common/mlx5/mlx5_devx_cmds.c            | 73 +++++++++++++++++++++++++
>  drivers/common/mlx5/mlx5_devx_cmds.h            | 38 +++++++++++++
>  drivers/common/mlx5/mlx5_prm.h                  | 26 ++++++++-
>  drivers/common/mlx5/rte_common_mlx5_version.map |  2 +
>  4 files changed, 138 insertions(+), 1 deletion(-)

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



More information about the dev mailing list