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

2019-03-11 Thread David Marchand
On Mon, Mar 11, 2019 at 4:57 PM Andrew Rybchenko wrote: > 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 Marc

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

2019-03-11 Thread Andrew Rybchenko
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 Patch summary is misleading here. The main change here is cha

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

2019-03-11 Thread David Marchand
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 --- app/test-pmd/testpmd.c | 62 ++ app/test-pmd/testpmd.h