diff options
author | Achiad Shochat <achiad@mellanox.com> | 2016-06-04 15:15:37 +0300 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2016-06-07 10:03:50 -0400 |
commit | f879ee8d900fc78b5bc5d840edd9ecb57d02ab7e (patch) | |
tree | 8885a27e863cca17cf83ae054233600363ba7642 /scripts/mkversion | |
parent | d3ae2bdeba9bad8cb95301451aeaf03ce31e82f0 (diff) |
IB/mlx5: Fix alternate path code
Userspace flag IBV_QP_ALT_PATH is supposed to set the alternate path
including fields alt_pkey_index and alt_timeout.
Added IB_QP_PKEY_INDEX and IB_QP_TIMEOUT to the attribute mask when
calling mlx5_set_path for the alternate path to force setting the
alt_pkey_index and alt_timeout values.
Fixes: bf24481a3a7c4 ('IB/mlx5: Consider alternate path in pkey ...')
Signed-off-by: Achiad Shochat <achiad@mellanox.com>
Signed-off-by: Noa Osherovich <noaos@mellanox.com>
Reviewed-by: Jack Morgenstein <jackm@dev.mellanox.co.il>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'scripts/mkversion')
0 files changed, 0 insertions, 0 deletions