Lines Matching refs:block_id
123 int block_id; in ocelot_find_vcap_filter_that_points_at() local
125 block_id = ocelot_chain_to_block(chain, true); in ocelot_find_vcap_filter_that_points_at()
126 if (block_id < 0) in ocelot_find_vcap_filter_that_points_at()
129 if (block_id == VCAP_IS2) { in ocelot_find_vcap_filter_that_points_at()
162 filter->block_id = ocelot_chain_to_block(chain, ingress); in ocelot_flower_parse_action()
163 if (filter->block_id < 0) { in ocelot_flower_parse_action()
167 if (filter->block_id == VCAP_IS1 || filter->block_id == VCAP_IS2) in ocelot_flower_parse_action()
169 if (filter->block_id == VCAP_IS2) in ocelot_flower_parse_action()
178 if (filter->block_id != VCAP_IS2) { in ocelot_flower_parse_action()
195 if (filter->block_id != VCAP_IS2) { in ocelot_flower_parse_action()
212 if (filter->block_id != VCAP_IS2 || in ocelot_flower_parse_action()
230 if (filter->block_id != VCAP_IS2) { in ocelot_flower_parse_action()
251 if (filter->block_id != VCAP_IS1) { in ocelot_flower_parse_action()
271 if (filter->block_id != VCAP_IS1) { in ocelot_flower_parse_action()
293 if (filter->block_id != VCAP_IS1) { in ocelot_flower_parse_action()
310 if (filter->block_id == VCAP_IS1 && filter->lookup == 2) { in ocelot_flower_parse_action()
319 if (filter->block_id != VCAP_ES0) { in ocelot_flower_parse_action()
350 if ((filter->block_id == VCAP_IS2 && filter->lookup == 1) || in ocelot_flower_parse_action()
459 if (filter->block_id == VCAP_ES0) { in ocelot_flower_parse_key()
465 if (filter->block_id == VCAP_IS1 && in ocelot_flower_parse_key()
503 if (filter->block_id == VCAP_ES0) { in ocelot_flower_parse_key()
517 if (filter->block_id == VCAP_ES0) { in ocelot_flower_parse_key()
537 if (filter->block_id == VCAP_ES0) { in ocelot_flower_parse_key()
543 if (filter->block_id == VCAP_IS1 && *(u32 *)&match.mask->dst) { in ocelot_flower_parse_key()
572 if (filter->block_id == VCAP_ES0) { in ocelot_flower_parse_key()
600 if (filter->block_id == VCAP_ES0) { in ocelot_flower_parse_key()
712 int block_id; in ocelot_cls_flower_destroy() local
714 block_id = ocelot_chain_to_block(f->common.chain_index, ingress); in ocelot_cls_flower_destroy()
715 if (block_id < 0) in ocelot_cls_flower_destroy()
718 block = &ocelot->block[block_id]; in ocelot_cls_flower_destroy()
736 int block_id, ret; in ocelot_cls_flower_stats() local
738 block_id = ocelot_chain_to_block(f->common.chain_index, ingress); in ocelot_cls_flower_stats()
739 if (block_id < 0) in ocelot_cls_flower_stats()
742 block = &ocelot->block[block_id]; in ocelot_cls_flower_stats()