• Home
  • Raw
  • Download

Lines Matching refs:vsig

2106 ice_vsig_find_vsi(struct ice_hw *hw, enum ice_block blk, u16 vsi, u16 *vsig)  in ice_vsig_find_vsi()  argument
2108 if (!vsig || vsi >= ICE_MAX_VSI) in ice_vsig_find_vsi()
2115 *vsig = hw->blk[blk].xlt2.vsis[vsi].vsig; in ice_vsig_find_vsi()
2128 static u16 ice_vsig_alloc_val(struct ice_hw *hw, enum ice_block blk, u16 vsig) in ice_vsig_alloc_val() argument
2130 u16 idx = vsig & ICE_VSIG_IDX_M; in ice_vsig_alloc_val()
2176 struct list_head *chs, u16 *vsig) in ice_find_dup_props_vsig() argument
2184 *vsig = ICE_VSIG_VALUE(i, hw->pf_id); in ice_find_dup_props_vsig()
2201 ice_vsig_free(struct ice_hw *hw, enum ice_block blk, u16 vsig) in ice_vsig_free() argument
2207 idx = vsig & ICE_VSIG_IDX_M; in ice_vsig_free()
2225 vsi_cur->vsig = ICE_DEFAULT_VSIG; in ice_vsig_free()
2262 ice_vsig_remove_vsi(struct ice_hw *hw, enum ice_block blk, u16 vsi, u16 vsig) in ice_vsig_remove_vsi() argument
2267 idx = vsig & ICE_VSIG_IDX_M; in ice_vsig_remove_vsi()
2300 vsi_cur->vsig = ICE_DEFAULT_VSIG; in ice_vsig_remove_vsi()
2320 ice_vsig_add_mv_vsi(struct ice_hw *hw, enum ice_block blk, u16 vsi, u16 vsig) in ice_vsig_add_mv_vsi() argument
2326 idx = vsig & ICE_VSIG_IDX_M; in ice_vsig_add_mv_vsi()
2335 vsig != ICE_DEFAULT_VSIG) in ice_vsig_add_mv_vsi()
2343 if (orig_vsig == vsig) in ice_vsig_add_mv_vsi()
2357 hw->blk[blk].xlt2.vsis[vsi].vsig = vsig; in ice_vsig_add_mv_vsi()
2365 hw->blk[blk].xlt2.t[vsi] = vsig; in ice_vsig_add_mv_vsi()
2665 u16 vsig; in ice_init_sw_xlt2_db() local
2667 vsig = hw->blk[blk].xlt2.t[vsi]; in ice_init_sw_xlt2_db()
2668 if (vsig) { in ice_init_sw_xlt2_db()
2669 ice_vsig_alloc_val(hw, blk, vsig); in ice_init_sw_xlt2_db()
2670 ice_vsig_add_mv_vsi(hw, blk, vsi, vsig); in ice_init_sw_xlt2_db()
3144 ice_prof_gen_key(struct ice_hw *hw, enum ice_block blk, u8 ptg, u16 vsig, in ice_prof_gen_key() argument
3152 inkey.xlt2_cdid = cpu_to_le16(vsig); in ice_prof_gen_key()
3201 u8 prof_id, u8 ptg, u16 vsig, u8 cdid, u16 flags, in ice_tcam_write_entry() argument
3209 status = ice_prof_gen_key(hw, blk, ptg, vsig, cdid, flags, vl_msk, in ice_tcam_write_entry()
3227 ice_vsig_get_ref(struct ice_hw *hw, enum ice_block blk, u16 vsig, u16 *refs) in ice_vsig_get_ref() argument
3229 u16 idx = vsig & ICE_VSIG_IDX_M; in ice_vsig_get_ref()
3254 ice_has_prof_vsig(struct ice_hw *hw, enum ice_block blk, u16 vsig, u64 hdl) in ice_has_prof_vsig() argument
3256 u16 idx = vsig & ICE_VSIG_IDX_M; in ice_has_prof_vsig()
3266 vsig); in ice_has_prof_vsig()
3406 p->value[0] = cpu_to_le16(tmp->vsig); in ice_prof_bld_xlt2()
3872 ice_vsig_prof_id_count(struct ice_hw *hw, enum ice_block blk, u16 vsig) in ice_vsig_prof_id_count() argument
3874 u16 idx = vsig & ICE_VSIG_IDX_M, count = 0; in ice_vsig_prof_id_count()
3944 ice_rem_vsig(struct ice_hw *hw, enum ice_block blk, u16 vsig, in ice_rem_vsig() argument
3947 u16 idx = vsig & ICE_VSIG_IDX_M; in ice_rem_vsig()
3980 p->orig_vsig = vsig; in ice_rem_vsig()
3981 p->vsig = ICE_DEFAULT_VSIG; in ice_rem_vsig()
3989 return ice_vsig_free(hw, blk, vsig); in ice_rem_vsig()
4001 ice_rem_prof_id_vsig(struct ice_hw *hw, enum ice_block blk, u16 vsig, u64 hdl, in ice_rem_prof_id_vsig() argument
4004 u16 idx = vsig & ICE_VSIG_IDX_M; in ice_rem_prof_id_vsig()
4012 if (ice_vsig_prof_id_count(hw, blk, vsig) == 1) in ice_rem_prof_id_vsig()
4014 return ice_rem_vsig(hw, blk, vsig, chg); in ice_rem_prof_id_vsig()
4166 ice_get_profs_vsig(struct ice_hw *hw, enum ice_block blk, u16 vsig, in ice_get_profs_vsig() argument
4170 u16 idx = vsig & ICE_VSIG_IDX_M; in ice_get_profs_vsig()
4251 ice_move_vsi(struct ice_hw *hw, enum ice_block blk, u16 vsi, u16 vsig, in ice_move_vsi() argument
4264 status = ice_vsig_add_mv_vsi(hw, blk, vsi, vsig); in ice_move_vsi()
4274 p->vsig = vsig; in ice_move_vsi()
4312 u16 vsig, struct ice_tcam_inf *tcam, in ice_prof_tcam_ena_dis() argument
4347 tcam->ptg, vsig, 0, 0, vl_msk, dc_msk, in ice_prof_tcam_ena_dis()
4358 p->vsig = 0; in ice_prof_tcam_ena_dis()
4379 ice_adj_prof_priorities(struct ice_hw *hw, enum ice_block blk, u16 vsig, in ice_adj_prof_priorities() argument
4388 idx = vsig & ICE_VSIG_IDX_M; in ice_adj_prof_priorities()
4414 vsig, in ice_adj_prof_priorities()
4425 vsig, in ice_adj_prof_priorities()
4450 ice_add_prof_id_vsig(struct ice_hw *hw, enum ice_block blk, u16 vsig, u64 hdl, in ice_add_prof_id_vsig() argument
4464 if (ice_has_prof_vsig(hw, blk, vsig, hdl)) in ice_add_prof_id_vsig()
4511 p->vsig = vsig; in ice_add_prof_id_vsig()
4517 t->tcam[i].ptg, vsig, 0, 0, in ice_add_prof_id_vsig()
4529 vsig_idx = vsig & ICE_VSIG_IDX_M; in ice_add_prof_id_vsig()
4584 p->vsig = new_vsig; in ice_create_prof_id_vsig()
4612 u16 vsig; in ice_create_vsig_from_lst() local
4614 vsig = ice_vsig_alloc(hw, blk); in ice_create_vsig_from_lst()
4615 if (!vsig) in ice_create_vsig_from_lst()
4618 status = ice_move_vsi(hw, blk, vsi, vsig, chg); in ice_create_vsig_from_lst()
4624 status = ice_add_prof_id_vsig(hw, blk, vsig, t->profile_cookie, in ice_create_vsig_from_lst()
4630 *new_vsig = vsig; in ice_create_vsig_from_lst()
4643 ice_find_prof_vsig(struct ice_hw *hw, enum ice_block blk, u64 hdl, u16 *vsig) in ice_find_prof_vsig() argument
4658 status = ice_find_dup_props_vsig(hw, blk, &lst, vsig); in ice_find_prof_vsig()
4685 u16 vsig; in ice_add_prof_id_flow() local
4696 status = ice_vsig_find_vsi(hw, blk, vsi, &vsig); in ice_add_prof_id_flow()
4697 if (!status && vsig) { in ice_add_prof_id_flow()
4703 or_vsig = vsig; in ice_add_prof_id_flow()
4709 if (ice_has_prof_vsig(hw, blk, vsig, hdl)) { in ice_add_prof_id_flow()
4715 status = ice_vsig_get_ref(hw, blk, vsig, &ref); in ice_add_prof_id_flow()
4723 status = ice_get_profs_vsig(hw, blk, vsig, &union_lst); in ice_add_prof_id_flow()
4732 status = ice_find_dup_props_vsig(hw, blk, &union_lst, &vsig); in ice_add_prof_id_flow()
4735 status = ice_move_vsi(hw, blk, vsi, vsig, &chg); in ice_add_prof_id_flow()
4753 status = ice_add_prof_id_vsig(hw, blk, vsig, hdl, false, in ice_add_prof_id_flow()
4759 status = ice_adj_prof_priorities(hw, blk, vsig, &chg); in ice_add_prof_id_flow()
4765 &union_lst, &vsig, in ice_add_prof_id_flow()
4771 status = ice_adj_prof_priorities(hw, blk, vsig, &chg); in ice_add_prof_id_flow()
4778 if (ice_find_prof_vsig(hw, blk, hdl, &vsig)) { in ice_add_prof_id_flow()
4781 status = ice_move_vsi(hw, blk, vsi, vsig, &chg); in ice_add_prof_id_flow()
4851 u16 vsig; in ice_rem_prof_id_flow() local
4857 status = ice_vsig_find_vsi(hw, blk, vsi, &vsig); in ice_rem_prof_id_flow()
4858 if (!status && vsig) { in ice_rem_prof_id_flow()
4864 last_profile = ice_vsig_prof_id_count(hw, blk, vsig) == 1; in ice_rem_prof_id_flow()
4865 status = ice_vsig_get_ref(hw, blk, vsig, &ref); in ice_rem_prof_id_flow()
4881 status = ice_rem_vsig(hw, blk, vsig, &chg); in ice_rem_prof_id_flow()
4885 status = ice_rem_prof_id_vsig(hw, blk, vsig, in ice_rem_prof_id_flow()
4891 status = ice_adj_prof_priorities(hw, blk, vsig, in ice_rem_prof_id_flow()
4899 status = ice_get_profs_vsig(hw, blk, vsig, &copy); in ice_rem_prof_id_flow()
4915 &vsig)) { in ice_rem_prof_id_flow()
4923 status = ice_move_vsi(hw, blk, vsi, vsig, &chg); in ice_rem_prof_id_flow()
4932 &copy, &vsig, in ice_rem_prof_id_flow()
4938 status = ice_adj_prof_priorities(hw, blk, vsig, in ice_rem_prof_id_flow()