]> git.droids-corp.org - dpdk.git/commit
vhost: add statistics for guest notification
authorMaxime Coquelin <maxime.coquelin@redhat.com>
Tue, 10 May 2022 20:17:18 +0000 (22:17 +0200)
committerMaxime Coquelin <maxime.coquelin@redhat.com>
Wed, 1 Jun 2022 09:50:09 +0000 (11:50 +0200)
commit1ea74efd7fa447e737b81703739888b49edb5a63
treee5d5c815a26c06dea19bbb4e94e181ac445a96e2
parent2e16597c4bda9e023021e69abf68e6e40e12745c
vhost: add statistics for guest notification

This patch adds a new virtqueue statistic for guest
notifications. It is useful to deduce from hypervisor side
whether the corresponding guest Virtio device is using
Kernel Virtio-net driver or DPDK Virtio PMD.

Signed-off-by: Maxime Coquelin <maxime.coquelin@redhat.com>
Reviewed-by: Chenbo Xia <chenbo.xia@intel.com>
lib/vhost/vhost.c
lib/vhost/vhost.h