Lines Matching refs:to
4 * This software is available to you under a choice of one of two
5 * licenses. You may choose to be licensed under the terms of the GNU
172 DEBUG("portid %s: forward lid %d to port %d",
244 find_route(ib_portid_t *from, ib_portid_t *to, int dump)
255 get_node(&tonode, &toport, to) < 0) {
256 IBWARN("can't reach to/from ports");
259 if (to->lid > 0)
260 toport.lid = to->lid;
261 IBWARN("Force: look for lid %d", to->lid);
280 if ((outport = switch_lookup(&sw, from, to->lid)) < 0 ||
307 /* we are at CA or router "from" - go one hop back to (hopefully) a switch */
320 /* fix port num to be seen from the CA or router side */
349 clean_nodedesc(node->nodedesc), to->lid, outport, sw.linearFDBtop);
472 VERBOSE("Switch guid 0x%" PRIx64 ": mlid 0x%x is forwarded to port %d",
509 IBWARN("ibtracert from CA to CA is unsupported");
510 return 0; /* ibtracert from host to itself is unsupported */
618 find_target_portguid(ib_portid_t *to)
623 if (get_node(&tonode, &toport, to) < 0) {
624 IBWARN("can't find to port\n");
838 /* first find a direct path to the src port */
840 IBERROR("can't find a route to the src port");
847 IBERROR("can't find a route from src to dest");
858 IBERROR("can't find a multicast route from src to dest");