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>
Thu, 1 Oct 2015 10:07:34 +0000 (12:07 +0200)
commit2698f5747a861bc1ecfb35b08ffa3ffabc91a77f
tree5f9dab118436f93028d786fba5ceaae089349a3e
parenta6d452e0f3d91f697b90650f21fb540c13d55b44
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