linux/drivers/net/ethernet/netronome/nfp
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
..
nfpcore nfp: don't wait for resources indefinitely 2017-05-30 11:27:06 -04:00
Makefile nfp: add hwmon support 2017-05-30 11:27:06 -04:00
nfp_app.c nfp: introduce very minimal nfp_app 2017-05-22 14:59:04 -04:00
nfp_app.h nfp: introduce very minimal nfp_app 2017-05-22 14:59:04 -04:00
nfp_asm.h nfp: add BPF to NFP code translator 2016-09-21 19:50:02 -04:00
nfp_bpf_jit.c nfp: replace -ENOTSUPP with -EOPNOTSUPP 2017-04-30 22:37:00 -04:00
nfp_bpf_verifier.c nfp: add support for offload of XDP programs 2016-11-04 14:56:16 -04:00
nfp_bpf.h bitfield.h: add FIELD_FIT() helper 2017-02-10 15:52:24 -05:00
nfp_devlink.c nfp: support port splitting via devlink 2017-05-26 11:01:49 -04:00
nfp_hwmon.c nfp: add hwmon support 2017-05-30 11:27:06 -04:00
nfp_main.c nfp: add hwmon support 2017-05-30 11:27:06 -04:00
nfp_main.h nfp: add hwmon support 2017-05-30 11:27:06 -04:00
nfp_net_common.c nfp: add set_mac_address support while the interface is up 2017-05-30 11:27:03 -04:00
nfp_net_ctrl.h nfp: add set_mac_address support while the interface is up 2017-05-30 11:27:03 -04:00
nfp_net_debugfs.c nfp: rename netdev/port to vNIC 2017-05-22 14:59:03 -04:00
nfp_net_ethtool.c nfp: refresh port state before reporting autonegotiation 2017-05-22 14:59:06 -04:00
nfp_net_main.c nfp: support port splitting via devlink 2017-05-26 11:01:49 -04:00
nfp_net_offload.c nfp: replace -ENOTSUPP with -EOPNOTSUPP 2017-04-30 22:37:00 -04:00
nfp_net.h nfp: move refresh tracking into the port structure 2017-05-22 14:59:05 -04:00
nfp_netvf_main.c nfp: rename netdev/port to vNIC 2017-05-22 14:59:03 -04:00
nfp_port.c nfp: support port splitting via devlink 2017-05-26 11:01:49 -04:00
nfp_port.h nfp: support port splitting via devlink 2017-05-26 11:01:49 -04:00