Lines Matching refs:out_port

21 		    hop->in_hop_index, regs->out_port, regs->next_hop);  in tb_dump_hop()
37 struct tb_port *port, *out_port = NULL; in tb_path_find_dst_port() local
57 out_port = &sw->ports[hop.out_port]; in tb_path_find_dst_port()
59 port = out_port->remote; in tb_path_find_dst_port()
62 return out_port && hopid == dst_hopid ? out_port : NULL; in tb_path_find_dst_port()
104 struct tb_port *out_port; in tb_path_discover() local
142 out_port = &sw->ports[hop.out_port]; in tb_path_discover()
144 *last = out_port; in tb_path_discover()
147 p = out_port->remote; in tb_path_discover()
183 out_port = &sw->ports[hop.out_port]; in tb_path_discover()
186 if (tb_port_alloc_out_hopid(out_port, next_hop, next_hop) < 0) { in tb_path_discover()
194 path->hops[i].out_port = out_port; in tb_path_discover()
198 p = out_port->remote; in tb_path_discover()
231 struct tb_port *in_port, *out_port; in tb_path_alloc() local
255 out_port = NULL; in tb_path_alloc()
258 in_port = tb_next_port_on_path(src, dst, out_port); in tb_path_alloc()
270 out_port = tb_next_port_on_path(src, dst, in_port); in tb_path_alloc()
271 if (!out_port) in tb_path_alloc()
274 if (out_port->dual_link_port && out_port->link_nr != link_nr) in tb_path_alloc()
275 out_port = out_port->dual_link_port; in tb_path_alloc()
278 ret = tb_port_alloc_out_hopid(out_port, dst_hopid, in tb_path_alloc()
281 ret = tb_port_alloc_out_hopid(out_port, -1, -1); in tb_path_alloc()
290 path->hops[i].out_port = out_port; in tb_path_alloc()
323 if (hop->out_port) in tb_path_free()
324 tb_port_release_out_hopid(hop->out_port, in tb_path_free()
420 tb_route(path->hops[path->path_length - 1].out_port->sw), in tb_path_deactivate()
421 path->hops[path->path_length - 1].out_port->port); in tb_path_deactivate()
448 tb_route(path->hops[path->path_length - 1].out_port->sw), in tb_path_activate()
449 path->hops[path->path_length - 1].out_port->port); in tb_path_activate()
481 hop.out_port = path->hops[i].out_port->port; in tb_path_activate()
533 if (path->hops[i].out_port->sw->is_unplugged) in tb_path_is_invalid()