diff options
author | Alex Estrin <[email protected]> | 2018-02-01 10:55:41 -0800 |
---|---|---|
committer | Jason Gunthorpe <[email protected]> | 2018-02-01 15:43:31 -0700 |
commit | 1029361084d18cc270f64dfd39529fafa10cfe01 (patch) | |
tree | f5d35e3c2493f5e28ad4f82df5b4ca641d152fa1 /net/unix/sysctl_net_unix.c | |
parent | b5de809ef6f6c32cfbbf0da14ed11b0fdc0888f8 (diff) |
IB/ipoib: Fix for potential no-carrier state
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 <[email protected]>
Reviewed-by: Ira Weiny <[email protected]>
Signed-off-by: Alex Estrin <[email protected]>
Signed-off-by: Dennis Dalessandro <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions