summaryrefslogtreecommitdiff
path: root/drivers/net/geneve.c
diff options
context:
space:
mode:
authorTomer Tayar <Tomer.Tayar@cavium.com>2018-08-20 00:01:44 +0300
committerDavid S. Miller <davem@davemloft.net>2018-08-20 21:34:39 +0300
commiteaa50fc59e5841910987e90b0438b2643041f508 (patch)
treec30440909fcbfd1a3712ebcfb18946867cd50423 /drivers/net/geneve.c
parent76271809f49056f079e202bf6513d17b0d6dd34d (diff)
downloadlinux-eaa50fc59e5841910987e90b0438b2643041f508.tar.xz
qed: Prevent a possible deadlock during driver load and unload
The MFW manages an internal lock to prevent concurrent hardware (de)initialization of different PFs. This, together with the busy-waiting for the MFW's responses for commands, might lead to a deadlock during concurrent load or unload of PFs. This patch adds the option to sleep within the busy-waiting, and uses it for the (un)load requests (which are not sent from an interrupt context) to prevent the possible deadlock. Signed-off-by: Tomer Tayar <Tomer.Tayar@cavium.com> Signed-off-by: Ariel Elior <Ariel.Elior@cavium.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/geneve.c')
0 files changed, 0 insertions, 0 deletions