Revision f879ee8d900fc78b5bc5d840edd9ecb57d02ab7e authored by Achiad Shochat on 04 June 2016, 12:15:37 UTC, committed by Doug Ledford on 07 June 2016, 14:03:50 UTC
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>
1 parent d3ae2bd
History
File Mode Size
Makefile -rw-r--r-- 386 bytes
hv_fcopy_daemon.c -rw-r--r-- 5.5 KB
hv_get_dhcp_info.sh -rwxr-xr-x 895 bytes
hv_get_dns_info.sh -rwxr-xr-x 622 bytes
hv_kvp_daemon.c -rw-r--r-- 36.1 KB
hv_set_ifconfig.sh -rwxr-xr-x 1.8 KB
hv_vss_daemon.c -rw-r--r-- 6.0 KB
lsvmbus -rw-r--r-- 3.4 KB

back to top