Lines Matching defs:ingress
24 static int ocelot_chain_to_block(int chain, bool ingress)
28 if (!ingress) {
86 bool ingress)
91 if (!ingress)
160 bool ingress, struct flow_cls_offload *f,
176 filter->block_id = ocelot_chain_to_block(chain, ingress);
374 if (!ocelot_is_goto_target_valid(filter->goto_target, chain, ingress) &&
401 NL_SET_ERR_MSG_MOD(extack, "Unsupported ingress ifindex mask");
412 "Can't find the ingress port to match on");
419 "Can only offload an ocelot ingress port");
435 ocelot_flower_parse_key(struct ocelot *ocelot, int port, bool ingress,
458 /* For VCAP ES0 (egress rewriter) we can match on the ingress port */
459 if (!ingress) {
635 static int ocelot_flower_parse(struct ocelot *ocelot, int port, bool ingress,
644 ret = ocelot_flower_parse_action(ocelot, port, ingress, f, filter);
648 return ocelot_flower_parse_key(ocelot, port, ingress, f, filter);
652 *ocelot_vcap_filter_create(struct ocelot *ocelot, int port, bool ingress,
661 if (ingress) {
692 struct flow_cls_offload *f, bool ingress)
704 filter = ocelot_vcap_filter_create(ocelot, port, ingress, f);
708 ret = ocelot_flower_parse(ocelot, port, ingress, f, filter);
725 struct flow_cls_offload *f, bool ingress)
731 block_id = ocelot_chain_to_block(f->common.chain_index, ingress);
749 struct flow_cls_offload *f, bool ingress)
755 block_id = ocelot_chain_to_block(f->common.chain_index, ingress);