Lines Matching refs:block_id
137 int block_id; in ocelot_find_vcap_filter_that_points_at() local
139 block_id = ocelot_chain_to_block(chain, true); in ocelot_find_vcap_filter_that_points_at()
140 if (block_id < 0) in ocelot_find_vcap_filter_that_points_at()
143 if (block_id == VCAP_IS2) { in ocelot_find_vcap_filter_that_points_at()
176 filter->block_id = ocelot_chain_to_block(chain, ingress); in ocelot_flower_parse_action()
177 if (filter->block_id < 0) { in ocelot_flower_parse_action()
181 if (filter->block_id == VCAP_IS1 || filter->block_id == VCAP_IS2) in ocelot_flower_parse_action()
183 if (filter->block_id == VCAP_IS2) in ocelot_flower_parse_action()
192 if (filter->block_id != VCAP_IS2) { in ocelot_flower_parse_action()
209 if (filter->block_id != VCAP_IS2 || in ocelot_flower_parse_action()
227 if (filter->block_id != VCAP_IS2 || in ocelot_flower_parse_action()
250 if (filter->block_id != VCAP_IS2) { in ocelot_flower_parse_action()
271 if (filter->block_id != VCAP_IS1) { in ocelot_flower_parse_action()
291 if (filter->block_id != VCAP_IS1) { in ocelot_flower_parse_action()
313 if (filter->block_id != VCAP_IS1) { in ocelot_flower_parse_action()
330 if (filter->block_id == VCAP_IS1 && filter->lookup == 2) { in ocelot_flower_parse_action()
339 if (filter->block_id != VCAP_ES0) { in ocelot_flower_parse_action()
370 if ((filter->block_id == VCAP_IS2 && filter->lookup == 1) || in ocelot_flower_parse_action()
491 if (filter->block_id == VCAP_ES0) { in ocelot_flower_parse_key()
512 if (filter->block_id == VCAP_IS1 && in ocelot_flower_parse_key()
536 if (filter->block_id == VCAP_ES0) { in ocelot_flower_parse_key()
550 if (filter->block_id == VCAP_ES0) { in ocelot_flower_parse_key()
570 if (filter->block_id == VCAP_ES0) { in ocelot_flower_parse_key()
578 if (filter->block_id == VCAP_IS1 && *(u32 *)&match.mask->dst) { in ocelot_flower_parse_key()
606 if (filter->block_id == VCAP_ES0) { in ocelot_flower_parse_key()
622 if (filter->block_id == VCAP_ES0) { in ocelot_flower_parse_key()
735 int block_id; in ocelot_cls_flower_destroy() local
737 block_id = ocelot_chain_to_block(f->common.chain_index, ingress); in ocelot_cls_flower_destroy()
738 if (block_id < 0) in ocelot_cls_flower_destroy()
741 block = &ocelot->block[block_id]; in ocelot_cls_flower_destroy()
759 int block_id, ret; in ocelot_cls_flower_stats() local
761 block_id = ocelot_chain_to_block(f->common.chain_index, ingress); in ocelot_cls_flower_stats()
762 if (block_id < 0) in ocelot_cls_flower_stats()
765 block = &ocelot->block[block_id]; in ocelot_cls_flower_stats()