> > It seems that if I want to get a list of (say) all the HCA port 2s in > the network, I have to do a get table query of the SA PortInfoRecord > with component mask set so that I get ports with LocalPortNumber 2, > and then filter out switch ports (since the port number field in the > RID is not defined for HCA ports). Do you think this is really what > was intended? [EZ] Hi Roland,
What you have to do to get the HCA ports PortInfo is: 1. Get all NodeInfoRecord for node_type == HCA: comp_mask = 0x5 2. For each such node send a PortInfoRecord query by the port number: comp_mask = 0x33 PortInfoRecord *p_pir; p_pir->lid = lid_no; p_pir->port_num = port_num; Do GetTable(p_pir) _______________________________________________ openib-general mailing list [email protected] http://openib.org/mailman/listinfo/openib-general To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general
