Michael S. Tsirkin
2021-Dec-08 20:30 UTC
[PATH v1 0/2] Support reading vendor statistics through iproute2/vdpa tool
On Wed, Nov 24, 2021 at 06:55:29PM +0200, Eli Cohen wrote:> The following patches add support for reading vdpa statistics > information from a vdpa instance using netlink messages. > > mlx5_vdpa is also implemented to provide that information. > > The supported statistics data are number of descriptors recieved by the > virtqueue and the number of descriptors completed by it.So I assume a v2 of this will be forthcoming, right?> v0 -> v1: > Emphasize that we're dealing with vendor specific counters. > Add mutex to synchronize query stats with changing of number of queues > > Eli Cohen (2): > vdpa: Add support for querying vendor statistics > vdpa/mlx5: Add support for reading descriptor statistics > > drivers/vdpa/mlx5/net/mlx5_vnet.c | 143 ++++++++++++++++++++++++++++ > drivers/vdpa/vdpa.c | 144 +++++++++++++++++++++++++++++ > include/linux/mlx5/mlx5_ifc.h | 1 + > include/linux/mlx5/mlx5_ifc_vdpa.h | 39 ++++++++ > include/linux/vdpa.h | 10 ++ > include/uapi/linux/vdpa.h | 9 ++ > 6 files changed, 346 insertions(+) > > -- > 2.33.1