Lines Matching refs:tcam_idx
1305 u16 *tcam_idx) in ice_alloc_tcam_ent() argument
1312 return ice_alloc_hw_res(hw, res_type, 1, btm, tcam_idx); in ice_alloc_tcam_ent()
1324 ice_free_tcam_ent(struct ice_hw *hw, enum ice_block blk, u16 tcam_idx) in ice_free_tcam_ent() argument
1331 return ice_free_hw_res(hw, res_type, 1, &tcam_idx); in ice_free_tcam_ent()
2515 p->entry[0].addr = cpu_to_le16(tmp->tcam_idx); in ice_prof_bld_tcam()
2519 &hw->blk[blk].prof.t[tmp->tcam_idx].key, in ice_prof_bld_tcam()
3177 prof->tcam[i].tcam_idx); in ice_rem_prof_id()
3481 p->tcam[i].tcam_idx = ICE_INVALID_TCAM; in ice_add_prof_to_lst()
3543 if (tmp->type == ICE_TCAM_ADD && tmp->tcam_idx == idx) { in ice_rem_chg_tcam_ent()
3574 status = ice_rel_tcam_idx(hw, blk, tcam->tcam_idx); in ice_prof_tcam_ena_dis()
3580 ice_rem_chg_tcam_ent(hw, tcam->tcam_idx, chg); in ice_prof_tcam_ena_dis()
3581 tcam->tcam_idx = 0; in ice_prof_tcam_ena_dis()
3592 &tcam->tcam_idx); in ice_prof_tcam_ena_dis()
3601 status = ice_tcam_write_entry(hw, blk, tcam->tcam_idx, tcam->prof_id, in ice_prof_tcam_ena_dis()
3614 p->tcam_idx = tcam->tcam_idx; in ice_prof_tcam_ena_dis()
3741 u16 tcam_idx; in ice_add_prof_id_vsig() local
3756 &tcam_idx); in ice_add_prof_id_vsig()
3764 t->tcam[i].tcam_idx = tcam_idx; in ice_add_prof_id_vsig()
3773 p->tcam_idx = t->tcam[i].tcam_idx; in ice_add_prof_id_vsig()
3776 status = ice_tcam_write_entry(hw, blk, t->tcam[i].tcam_idx, in ice_add_prof_id_vsig()