[dpdk-dev] [PATCH v3 3/4] vdpa/mlx5: support virtio queue statistics get
Maxime Coquelin
maxime.coquelin at redhat.com
Thu Jun 18 13:05:55 CEST 2020
On 6/2/20 5:47 PM, Matan Azrad wrote:
> Add support for statistics operations.
>
> A DevX counter object is allocated per virtq in order to manage the
> virtq statistics.
>
> The counter object is allocated before the virtq creation and destroyed
> after it, so the statistics are valid only in the life time of the
> virtq.
>
> Signed-off-by: Matan Azrad <matan at mellanox.com>
> ---
> doc/guides/rel_notes/release_20_08.rst | 8 +++
> doc/guides/vdpadevs/features/mlx5.ini | 1 +
> drivers/vdpa/mlx5/mlx5_vdpa.c | 85 ++++++++++++++++++++++++++++++++
> drivers/vdpa/mlx5/mlx5_vdpa.h | 45 +++++++++++++++++
> drivers/vdpa/mlx5/mlx5_vdpa_virtq.c | 90 ++++++++++++++++++++++++++++++++++
> 5 files changed, 229 insertions(+)
>
Reviewed-by: Maxime Coquelin <maxime.coquelin at redhat.com>
More information about the dev
mailing list