aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/freescale/dpaa2/Makefile
diff options
context:
space:
mode:
authorIoana Radulescu <ruxandra.radulescu@nxp.com>2019-10-07 14:38:28 +0300
committerDavid S. Miller <davem@davemloft.net>2019-10-07 10:08:09 -0400
commitef17bd7cc0c8bb14ea532fb66a708b02c5a4297e (patch)
tree52dccd870803855a4b530a6a7eb778bb97584ad3 /drivers/net/ethernet/freescale/dpaa2/Makefile
parentdpaa2-eth: Fix minor bug in ethtool stats reporting (diff)
downloadlinux-dev-ef17bd7cc0c8bb14ea532fb66a708b02c5a4297e.tar.xz
linux-dev-ef17bd7cc0c8bb14ea532fb66a708b02c5a4297e.zip
dpaa2-eth: Avoid unbounded while loops
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 module may become unresponsive in various corner cases. Make sure we can never get stuck in an infinite while loop by adding a retry counter for all portal commands. Signed-off-by: Ioana Radulescu <ruxandra.radulescu@nxp.com> Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/freescale/dpaa2/Makefile')
0 files changed, 0 insertions, 0 deletions