diff options
-rw-r--r-- | drivers/net/mlx4/cmd.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/net/mlx4/cmd.c b/drivers/net/mlx4/cmd.c index b540820e9c25..db49051b97b1 100644 --- a/drivers/net/mlx4/cmd.c +++ b/drivers/net/mlx4/cmd.c | |||
@@ -184,6 +184,13 @@ static int mlx4_cmd_post(struct mlx4_dev *dev, u64 in_param, u64 out_param, | |||
184 | (event ? (1 << HCR_E_BIT) : 0) | | 184 | (event ? (1 << HCR_E_BIT) : 0) | |
185 | (op_modifier << HCR_OPMOD_SHIFT) | | 185 | (op_modifier << HCR_OPMOD_SHIFT) | |
186 | op), hcr + 6); | 186 | op), hcr + 6); |
187 | |||
188 | /* | ||
189 | * Make sure that our HCR writes don't get mixed in with | ||
190 | * writes from another CPU starting a FW command. | ||
191 | */ | ||
192 | mmiowb(); | ||
193 | |||
187 | cmd->toggle = cmd->toggle ^ 1; | 194 | cmd->toggle = cmd->toggle ^ 1; |
188 | 195 | ||
189 | ret = 0; | 196 | ret = 0; |