[dpdk-dev] [PATCH] net/dpaa2: remove unnecessary loop for unused pool entries

Shreyansh Jain shreyansh.jain at nxp.com
Tue Jul 31 15:52:02 CEST 2018


On 7/31/2018 1:21 PM, Gavin Hu wrote:
> Currently only one buffer pool is configured and in use,
> looping for up to maxmum 8 times is unnecessary and might
> be buggy as assigned uninititalized values.
> 
> The fix is to loop for the configured times with initialize
> with valid values.
> 
> Fixes: 16bbc98a3e ("bus/fslmc: update MC to 10.3.x")
> Cc: stable at dpdk.org
> 
> Signed-off-by: Gavin Hu <gavin.hu at arm.com>
> Reviewed-by: Honnappa Nagarahalli <honnappa.nagarahalli at arm.com>
> ---

Acked-by: Shreyansh Jain <shreyansh.jain at nxp.com>


More information about the dev mailing list