]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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)
committerSaeed Mahameed <saeedm@mellanox.com>
Wed, 30 Aug 2017 18:20:42 +0000 (21:20 +0300)
commit672d0880b7798a917bcc622308f25a0fbb991dab
tree0f2ad5263d404fceb283538a27bfb21a243b59fa
parent9e10bf1d349787f373484d835efe2dbb5f9c5614
net/mlx5: Fix arm SRQ command for ISSI version 0

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>
drivers/net/ethernet/mellanox/mlx5/core/srq.c