dpif-netdev: Add dpif-netdev/pmd-stats-* appctl commands.
authorDaniele Di Proietto <diproiettod@vmware.com>
Fri, 10 Apr 2015 18:09:50 +0000 (19:09 +0100)
committerEthan Jackson <ethan@nicira.com>
Tue, 14 Apr 2015 19:31:30 +0000 (12:31 -0700)
commit6553d06bd1797bd4f2849dc8da6a994fc9504ac7
tree3e9615febd2bf99c06d80e42d949ebd7d20a2654
parentc8973eb634a8efff7593d2a2c160e2b8c09a8c3f
dpif-netdev: Add dpif-netdev/pmd-stats-* appctl commands.

These commands can be used to get packets and cycles counters on a pmd
thread basis.  They're useful to get a clearer picture about the
performance of the userspace datapath.

They export these pieces of information:

- A (per-thread) view of the caches hit rate. Hits in the exact match
  cache are reported separately from hits in the masked classifier
- A rough cycles count. This will allow to estimate the load of OVS and
  the polling overhead.

Signed-off-by: Daniele Di Proietto <diproiettod@vmware.com>
Acked-by: Ethan Jackson <ethan@nicira.com>
INSTALL.DPDK.md
lib/dpif-netdev.c
vswitchd/ovs-vswitchd.8.in