RE: [PATCH 3/3] dpaa2-eth: Avoid unbounded while loops

2019-10-07 Thread Ioana Ciornei
> Subject: Re: [PATCH 3/3] dpaa2-eth: Avoid unbounded while loops > > On Fri, Oct 04, 2019 at 12:21:33PM +0300, Ioana Ciornei wrote: > > From: Ioana Radulescu > > > > Throughout the driver there are several places where we wait > > indefinitely for DPIO portal c

Re: [PATCH 3/3] dpaa2-eth: Avoid unbounded while loops

2019-10-04 Thread Andrew Lunn
On Fri, Oct 04, 2019 at 12:21:33PM +0300, Ioana Ciornei wrote: > From: Ioana Radulescu > > Throughout the driver there are several places where we wait > indefinitely for DPIO portal commands to be executed, while > the portal returns a busy response code. > > Even though in theory we are guaran

[PATCH 3/3] dpaa2-eth: Avoid unbounded while loops

2019-10-04 Thread Ioana Ciornei
From: Ioana Radulescu Throughout the driver there are several places where we wait indefinitely for DPIO portal commands to be executed, while the portal returns a busy response code. Even though in theory we are guaranteed the portals become available eventually, in practice the QBMan hardware