Message ID | 1391425516-14462-4-git-send-email-alexne@mellanox.com (mailing list archive) |
---|---|
State | Accepted |
Delegated to: | Hal Rosenstock |
Headers | show |
On 2/3/2014 6:05 AM, Alex Netes wrote: > SM may miss switch reboot because of a long sweep. In that case it won't > reread pkey tables from Switch Port 0. > > Signed-off-by: Alex Netes <alexne@mellanox.com> Thanks. Applied. -- Hal -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/opensm/osm_port_info_rcv.c b/opensm/osm_port_info_rcv.c index d813f1a..eb68dbf 100644 --- a/opensm/osm_port_info_rcv.c +++ b/opensm/osm_port_info_rcv.c @@ -796,7 +796,8 @@ void osm_pi_rcv_process(IN void *context, IN void *data) /* Get the tables on the physp. */ - if (p_physp->need_update) + if (p_physp->need_update || (p_node->sw && + p_node->sw->need_update)) pi_rcv_get_pkey_slvl_vla_tables(sm, p_node, p_physp); }
SM may miss switch reboot because of a long sweep. In that case it won't reread pkey tables from Switch Port 0. Signed-off-by: Alex Netes <alexne@mellanox.com> --- opensm/osm_port_info_rcv.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)