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)
committerBen Hutchings <ben@decadent.org.uk>
Tue, 13 Oct 2015 02:46:07 +0000 (03:46 +0100)
commit9421b777b8631dc79364c893e495a30e50ada77f
tree98b3628ec7aa857c0e251c88a067c848abc60275
parent9434e4855e90d2af3751cd93b47b4a3e40bc2dc1
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: Ben Hutchings <ben@decadent.org.uk>
drivers/infiniband/hw/mlx4/ah.c