net/mlx5: Fix arm SRQ command for ISSI version 0
authorNoa Osherovich <noaos@mellanox.com>
Sun, 30 Jul 2017 10:55:48 +0000 (13:55 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 20 Sep 2017 06:22:08 +0000 (08:22 +0200)
commit7ae1eccbde90e827633e31a397301d6c9053ed9c
treec7b52aac9ade519dd2150088740f8b7662a05ce5
parent0b6b3028c005985928687e2c705eef01b9b81bb9
net/mlx5: Fix arm SRQ command for ISSI version 0

[ Upstream commit 672d0880b7798a917bcc622308f25a0fbb991dab ]

Support for ISSI version 0 was recently broken as the arm_srq_cmd
command, which is used only for ISSI version 0, was given the opcode
for ISSI version 1 instead of ISSI version 0.

Change arm_srq_cmd to use the correct command opcode for ISSI version
0.

Fixes: af1ba291c5e4 ('{net, IB}/mlx5: Refactor internal SRQ API')
Signed-off-by: Noa Osherovich <noaos@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/ethernet/mellanox/mlx5/core/srq.c