Lines Matching refs:port
55 umad_port_t port;
60 ret = umad_get_port(srcport->ca_name, srcport->portnum, &port);
64 if (!IB_LID_VALID(port.sm_lid)) {
68 sm_id->sl = port.sm_sl;
70 ret = ib_portid_set(sm_id, port.sm_lid, 0, 0);
71 umad_release_port(&port);
110 umad_port_t port;
120 if (umad_get_port(srcport->ca_name, srcport->portnum, &port))
123 mad_set_field64(selfgid, 0, IB_GID_PREFIX_F, ntohll(port.gid_prefix));
124 mad_set_field64(selfgid, 0, IB_GID_GUID_F, ntohll(port.port_guid));
125 umad_release_port(&port);