diff options
author | Eugenia Emantayev <eugenia@mellanox.co.il> | 2012-03-18 04:32:08 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-03-19 22:02:05 (GMT) |
commit | 58a3de0592454c216c68427fa3c31a34823f5115 (patch) | |
tree | 0db88951509d01bb815e3357aafd41ba9ef2ee0e /drivers/net/dsa | |
parent | 1c3ac4289a0e4d60cbd4787b4a91de4a0c785df1 (diff) | |
download | linux-fsl-qoriq-58a3de0592454c216c68427fa3c31a34823f5115.tar.xz |
mlx4_core: fix race on comm channel
Prevent race condition between commands on comm channel.
Happened while unloading the driver when switching from
event to polling mode. VF got completion on the last command
before switching to polling mode, but toggle was not changed.
After the fix - VF will not write the next command before
toggle is updated.
Signed-off-by: Eugenia Emantayev <eugenia@mellanox.co.il>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/dsa')
0 files changed, 0 insertions, 0 deletions