From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] net/dpaa2: remove unnecessary loop for unused pool entries Date: Fri, 03 Aug 2018 17:10:10 +0200 Message-ID: <2437244.yTZoX2vsWq@xps> References: <20180731075137.15413-1-gavin.hu@arm.com> <3b620acf-238c-1bf3-e31e-fefc3207b8c4@nxp.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, Shreyansh Jain , stable@dpdk.org To: Gavin Hu Return-path: In-Reply-To: <3b620acf-238c-1bf3-e31e-fefc3207b8c4@nxp.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 31/07/2018 15:52, Shreyansh Jain: > 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 Applied, thanks