Lines Matching refs:tcam_idx
2454 ice_alloc_tcam_ent(struct ice_hw *hw, enum ice_block blk, u16 *tcam_idx) in ice_alloc_tcam_ent() argument
2461 return ice_alloc_hw_res(hw, res_type, 1, true, tcam_idx); in ice_alloc_tcam_ent()
2473 ice_free_tcam_ent(struct ice_hw *hw, enum ice_block blk, u16 tcam_idx) in ice_free_tcam_ent() argument
2480 return ice_free_hw_res(hw, res_type, 1, &tcam_idx); in ice_free_tcam_ent()
3334 p->entry[0].addr = cpu_to_le16(tmp->tcam_idx); in ice_prof_bld_tcam()
3338 &hw->blk[blk].prof.t[tmp->tcam_idx].key, in ice_prof_bld_tcam()
3928 prof->tcam[i].tcam_idx); in ice_rem_prof_id()
4231 p->tcam[i].tcam_idx = ICE_INVALID_TCAM; in ice_add_prof_to_lst()
4293 if (tmp->type == ICE_TCAM_ADD && tmp->tcam_idx == idx) { in ice_rem_chg_tcam_ent()
4324 status = ice_rel_tcam_idx(hw, blk, tcam->tcam_idx); in ice_prof_tcam_ena_dis()
4330 ice_rem_chg_tcam_ent(hw, tcam->tcam_idx, chg); in ice_prof_tcam_ena_dis()
4331 tcam->tcam_idx = 0; in ice_prof_tcam_ena_dis()
4337 status = ice_alloc_tcam_ent(hw, blk, &tcam->tcam_idx); in ice_prof_tcam_ena_dis()
4346 status = ice_tcam_write_entry(hw, blk, tcam->tcam_idx, tcam->prof_id, in ice_prof_tcam_ena_dis()
4359 p->tcam_idx = tcam->tcam_idx; in ice_prof_tcam_ena_dis()
4486 u16 tcam_idx; in ice_add_prof_id_vsig() local
4496 status = ice_alloc_tcam_ent(hw, blk, &tcam_idx); in ice_add_prof_id_vsig()
4504 t->tcam[i].tcam_idx = tcam_idx; in ice_add_prof_id_vsig()
4512 p->tcam_idx = t->tcam[i].tcam_idx; in ice_add_prof_id_vsig()
4515 status = ice_tcam_write_entry(hw, blk, t->tcam[i].tcam_idx, in ice_add_prof_id_vsig()