summaryrefslogtreecommitdiff
path: root/include/rdma
diff options
context:
space:
mode:
authorAlex Estrin <alex.estrin@intel.com>2018-02-01 21:55:41 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-04-26 12:02:15 +0300
commitf63bb02694f08e94a50ae334d16b9908426655f7 (patch)
treef4426c189fad20f586349e040af653f6b4751de4 /include/rdma
parent8f96d408a9547e2a814562796c6f7fac3e839332 (diff)
downloadlinux-f63bb02694f08e94a50ae334d16b9908426655f7.tar.xz
IB/ipoib: Fix for potential no-carrier state
[ Upstream commit 1029361084d18cc270f64dfd39529fafa10cfe01 ] On reboot SM can program port pkey table before ipoib registered its event handler, which could result in missing pkey event and leave root interface with initial pkey value from index 0. Since OPA port starts with invalid pkey in index 0, root interface will fail to initialize and stay down with no-carrier flag. For IB ipoib interface may end up with pkey different from value opensm put in pkey table idx 0, resulting in connectivity issues (different mcast groups, for example). Close the window by calling event handler after registration to make sure ipoib pkey is in sync with port pkey table. Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com> Reviewed-by: Ira Weiny <ira.weiny@intel.com> Signed-off-by: Alex Estrin <alex.estrin@intel.com> Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com> Signed-off-by: Sasha Levin <alexander.levin@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/rdma')
0 files changed, 0 insertions, 0 deletions