Lines Matching defs:src_hopid
34 static struct tb_port *tb_path_find_dst_port(struct tb_port *src, int src_hopid,
42 hopid = src_hopid;
83 * @src_hopid: Starting HopID of a path (%-1 if don't care)
90 * Follows a path starting from @src and @src_hopid to the last output
101 struct tb_path *tb_path_discover(struct tb_port *src, int src_hopid,
114 if (src_hopid < 0 && dst) {
122 src_hopid = tb_path_find_src_hopid(src, dst, dst_hopid);
123 if (!src_hopid)
128 h = src_hopid;
173 h = src_hopid;
215 src_hopid);
224 * @src_hopid: HopID used for the first ingress port in the path
230 * Creates path between two ports starting with given @src_hopid. Reserves
231 * HopIDs for each port (they can be different from @src_hopid depending on
238 struct tb_path *tb_path_alloc(struct tb *tb, struct tb_port *src, int src_hopid,
278 in_hopid = src_hopid;