Lines Matching defs:tcam_idx
1422 * @tcam_idx: pointer to variable to receive the TCAM entry
1429 u16 *tcam_idx)
1436 return ice_alloc_hw_res(hw, res_type, 1, btm, tcam_idx);
1443 * @tcam_idx: the TCAM entry to free
1448 ice_free_tcam_ent(struct ice_hw *hw, enum ice_block blk, u16 tcam_idx)
1455 return ice_free_hw_res(hw, res_type, 1, &tcam_idx);
2342 p->entry[0].addr = CPU_TO_LE16(tmp->tcam_idx);
2346 &hw->blk[blk].prof.t[tmp->tcam_idx].key,
2745 prof->tcam[i].tcam_idx);
3048 p->tcam[i].tcam_idx = ICE_INVALID_TCAM;
3110 if (tmp->type == ICE_TCAM_ADD && tmp->tcam_idx == idx) {
3141 status = ice_rel_tcam_idx(hw, blk, tcam->tcam_idx);
3147 ice_rem_chg_tcam_ent(hw, tcam->tcam_idx, chg);
3148 tcam->tcam_idx = 0;
3154 status = ice_alloc_tcam_ent(hw, blk, true, &tcam->tcam_idx);
3163 status = ice_tcam_write_entry(hw, blk, tcam->tcam_idx, tcam->prof_id,
3176 p->tcam_idx = tcam->tcam_idx;
3305 u16 tcam_idx;
3315 status = ice_alloc_tcam_ent(hw, blk, true, &tcam_idx);
3323 t->tcam[i].tcam_idx = tcam_idx;
3331 p->tcam_idx = t->tcam[i].tcam_idx;
3334 status = ice_tcam_write_entry(hw, blk, t->tcam[i].tcam_idx,