Lines Matching defs:ingress
28 static int ocelot_chain_to_block(int chain, bool ingress)
32 if (!ingress) {
93 bool ingress)
98 if (!ingress)
232 bool ingress, struct flow_cls_offload *f,
250 filter->block_id = ocelot_chain_to_block(chain, ingress);
511 if (!ocelot_is_goto_target_valid(filter->goto_target, chain, ingress) &&
538 NL_SET_ERR_MSG_MOD(extack, "Unsupported ingress ifindex mask");
549 "Can't find the ingress port to match on");
556 "Can only offload an ocelot ingress port");
572 ocelot_flower_parse_key(struct ocelot *ocelot, int port, bool ingress,
605 /* For VCAP ES0 (egress rewriter) we can match on the ingress port */
606 if (!ingress) {
782 static int ocelot_flower_parse(struct ocelot *ocelot, int port, bool ingress,
792 ret = ocelot_flower_parse_action(ocelot, port, ingress, f, filter);
800 return ocelot_flower_parse_key(ocelot, port, ingress, f, filter);
804 *ocelot_vcap_filter_create(struct ocelot *ocelot, int port, bool ingress,
813 if (ingress) {
869 struct flow_cls_offload *f, bool ingress)
881 block_id = ocelot_chain_to_block(chain, ingress);
891 if (!ingress) {
902 filter = ocelot_vcap_filter_create(ocelot, port, ingress, f);
906 ret = ocelot_flower_parse(ocelot, port, ingress, f, filter);
938 struct flow_cls_offload *f, bool ingress)
944 block_id = ocelot_chain_to_block(f->common.chain_index, ingress);
964 if (ingress) {
975 struct flow_cls_offload *f, bool ingress)
982 block_id = ocelot_chain_to_block(f->common.chain_index, ingress);