Lines Matching refs:goto_target
92 static bool ocelot_is_goto_target_valid(int goto_target, int chain, in ocelot_is_goto_target_valid() argument
99 return (goto_target < 0); in ocelot_is_goto_target_valid()
104 return (goto_target == VCAP_IS1_CHAIN(0) || in ocelot_is_goto_target_valid()
105 goto_target == VCAP_IS1_CHAIN(1) || in ocelot_is_goto_target_valid()
106 goto_target == VCAP_IS1_CHAIN(2) || in ocelot_is_goto_target_valid()
107 goto_target == VCAP_IS2_CHAIN(0, 0) || in ocelot_is_goto_target_valid()
108 goto_target == VCAP_IS2_CHAIN(1, 0) || in ocelot_is_goto_target_valid()
109 goto_target == OCELOT_PSFP_CHAIN); in ocelot_is_goto_target_valid()
112 return (goto_target == VCAP_IS1_CHAIN(1)); in ocelot_is_goto_target_valid()
115 return (goto_target == VCAP_IS1_CHAIN(2)); in ocelot_is_goto_target_valid()
123 if (goto_target == VCAP_IS2_CHAIN(0, pag)) in ocelot_is_goto_target_valid()
134 return (goto_target == VCAP_IS2_CHAIN(1, pag)); in ocelot_is_goto_target_valid()
139 return (goto_target == OCELOT_PSFP_CHAIN); in ocelot_is_goto_target_valid()
160 filter->goto_target == chain) in ocelot_find_vcap_filter_that_points_at()
165 if (filter->goto_target == chain) in ocelot_find_vcap_filter_that_points_at()
179 if (filter->goto_target != -1) { in ocelot_flower_parse_ingress_vlan_modify()
260 filter->goto_target = -1; in ocelot_flower_parse_action()
271 if (filter->goto_target != -1) { in ocelot_flower_parse_action()
291 filter->goto_target != -1) { in ocelot_flower_parse_action()
305 if (filter->goto_target != -1) { in ocelot_flower_parse_action()
328 if (filter->goto_target != -1) { in ocelot_flower_parse_action()
364 if (filter->goto_target != -1) { in ocelot_flower_parse_action()
385 if (filter->goto_target != -1) { in ocelot_flower_parse_action()
406 if (filter->goto_target != -1) { in ocelot_flower_parse_action()
442 if (filter->goto_target != -1) { in ocelot_flower_parse_action()
452 filter->goto_target = a->chain_index; in ocelot_flower_parse_action()
455 int pag = ocelot_chain_to_pag(filter->goto_target); in ocelot_flower_parse_action()
501 if (filter->goto_target == -1) { in ocelot_flower_parse_action()
511 if (!ocelot_is_goto_target_valid(filter->goto_target, chain, ingress) && in ocelot_flower_parse_action()