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

Phil Yang Phil.Yang at arm.com
Thu Jun 18 17:01:39 CEST 2020


> -----Original Message-----
> From: Honnappa Nagarahalli <honnappa.nagarahalli at arm.com>
> Sent: Wednesday, June 17, 2020 10:43 PM
> To: dev at dpdk.org; Honnappa Nagarahalli
> <Honnappa.Nagarahalli at arm.com>; alialnu at mellanox.com;
> orgerlitz at mellanox.com; wenzhuo.lu at intel.com; beilei.xing at intel.com;
> bernard.iremonger at intel.com
> Cc: hemant.agrawal at nxp.com; jerinj at marvell.com;
> viacheslavo at mellanox.com; thomas at monjalon.net; Ruifeng Wang
> <Ruifeng.Wang at arm.com>; Phil Yang <Phil.Yang at arm.com>; nd
> <nd at arm.com>; stable at dpdk.org
> Subject: [PATCH 4/5] app/testpmd: fix burst percentage calculation
> 
> 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: stable at dpdk.org
> 
> Signed-off-by: Honnappa Nagarahalli <honnappa.nagarahalli at arm.com>
> Reviewed-by: Phil Yang <phil.yang at arm.com>
> Reviewed-by: Ruifeng Wang <ruifeng.wang at arm.com>
> ---
Tested-by: Phil Yang <phil.yang at arm.com>


More information about the stable mailing list