Lines Matching refs:gate_mpath
98 struct mesh_path *gate_mpath) in prepare_for_gate() argument
130 next_hop = rcu_dereference(gate_mpath->next_hop)->sta.addr; in prepare_for_gate()
133 memcpy(hdr->addr2, gate_mpath->sdata->vif.addr, ETH_ALEN); in prepare_for_gate()
154 static void mesh_path_move_to_queue(struct mesh_path *gate_mpath, in mesh_path_move_to_queue() argument
162 if (WARN_ON(gate_mpath == from_mpath)) in mesh_path_move_to_queue()
164 if (WARN_ON(!gate_mpath->next_hop)) in mesh_path_move_to_queue()
174 if (skb_queue_len(&gate_mpath->frame_queue) >= in mesh_path_move_to_queue()
176 mpath_dbg(gate_mpath->sdata, "mpath queue full!\n"); in mesh_path_move_to_queue()
184 prepare_for_gate(skb, gate_mpath->dst, gate_mpath); in mesh_path_move_to_queue()
185 skb_queue_tail(&gate_mpath->frame_queue, skb); in mesh_path_move_to_queue()
194 mpath_dbg(gate_mpath->sdata, "Mpath queue for gate %pM has %d frames\n", in mesh_path_move_to_queue()
195 gate_mpath->dst, skb_queue_len(&gate_mpath->frame_queue)); in mesh_path_move_to_queue()