Lines Matching refs:goto_target
71 static bool ocelot_is_goto_target_valid(int goto_target, int chain, in ocelot_is_goto_target_valid() argument
78 return (goto_target < 0); in ocelot_is_goto_target_valid()
83 return (goto_target == VCAP_IS1_CHAIN(0) || in ocelot_is_goto_target_valid()
84 goto_target == VCAP_IS1_CHAIN(1) || in ocelot_is_goto_target_valid()
85 goto_target == VCAP_IS1_CHAIN(2) || in ocelot_is_goto_target_valid()
86 goto_target == VCAP_IS2_CHAIN(0, 0) || in ocelot_is_goto_target_valid()
87 goto_target == VCAP_IS2_CHAIN(1, 0)); in ocelot_is_goto_target_valid()
90 return (goto_target == VCAP_IS1_CHAIN(1)); in ocelot_is_goto_target_valid()
93 return (goto_target == VCAP_IS1_CHAIN(2)); in ocelot_is_goto_target_valid()
101 if (goto_target == VCAP_IS2_CHAIN(0, pag)) in ocelot_is_goto_target_valid()
112 return (goto_target == VCAP_IS2_CHAIN(1, pag)); in ocelot_is_goto_target_valid()
134 filter->goto_target == chain) in ocelot_find_vcap_filter_that_points_at()
139 if (filter->goto_target == chain) in ocelot_find_vcap_filter_that_points_at()
172 filter->goto_target = -1; in ocelot_flower_parse_action()
183 if (filter->goto_target != -1) { in ocelot_flower_parse_action()
200 if (filter->goto_target != -1) { in ocelot_flower_parse_action()
218 if (filter->goto_target != -1) { in ocelot_flower_parse_action()
240 if (filter->goto_target != -1) { in ocelot_flower_parse_action()
261 if (filter->goto_target != -1) { in ocelot_flower_parse_action()
281 if (filter->goto_target != -1) { in ocelot_flower_parse_action()
303 if (filter->goto_target != -1) { in ocelot_flower_parse_action()
313 filter->goto_target = a->chain_index; in ocelot_flower_parse_action()
316 int pag = ocelot_chain_to_pag(filter->goto_target); in ocelot_flower_parse_action()
354 if (filter->goto_target == -1) { in ocelot_flower_parse_action()
364 if (!ocelot_is_goto_target_valid(filter->goto_target, chain, ingress) && in ocelot_flower_parse_action()