Message ID | 1270833890.17987.16.camel@auk31.llnl.gov (mailing list archive) |
---|---|
State | Not Applicable, archived |
Headers | show |
diff --git a/infiniband-diags/libibnetdisc/src/ibnetdisc_cache.c b/infiniband-diags/libibnetdisc/src/ibnetdisc_cache.c index d94b85a..9cd5981 100644 --- a/infiniband-diags/libibnetdisc/src/ibnetdisc_cache.c +++ b/infiniband-diags/libibnetdisc/src/ibnetdisc_cache.c @@ -501,6 +501,10 @@ static int _fill_port(ibnd_fabric_cache_t * fabric_cache, ibnd_node_t * node, node->ports[port_cache->port->portnum] = port_cache->port; + /* achu: needed if user wishes to re-cache a loaded fabric. + * Otherwise, mostly unnecessary to do this. + */ + add_to_portguid_hash(port_cache->port, fabric_cache->fabric->portstbl); return 0; }