diff options
author | Eelco Chaudron <echaudro@redhat.com> | 2019-12-11 22:00:01 -0500 |
---|---|---|
committer | Ilya Maximets <i.maximets@ovn.org> | 2019-12-19 01:03:52 +0100 |
commit | 3d56e4ac445d17e69484a95b319ac578e3580b65 (patch) | |
tree | 37bca63ebe49f69acaaf43b1c0bb2633a9bf1174 /include/openvswitch | |
parent | 6d77abf4f7ea5596ba8c4a7a27768e83e80a7e46 (diff) | |
download | openvswitch-3d56e4ac445d17e69484a95b319ac578e3580b65.tar.gz |
netdev-dpdk: Add coverage counter to count vhost IRQs.
When the dpdk vhost library executes an eventfd_write() call,
i.e. waking up the guest, a new callback will be called.
This patch adds the callback to count the number of
interrupts sent to the VM to track the number of times
interrupts where generated.
This might be of interest to find out system-calls were
called in the DPDK fast path.
The coverage counter is called "vhost_notification" and
can be read with:
$ ovs-appctl coverage/read-counter vhost_notification
13238319
Signed-off-by: Eelco Chaudron <echaudro@redhat.com>
Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
Diffstat (limited to 'include/openvswitch')
0 files changed, 0 insertions, 0 deletions