Lines Matching refs:pi
77 ibt_hca_portinfo_t *pi;
118 &pi, &num_pi, &sz_pi);
131 ibt_free_portinfo(pi, sz_pi);
135 ss->ei_props->ep_sgid = pi->p_sgid_tbl[0];
136 ss->ei_props->ep_mtu = (128 << pi->p_mtu);
137 ibt_free_portinfo(pi, sz_pi);
174 ibt_hca_portinfo_t *pi;
190 &pi, &num_pi, &sz_pi);
191 if ((ret != IBT_SUCCESS) || (pi->p_linkstate != IBT_PORT_ACTIVE)) {
192 ibt_free_portinfo(pi, sz_pi);
201 itr = pi->p_init_type_reply;
209 if (bcmp(pi->p_sgid_tbl, &ss->ei_props->ep_sgid,
217 pi->p_sgid_tbl[0].gid_prefix,
218 pi->p_sgid_tbl[0].gid_guid);
220 ss->ei_props->ep_sgid = pi->p_sgid_tbl[0];
223 } else if (ss->ei_props->ep_blid != pi->p_base_lid) {
228 ss->ei_props->ep_blid, pi->p_base_lid);
230 ss->ei_props->ep_blid = pi->p_base_lid;
242 if (pi) {
243 ibt_free_portinfo(pi, sz_pi);