Patch 1 removes subtable lookup stats from the cycles per
packet stats.

Patch 2:
Correct cycles per packet to be based on packets received
rather than datapath passes.

Add two new stats counters for packet received and packets
recirculated and display these to the user.
 
Calculate and display to to the user, the average number of
datapath passes per packet.

Make 'miss' counter mean 'ovs miss upcall'.

Annotate the stats display for clarity.

The pmd-stats-show display is significantly changed,
however existing keywords are retained as well as
delimiters, so as to limit impact to scripts, although
no assurance can be made about the impact on all scripts.

Most changes are in Patch 2 as it is easier to understand
the changes given the interrelationship of various fields.

Patch 3 extends the pmd stats test to also test the megaflow
case.

v4->v5: Improve cycles per packet calculation
        Add packets received and packets recirculated
        counters and display to the user.  Add average
        number of datapath passes stats display.
        Accept review comment to eliminate parameter
        passing of a failure stat; increment in caller.
        Rename miss_upcall_cnt to upcall_ok_cnt per
        review. 
        miss_no_upcall_cnt was renamed to upcall_fail_cnt.
        The new addition of testing megaflow stats is split
        out as a separate patch.


v3->v4: Combine patches 2 and 3 because v3 introduced a
        dependency.
        Also add a OVS_LIKELY in one location.

v2->v3: Fix a bug in patch 2 and fold in review comments.

v1->v2: Add additional patches.

Darrell Ball (2):
  dpif-netdev: Refactor some pmd stats.
  tests: Add megaflows stats to pmd stats test.

Ilya Maximets (1):
  dpif-netdev: Fix per packet cycles statistics.

 lib/dpif-netdev.c | 83 ++++++++++++++++++++++++++++++++++---------------------
 tests/pmd.at      | 44 +++++++++++++++++++++++------
 2 files changed, 87 insertions(+), 40 deletions(-)

-- 
1.9.1

_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to