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()
222 filter->block_id = ocelot_chain_to_block(chain, ingress); in ocelot_flower_parse_action()
223 if (filter->block_id < 0) { in ocelot_flower_parse_action()
227 if (filter->block_id == VCAP_IS1 || filter->block_id == VCAP_IS2) in ocelot_flower_parse_action()
229 if (filter->block_id == VCAP_IS2) in ocelot_flower_parse_action()
238 if (filter->block_id != VCAP_IS2) { in ocelot_flower_parse_action()
255 if (filter->block_id != VCAP_IS2) { in ocelot_flower_parse_action()
272 if (filter->block_id != VCAP_IS2 || in ocelot_flower_parse_action()
295 if (filter->block_id != VCAP_IS2) { in ocelot_flower_parse_action()
316 if (filter->block_id != VCAP_IS1) { in ocelot_flower_parse_action()
336 if (filter->block_id == VCAP_IS1) { in ocelot_flower_parse_action()
340 } else if (filter->block_id == VCAP_ES0) { in ocelot_flower_parse_action()
352 if (filter->block_id != VCAP_IS1) { in ocelot_flower_parse_action()
369 if (filter->block_id == VCAP_IS1 && filter->lookup == 2) { in ocelot_flower_parse_action()
378 if (filter->block_id != VCAP_ES0) { in ocelot_flower_parse_action()
409 if ((filter->block_id == VCAP_IS2 && filter->lookup == 1) || in ocelot_flower_parse_action()
518 if (filter->block_id == VCAP_ES0) { in ocelot_flower_parse_key()
524 if (filter->block_id == VCAP_IS1 && in ocelot_flower_parse_key()
562 if (filter->block_id == VCAP_ES0) { in ocelot_flower_parse_key()
576 if (filter->block_id == VCAP_ES0) { in ocelot_flower_parse_key()
596 if (filter->block_id == VCAP_ES0) { in ocelot_flower_parse_key()
604 if (filter->block_id == VCAP_IS1 && *(u32 *)&match.mask->dst) { in ocelot_flower_parse_key()
632 if (filter->block_id == VCAP_ES0) { in ocelot_flower_parse_key()
660 if (filter->block_id == VCAP_ES0) { in ocelot_flower_parse_key()
744 if (filter->block_id != VCAP_ES0 || in ocelot_flower_patch_es0_vlan_modify()
804 int block_id; in ocelot_cls_flower_destroy() local
806 block_id = ocelot_chain_to_block(f->common.chain_index, ingress); in ocelot_cls_flower_destroy()
807 if (block_id < 0) in ocelot_cls_flower_destroy()
810 block = &ocelot->block[block_id]; in ocelot_cls_flower_destroy()
828 int block_id, ret; in ocelot_cls_flower_stats() local
830 block_id = ocelot_chain_to_block(f->common.chain_index, ingress); in ocelot_cls_flower_stats()
831 if (block_id < 0) in ocelot_cls_flower_stats()
834 block = &ocelot->block[block_id]; in ocelot_cls_flower_stats()