[dpdk-dev] [PATCH v3 4/4] app/testpmd: display/clear forwarding stats on demand
david.marchand at redhat.com
Wed Mar 20 13:44:39 CET 2019
On Wed, Mar 20, 2019 at 1:25 PM Ferruh Yigit <ferruh.yigit at intel.com> wrote:
> On 3/20/2019 10:02 AM, David Marchand wrote:
> > Add a new "show/clear fwd stats all" command to display fwd and port
> > statistics on the fly.
> Won't this be duplicating existing commands:
> "show port stats all|<port_id>"
> "clear port stats all|<port_id>"
> What benefit "show/clear fwd stats all" adds against existing ones?
Forwarding engines like "iofwd" maintain software statistics like
"fwd_dropped" which gives you how much of the packets to be transmitted
could not make it to the "wire".
"show port stats" won't give you those stats.
You could stop/start the forwarding to get them, but when debugging you
most likely do not want to stop the forwarding.
I have been using this while tracking drops in a PVP setup.
More information about the dev