Searched hist:"58 a3de0592454c216c68427fa3c31a34823f5115" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/net/ethernet/mellanox/mlx4/ |
H A D | cmd.c | diff 58a3de0592454c216c68427fa3c31a34823f5115 Sat Mar 17 23:32:08 CDT 2012 Eugenia Emantayev <eugenia@mellanox.co.il> 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>
|