On 6/18/20 8:59 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 <ma...@mellanox.com>
> Acked-by: Viacheslav Ovsiienko <viachesl...@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.coque...@redhat.com>