Re: [dpdk-dev] [PATCH 4/5] app/testpmd: fix burst percentage calculation

2020-06-23 Thread Ali Alnubani
> -Original Message- > From: Honnappa Nagarahalli > Sent: Wednesday, June 17, 2020 5:43 PM > To: dev@dpdk.org; honnappa.nagaraha...@arm.com; Ali Alnubani > ; orgerl...@mellanox.com; wenzhuo...@intel.com; > beilei.x...@intel.com; bernard.iremon...@intel.com > Cc: hemant.agra...@nxp.com; jer

Re: [dpdk-dev] [PATCH 4/5] app/testpmd: fix burst percentage calculation

2020-06-18 Thread Phil Yang
> -Original Message- > From: Honnappa Nagarahalli > Sent: Wednesday, June 17, 2020 10:43 PM > To: dev@dpdk.org; Honnappa Nagarahalli > ; alia...@mellanox.com; > orgerl...@mellanox.com; wenzhuo...@intel.com; beilei.x...@intel.com; > bernard.iremon...@intel.com > Cc: hemant.agra...@nxp.com;

[dpdk-dev] [PATCH 4/5] app/testpmd: fix burst percentage calculation

2020-06-17 Thread Honnappa Nagarahalli
The burst % calculation can over flow due to multiplication. Fix the multiplication and increase the size of variables to 64b. Fixes: af75078fece3 ("first public release") Cc: sta...@dpdk.org Signed-off-by: Honnappa Nagarahalli Reviewed-by: Phil Yang Reviewed-by: Ruifeng Wang --- app/test-pmd