On 1/31/2023 5:26 PM, Ferruh Yigit wrote:
There is an inconsistency at displaying Tx dropped value for per port
forwarding stats and accumulated forwarding stats.

While displaying per port TX-dropped value, it only takes
'ports_stats[pt_id].tx_dropped' into account,
but for accumulated TX-dropped results it takes both
'ports_stats[pt_id].tx_dropped' & 'stats.oerrors' into account.

To fix, make both per port and accumulated stats display 'tx_dropped'
and 'stats.oerrors' (ports_stats[pt_id].tx_dropped + stats.oerrors).

Fixes: 53324971a14e ("app/testpmd: display/clear forwarding stats on demand")
Cc: sta...@dpdk.org

Reported-by: Joshua Washington <joshw...@google.com>
Signed-off-by: Ferruh Yigit <ferruh.yi...@amd.com>

Acked-by: Aman Singh <aman.deep.si...@intel.com>

---

Cc: david.march...@redhat.com

Mail list reference:
https://inbox.dpdk.org/dev/a440ab60-9624-f21e-396a-239bdf2aa...@amd.com/
---

<snip>

Reply via email to