Lines Matching refs:ingress
24 static int ocelot_chain_to_block(int chain, bool ingress) in ocelot_chain_to_block() argument
28 if (!ingress) { in ocelot_chain_to_block()
72 bool ingress) in ocelot_is_goto_target_valid() argument
77 if (!ingress) in ocelot_is_goto_target_valid()
146 bool ingress, struct flow_cls_offload *f, in ocelot_flower_parse_action() argument
162 filter->block_id = ocelot_chain_to_block(chain, ingress); in ocelot_flower_parse_action()
359 if (!ocelot_is_goto_target_valid(filter->goto_target, chain, ingress) && in ocelot_flower_parse_action()
420 ocelot_flower_parse_key(struct ocelot *ocelot, int port, bool ingress, in ocelot_flower_parse_key() argument
444 if (!ingress) { in ocelot_flower_parse_key()
618 static int ocelot_flower_parse(struct ocelot *ocelot, int port, bool ingress, in ocelot_flower_parse() argument
627 ret = ocelot_flower_parse_action(ocelot, port, ingress, f, filter); in ocelot_flower_parse()
631 return ocelot_flower_parse_key(ocelot, port, ingress, f, filter); in ocelot_flower_parse()
635 *ocelot_vcap_filter_create(struct ocelot *ocelot, int port, bool ingress, in ocelot_vcap_filter_create() argument
644 if (ingress) { in ocelot_vcap_filter_create()
675 struct flow_cls_offload *f, bool ingress) in ocelot_cls_flower_replace() argument
687 filter = ocelot_vcap_filter_create(ocelot, port, ingress, f); in ocelot_cls_flower_replace()
691 ret = ocelot_flower_parse(ocelot, port, ingress, f, filter); in ocelot_cls_flower_replace()
708 struct flow_cls_offload *f, bool ingress) in ocelot_cls_flower_destroy() argument
714 block_id = ocelot_chain_to_block(f->common.chain_index, ingress); in ocelot_cls_flower_destroy()
732 struct flow_cls_offload *f, bool ingress) in ocelot_cls_flower_stats() argument
738 block_id = ocelot_chain_to_block(f->common.chain_index, ingress); in ocelot_cls_flower_stats()