]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
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)
committerZefan Li <lizefan@huawei.com>
Wed, 27 Apr 2016 10:55:16 +0000 (18:55 +0800)
commite8dae252c50857f01f1916cf9296542c91133d73
tree73db18f330ab868f8558e1f696ac83a0764c15bd
parent84c2e63639a79e81cbe82e9f7c5a958cc39f0abd
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: Zefan Li <lizefan@huawei.com>
drivers/infiniband/hw/mlx4/ah.c