linux-stable/drivers/net/ethernet/netronome
Jakub Kicinski 9b5655767c nfp: don't wait for resources indefinitely
There is currently no timeout to the resource and lock acquiring
loops.  We printed warnings and depended on user sending a signal
to the waiting process to stop the waiting.  This doesn't work
very well when wait happens out of a work queue.  The simplest
example of that is PCI probe.  When user loads the module and card
is in a broken state modprobe will wait forever and signals sent
to it will not actually reach the probing thread.

Make sure all wait loops have a time out.  Set the upper wait time
to 60 seconds to stay on the safe side.

Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-05-30 11:27:06 -04:00
..
nfp nfp: don't wait for resources indefinitely 2017-05-30 11:27:06 -04:00
Kconfig nfp: add MAY_USE_DEVLINK dependency 2017-05-30 11:27:03 -04:00
Makefile nfp: rename the driver and add new main file 2017-02-10 15:52:24 -05:00