Lines Matching refs:tcam_idx
3211 u16 *tcam_idx) in ice_alloc_tcam_ent() argument
3218 return ice_alloc_hw_res(hw, res_type, 1, btm, tcam_idx); in ice_alloc_tcam_ent()
3230 ice_free_tcam_ent(struct ice_hw *hw, enum ice_block blk, u16 tcam_idx) in ice_free_tcam_ent() argument
3237 return ice_free_hw_res(hw, res_type, 1, &tcam_idx); in ice_free_tcam_ent()
4421 p->entry[0].addr = cpu_to_le16(tmp->tcam_idx); in ice_prof_bld_tcam()
4425 &hw->blk[blk].prof.t[tmp->tcam_idx].key, in ice_prof_bld_tcam()
5083 prof->tcam[i].tcam_idx); in ice_rem_prof_id()
5385 p->tcam[i].tcam_idx = ICE_INVALID_TCAM; in ice_add_prof_to_lst()
5447 if (tmp->type == ICE_TCAM_ADD && tmp->tcam_idx == idx) { in ice_rem_chg_tcam_ent()
5478 status = ice_rel_tcam_idx(hw, blk, tcam->tcam_idx); in ice_prof_tcam_ena_dis()
5484 ice_rem_chg_tcam_ent(hw, tcam->tcam_idx, chg); in ice_prof_tcam_ena_dis()
5485 tcam->tcam_idx = 0; in ice_prof_tcam_ena_dis()
5496 &tcam->tcam_idx); in ice_prof_tcam_ena_dis()
5505 status = ice_tcam_write_entry(hw, blk, tcam->tcam_idx, tcam->prof_id, in ice_prof_tcam_ena_dis()
5518 p->tcam_idx = tcam->tcam_idx; in ice_prof_tcam_ena_dis()
5645 u16 tcam_idx; in ice_add_prof_id_vsig() local
5660 &tcam_idx); in ice_add_prof_id_vsig()
5668 t->tcam[i].tcam_idx = tcam_idx; in ice_add_prof_id_vsig()
5677 p->tcam_idx = t->tcam[i].tcam_idx; in ice_add_prof_id_vsig()
5680 status = ice_tcam_write_entry(hw, blk, t->tcam[i].tcam_idx, in ice_add_prof_id_vsig()