commit | 0e5ad75b02d9341eb9ca22627247f9a02cc20d6f | [log] [tgz] |
---|---|---|
author | Ioana Ciornei <ioana.ciornei@nxp.com> | Wed Jun 24 14:34:19 2020 +0300 |
committer | David S. Miller <davem@davemloft.net> | Thu Jun 25 16:03:39 2020 -0700 |
tree | d4a9eeb84a006026262d36b7fdb0e878270aafdf | |
parent | 37fbbdda63538f1bcebd566b75fa1865d30b6b19 [diff] |
dpaa2-eth: fix condition for number of buffer acquire retries We should keep retrying to acquire buffers through the software portals as long as the function returns -EBUSY and the number of retries is __below__ DPAA2_ETH_SWP_BUSY_RETRIES. Fixes: ef17bd7cc0c8 ("dpaa2-eth: Avoid unbounded while loops") Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com> Signed-off-by: David S. Miller <davem@davemloft.net>