On 3/20/19 1:02 PM, David Marchand wrote:
fwd engine statistics are stored as unsigned int (32bits) and can wrap
quite quickly.
Example: sending 7mpps for 614s gives us 4298000000 packets =>
0x1002e4680 larger than 32bits.
testpmd reports forwarding stats as:
RX-packets: 3500381 TX-packets: 3500010 TX-dropped: 371
While the port and accumulated stats are reported as 64bits:
RX-packets: 4298467677 RX-dropped: 0 RX-total: 4298467677
TX-packets: 4298467306 TX-dropped: 371 TX-total: 4298467677
Fixes: af75078fece3 ("first public release")
Cc: sta...@dpdk.org
Signed-off-by: David Marchand <david.march...@redhat.com>
Reviewed-by: Andrew Rybchenko <arybche...@solarflare.com>
RX and Rx are used for error stats. Don't know why. But the patch simply
preserves it,
so not a problem of the patch.