> -----Original Message----- > From: Maxime Coquelin <maxime.coque...@redhat.com> > Sent: Wednesday, May 11, 2022 4:17 AM > To: dev@dpdk.org; Xia, Chenbo <chenbo....@intel.com>; > david.march...@redhat.com; i.maxim...@ovn.org > Cc: Maxime Coquelin <maxime.coque...@redhat.com> > Subject: [PATCH 1/5] vhost: add per-virtqueue statistics support > > This patch introduces new APIs for the application > to query and reset per-virtqueue statistics. The > patch also introduces generic counters. > > Signed-off-by: Maxime Coquelin <maxime.coque...@redhat.com> > --- > doc/guides/prog_guide/vhost_lib.rst | 24 ++++++ > lib/vhost/rte_vhost.h | 99 ++++++++++++++++++++++++ > lib/vhost/socket.c | 4 +- > lib/vhost/version.map | 4 +- > lib/vhost/vhost.c | 112 +++++++++++++++++++++++++++- > lib/vhost/vhost.h | 18 ++++- > lib/vhost/virtio_net.c | 55 ++++++++++++++ > 7 files changed, 311 insertions(+), 5 deletions(-) >
Reviewed-by: Chenbo Xia <chenbo....@intel.com>