]> git.karo-electronics.de Git - linux-beck.git/commit
IB/mlx4: Set traffic class in AH
authorMaor Gottlieb <maorg@mellanox.com>
Thu, 10 Nov 2016 09:30:53 +0000 (11:30 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 26 Jan 2017 07:24:35 +0000 (08:24 +0100)
commit970f6806c2b17054ab47cfa0751d8e4150a92c1f
tree343a8d507a4a439052d15ba6848c4f76f7b1e721
parent0d64860aa6389e4cd23da3ef1eb648fbeded1060
IB/mlx4: Set traffic class in AH

commit af4295c117b82a521b05d0daf39ce879d26e6cb1 upstream.

Set traffic class within sl_tclass_flowlabel when create iboe AH.
Without this the TOS value will be empty when running VLAN tagged
traffic, because the TOS value is taken from the traffic class in the
address handle attributes.

Fixes: 9106c4106974 ('IB/mlx4: Fix SL to 802.1Q priority-bits mapping for IBoE')
Signed-off-by: Maor Gottlieb <maorg@mellanox.com>
Signed-off-by: Daniel Jurgens <danielj@mellanox.com>
Reviewed-by: Mark Bloch <markb@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/infiniband/hw/mlx4/ah.c