Lines Matching defs:lid
57 int lid;
65 mad_decode_field(portinfo, IB_PORT_SMLID_F, &lid);
67 return ib_portid_set(sm_id, lid, 0, 0);
92 if ((portid->lid = ib_path_query_via(srcport, portid->gid, portid->gid, sm_id, buf)) < 0)
102 int lid;
109 lid = strtol(addr_str, 0, 0);
110 if (!IB_LID_VALID(lid))
112 return ib_portid_set(portid, lid, 0, 0);
127 lid = strtol(addr_str, &routepath, 0);
129 if (!IB_LID_VALID(lid))
131 ib_portid_set(portid, lid, 0, 0);
133 /* handle DR parsing and set DrSLID to local lid */
136 if (str2drpath(&portid->drpath, routepath, selfportid.lid, 0) < 0)
169 mad_decode_field(portinfo, IB_PORT_LID_F, &portid->lid);