IB/mlx4: Use correct SL on AH query under RoCE
authorNoa Osherovich <noaos@mellanox.com>
Thu, 30 Jul 2015 14:34:24 +0000 (17:34 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 29 Sep 2015 17:26:18 +0000 (19:26 +0200)
commitc6632eb0bba08cb911f19ef3a96ff7df346c80ae
treee5b782f8ee5081a74281d8b93ee6bc443c0d2bd0
parent6c634f2d7447b3056f69c4c6442e5eeef839a441
IB/mlx4: Use correct SL on AH query under RoCE

commit 5e99b139f1b68acd65e36515ca347b03856dfb5a upstream.

The mlx4 IB driver implementation for ib_query_ah used a wrong offset
(28 instead of 29) when link type is Ethernet. Fixed to use the correct one.

Fixes: fa417f7b520e ('IB/mlx4: Add support for IBoE')
Signed-off-by: Shani Michaeli <shanim@mellanox.com>
Signed-off-by: Noa Osherovich <noaos@mellanox.com>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/infiniband/hw/mlx4/ah.c