mbox series

[ovs-dev,0/4] Configurable pmd-rxq-show 'pmd usage' time frame.

Message ID 20221005125312.162578-1-ktraynor@redhat.com
Headers show
Series Configurable pmd-rxq-show 'pmd usage' time frame. | expand

Message

Kevin Traynor Oct. 5, 2022, 12:53 p.m. UTC
Patch 1 is the main focus of the series as it adds to ability to
specify the time frame for the 'ovs-appctl dpif-netdev/pmd-rxq-show'
stat so that pmd usage can be evaluated to the granularity of 5 secs
instead of the previous 60.

Patch 2 adds docs/NEWS. Separate patch for ease of review, it can be
squashed later.

Patch 3 adds new unit tests.

Patch 4 is some minor variable renaming as I was touching the
pmd_info_show_rxq() function to make the distinction between
pmd stats from rxq ones more readable.

GHA: https://github.com/kevintraynor/ovs/actions/runs/3189776532

Kevin Traynor (4):
  dpif-netdev: Make pmd-rxq-show time configurable.
  docs: Add documention for pmd-rxq-show secs parameter.
  tests: Add unit tests for pmd-rxq-show secs parameter.
  dpif-netdev: Rename pmd_info_show_rxq variables.

 Documentation/topics/dpdk/pmd.rst |  23 ++++--
 NEWS                              |   3 +
 lib/dpif-netdev-private-thread.h  |   2 +-
 lib/dpif-netdev.c                 | 113 +++++++++++++++++++++---------
 tests/pmd.at                      |  62 ++++++++++++++++
 5 files changed, 165 insertions(+), 38 deletions(-)