diff options
author | Dmitry Kravkov <[email protected]> | 2013-08-19 09:11:57 +0300 |
---|---|---|
committer | David S. Miller <[email protected]> | 2013-08-20 00:21:47 -0700 |
commit | 07b4eb3b53f692a75fc0bc35c43345f331b7cca4 (patch) | |
tree | 24bfdbb54368860a976a16a161f1ce1077e7df71 /lib/mpi/mpi-bit.c | |
parent | 9156b30b33acaef9ce602fb31230154f13af4881 (diff) |
bnx2x: Change DCB context handling
After notification that DCBX configuration has ended arrived to the driver,
the driver configured the FW/HW in sleepless context.
As a result, it was possible to reach a race (mostly with CNIC registration)
in which the configuration will return a timeout, failing to set the DCBX
results correctly.
This patch moves the configuration following the DCBX end into the slowpath
RTNL task (i.e., sleepless context protected by the RTNL lock), allowing the
configuration to cope with such races.
Signed-off-by: Dmitry Kravkov <[email protected]>
Signed-off-by: Yuval Mintz <[email protected]>
Signed-off-by: Ariel Elior <[email protected]>
Signed-off-by: Eilon Greenstein <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions