[PATCH v3 0/2] Show statistics for a vdpa device

Eli Cohen posted 2 patches 4 years ago
There is a newer version of this series
drivers/vdpa/mlx5/core/mlx5_vdpa.h |   2 +
drivers/vdpa/mlx5/net/mlx5_vnet.c  | 165 +++++++++++++++++++++++++++++
drivers/vdpa/vdpa.c                | 129 ++++++++++++++++++++++
include/linux/mlx5/mlx5_ifc.h      |   1 +
include/linux/mlx5/mlx5_ifc_vdpa.h |  39 +++++++
include/linux/vdpa.h               |   5 +
include/uapi/linux/vdpa.h          |   6 ++
7 files changed, 347 insertions(+)
[PATCH v3 0/2] Show statistics for a vdpa device
Posted by Eli Cohen 4 years ago
The following two patch series adds support to read vendor statistics
for a vdpa device.

The first patch lays the ground to allow an upstream driver to provide
statistics in the form of an attribute name/attribute value pairs.

The second patch implements this for mlx5_vdpa which gives received
descriptors and completed descriptors information for all the
virtqueues. 

v2 -> v3:
Fix sparse warning in patch 0002

Eli Cohen (2):
  vdpa: Add support for querying vendor statistics
  vdpa/mlx5: Add support for reading descriptor statistics

 drivers/vdpa/mlx5/core/mlx5_vdpa.h |   2 +
 drivers/vdpa/mlx5/net/mlx5_vnet.c  | 165 +++++++++++++++++++++++++++++
 drivers/vdpa/vdpa.c                | 129 ++++++++++++++++++++++
 include/linux/mlx5/mlx5_ifc.h      |   1 +
 include/linux/mlx5/mlx5_ifc_vdpa.h |  39 +++++++
 include/linux/vdpa.h               |   5 +
 include/uapi/linux/vdpa.h          |   6 ++
 7 files changed, 347 insertions(+)

-- 
2.35.1