[dpdk-dev] [PATCH v2 3/4] app/testpmd: remove useless casts on statistics

Andrew Rybchenko arybchenko at solarflare.com
Mon Mar 11 16:57:05 CET 2019

On 3/11/19 6:35 PM, David Marchand wrote:
> Caught by code review while investigating the stats display code.
> Switching all port and fwd engine statistics to uint64_t makes it
> possible to drop all casts.
> Signed-off-by: David Marchand <david.marchand at redhat.com>

Patch summary is misleading here. The main change here is changing
of counters bitwidth. 32-bit counters overflow pretty fast on 100G, so
it is a good idea to fix it.


More information about the dev mailing list