All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v5 0/3] Show statistics for a vdpa device
@ 2022-05-10 11:27 Eli Cohen
  2022-05-10 11:27 ` [PATCH v5 1/3] vdpa: Fix error logic in vdpa_nl_cmd_dev_get_doit Eli Cohen
                   ` (2 more replies)
  0 siblings, 3 replies; 21+ messages in thread
From: Eli Cohen @ 2022-05-10 11:27 UTC (permalink / raw)
  To: mst, jasowang; +Cc: virtualization, linux-kernel, si-wei.liu, Eli Cohen

The following three patch series adds support to read vendor statistics
for a vdpa device.

The first patch is just a cleanup fix.
The second patch lays the ground to allow an upstream driver to provide
statistics in the form of an attribute name/attribute value pairs.

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

v4 -> v5:
See inside the individual patches

Eli Cohen (3):
  vdpa: Fix error logic in vdpa_nl_cmd_dev_get_doit
  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                | 153 +++++++++++++++++++++++++-
 include/linux/mlx5/mlx5_ifc.h      |   1 +
 include/linux/mlx5/mlx5_ifc_vdpa.h |  39 +++++++
 include/linux/vdpa.h               |   3 +
 include/uapi/linux/vdpa.h          |   6 ++
 7 files changed, 365 insertions(+), 4 deletions(-)

-- 
2.35.1


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

end of thread, other threads:[~2022-05-16  6:06 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-10 11:27 [PATCH v5 0/3] Show statistics for a vdpa device Eli Cohen
2022-05-10 11:27 ` [PATCH v5 1/3] vdpa: Fix error logic in vdpa_nl_cmd_dev_get_doit Eli Cohen
2022-05-10 16:18   ` Si-Wei Liu
2022-05-10 16:18     ` Si-Wei Liu
2022-05-10 11:27 ` [PATCH v5 2/3] vdpa: Add support for querying vendor statistics Eli Cohen
2022-05-11 18:15   ` Si-Wei Liu
2022-05-11 18:15     ` Si-Wei Liu
2022-05-10 11:27 ` [PATCH v5 3/3] vdpa/mlx5: Add support for reading descriptor statistics Eli Cohen
2022-05-11 17:25   ` Si-Wei Liu
2022-05-11 17:25     ` Si-Wei Liu
2022-05-12  2:27     ` Jason Wang
2022-05-12  2:27       ` Jason Wang
2022-05-12  5:29       ` Eli Cohen
2022-05-13  1:10       ` Si-Wei Liu
2022-05-13  1:10         ` Si-Wei Liu
2022-05-12 21:13     ` Si-Wei Liu
2022-05-12 21:15     ` Si-Wei Liu
2022-05-12 21:15       ` Si-Wei Liu
2022-05-16  6:05       ` Eli Cohen
2022-05-12 21:16     ` Si-Wei Liu
2022-05-12 21:16       ` 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.