linux/drivers/infiniband/ulp/ipoib
Alex Estrin 1029361084 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 <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>
2018-02-01 15:43:31 -07:00
..
ipoib_cm.c Linux 4.15 2018-01-30 09:30:00 -07:00
ipoib_ethtool.c RDMA/core: Rename kernel modify_cq to better describe its usage 2017-11-13 16:59:22 -05:00
ipoib_fs.c IB/SA: Add OPA path record type 2017-05-01 14:39:02 -04:00
ipoib_ib.c IB/ipoib: Fix for notify send CQ failure messages 2018-01-03 10:38:07 -07:00
ipoib_main.c IB/ipoib: Fix for potential no-carrier state 2018-02-01 15:43:31 -07:00
ipoib_multicast.c IB/ipoib: Fix race condition in neigh creation 2018-01-02 11:09:05 -07:00
ipoib_netlink.c net: add netlink_ext_ack argument to rtnl_link_ops.changelink 2017-06-26 23:13:22 -04:00
ipoib_verbs.c IB/ipoib: Replace printk with pr_warn 2017-12-11 16:19:43 -07:00
ipoib_vlan.c IB/ipoib: Fix inconsistency with free_netdev and free_rdma_netdev 2017-09-25 11:47:24 -04:00
ipoib.h IB/ipoib: Change number of TX wqe to 64 2017-10-25 13:36:50 -04:00
Kconfig kconfig: rename CONFIG_EMBEDDED to CONFIG_EXPERT 2011-01-20 17:02:05 -08:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00