From mboxrd@z Thu Jan 1 00:00:00 1970 From: Shreyansh Jain Subject: Re: [PATCH] net/dpaa2: remove unnecessary loop for unused pool entries Date: Tue, 31 Jul 2018 19:22:02 +0530 Message-ID: <3b620acf-238c-1bf3-e31e-fefc3207b8c4@nxp.com> References: <20180731075137.15413-1-gavin.hu@arm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Cc: stable@dpdk.org To: Gavin Hu , dev@dpdk.org Return-path: In-Reply-To: <20180731075137.15413-1-gavin.hu@arm.com> Content-Language: en-US List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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@dpdk.org > > Signed-off-by: Gavin Hu > Reviewed-by: Honnappa Nagarahalli > --- Acked-by: Shreyansh Jain