On Thu, Feb 01, 2018 at 10:55:41AM -0800, Dennis Dalessandro wrote: > From: Alex Estrin <alex.estrin@xxxxxxxxx> > > 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@xxxxxxxxx> > Reviewed-by: Ira Weiny <ira.weiny@xxxxxxxxx> > Signed-off-by: Alex Estrin <alex.estrin@xxxxxxxxx> > Signed-off-by: Dennis Dalessandro <dennis.dalessandro@xxxxxxxxx> > drivers/infiniband/ulp/ipoib/ipoib_main.c | 3 +++ > 1 files changed, 3 insertions(+), 0 deletions(-) Seemed liked Doug was Ok with the explanation, so applied to for-next Jason -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html