All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/2] Show statistics for a vdpa device
@ 2022-05-02 10:21 Eli Cohen
  2022-05-02 10:22 ` [PATCH v3 1/2] vdpa: Add support for querying vendor statistics Eli Cohen
  2022-05-02 10:22 ` [PATCH v3 2/2] vdpa/mlx5: Add support for reading descriptor statistics Eli Cohen
  0 siblings, 2 replies; 19+ messages in thread
From: Eli Cohen @ 2022-05-02 10:21 UTC (permalink / raw)
  To: mst, jasowang; +Cc: virtualization, linux-kernel, si-wei.liu, Eli Cohen

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


^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2022-05-11 10:07 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-02 10:21 [PATCH v3 0/2] Show statistics for a vdpa device Eli Cohen
2022-05-02 10:22 ` [PATCH v3 1/2] vdpa: Add support for querying vendor statistics Eli Cohen
2022-05-02 23:47   ` Si-Wei Liu
2022-05-02 23:47     ` Si-Wei Liu
2022-05-03  5:13     ` Eli Cohen
2022-05-04  4:43       ` Si-Wei Liu
2022-05-04  4:43         ` Si-Wei Liu
2022-05-04  5:44         ` Eli Cohen
2022-05-05  8:10           ` Jason Wang
2022-05-05  8:10             ` Jason Wang
2022-05-06  0:35           ` Si-Wei Liu
2022-05-06  0:35             ` Si-Wei Liu
2022-05-08  7:44     ` Eli Cohen
2022-05-10 17:58       ` Si-Wei Liu
2022-05-10 17:58         ` Si-Wei Liu
2022-05-11 10:07         ` Eli Cohen
2022-05-02 10:22 ` [PATCH v3 2/2] vdpa/mlx5: Add support for reading descriptor statistics Eli Cohen
2022-05-03  0:36   ` Si-Wei Liu
2022-05-03  0:36     ` Si-Wei Liu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.