]> git.proxmox.com Git - ovs.git/commit
dpif-netdev: Add rxq processing cycle counters.
authorKevin Traynor <ktraynor@redhat.com>
Fri, 25 Aug 2017 07:42:06 +0000 (00:42 -0700)
committerDarrell Ball <dlu998@gmail.com>
Fri, 25 Aug 2017 07:42:06 +0000 (00:42 -0700)
commitc59e759f332cf0975de6b33fe58803e479d2b16f
treea37a2fa0180c686e8372982e0deff4ab6111c77d
parent922b28d435c48cf7f29db885ba1d6b31b705c5ac
dpif-netdev: Add rxq processing cycle counters.

Add counters to dp_netdev_rxq which will later be used for storing the
processing cycles of an rxq. Processing cycles will be stored in reference
to a defined time interval. We will store the cycles of the current in progress
interval, a number of completed intervals and the sum of the completed
intervals.

cycles_count_intermediate was used to count cycles for a pmd. With some small
additions we can also use it to count the cycles used for processing an rxq.

Signed-off-by: Kevin Traynor <ktraynor@redhat.com>
Signed-off-by: Darrell Ball <dlu998@gmail.com>
lib/dpif-netdev.c