summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/mellanox/mlx4/cmd.c
diff options
context:
space:
mode:
authorJack Morgenstein2015-01-27 14:58:03 +0100
committerDavid S. Miller2015-01-28 02:12:57 +0100
commit30a5da5b3301e386de99911fe6c1cd1aa37fb970 (patch)
treec3646a27eeab3a483b2bd7a886880ba338400237 /drivers/net/ethernet/mellanox/mlx4/cmd.c
parentnet/mlx4_core: Adjust command timeouts to conform to the firmware spec (diff)
downloadkernel-qcow2-linux-30a5da5b3301e386de99911fe6c1cd1aa37fb970.tar.gz
kernel-qcow2-linux-30a5da5b3301e386de99911fe6c1cd1aa37fb970.tar.xz
kernel-qcow2-linux-30a5da5b3301e386de99911fe6c1cd1aa37fb970.zip
net/mlx4_core: Fix HW2SW_EQ to conform to the firmware spec
The driver incorrectly assigned an out-mailbox to this command, and used an opcode modifier = 0, which is a reserved value (it should use opcode modifier = 1). Signed-off-by: Jack Morgenstein <jackm@dev.mellanox.co.il> Signed-off-by: Amir Vadai <amirv@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx4/cmd.c')
-rw-r--r--drivers/net/ethernet/mellanox/mlx4/cmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/mellanox/mlx4/cmd.c b/drivers/net/ethernet/mellanox/mlx4/cmd.c
index 2b48932855e7..928b7065732c 100644
--- a/drivers/net/ethernet/mellanox/mlx4/cmd.c
+++ b/drivers/net/ethernet/mellanox/mlx4/cmd.c
@@ -1221,7 +1221,7 @@ static struct mlx4_cmd_info cmd_info[] = {
{
.opcode = MLX4_CMD_HW2SW_EQ,
.has_inbox = false,
- .has_outbox = true,
+ .has_outbox = false,
.out_is_imm = false,
.encode_slave_id = true,
.verify = NULL,