Lines Matching refs:vsi
1013 * @vsi: HW VSI number to program
1020 ice_vsig_update_xlt2_sect(struct ice_hw *hw, enum ice_block blk, u16 vsi,
1034 sect->offset = CPU_TO_LE16(vsi);
1054 u16 vsi;
1056 for (vsi = 0; vsi < ICE_MAX_VSI; vsi++) {
1058 if (hw->blk[blk].xlt2.vsis[vsi].changed) {
1062 vsig = hw->blk[blk].xlt2.vsis[vsi].vsig;
1063 status = ice_vsig_update_xlt2_sect(hw, blk, vsi, vsig);
1067 hw->blk[blk].xlt2.vsis[vsi].changed = 0;
1078 * @vsi: VSI of interest
1085 ice_vsig_find_vsi(struct ice_hw *hw, enum ice_block blk, u16 vsi, u16 *vsig)
1087 if (!vsig || vsi >= ICE_MAX_VSI)
1094 *vsig = hw->blk[blk].xlt2.vsis[vsi].vsig;
1234 * @vsi: VSI to remove
1241 ice_vsig_remove_vsi(struct ice_hw *hw, enum ice_block blk, u16 vsi, u16 vsig)
1248 if (vsi >= ICE_MAX_VSI || idx >= ICE_MAX_VSIGS)
1262 vsi_tgt = &hw->blk[blk].xlt2.vsis[vsi];
1290 * @vsi: VSI to move
1299 ice_vsig_add_mv_vsi(struct ice_hw *hw, enum ice_block blk, u16 vsi, u16 vsig)
1307 if (vsi >= ICE_MAX_VSI || idx >= ICE_MAX_VSIGS)
1317 status = ice_vsig_find_vsi(hw, blk, vsi, &orig_vsig);
1327 status = ice_vsig_remove_vsi(hw, blk, vsi, orig_vsig);
1336 hw->blk[blk].xlt2.vsis[vsi].vsig = vsig;
1337 hw->blk[blk].xlt2.vsis[vsi].changed = 1;
1342 &hw->blk[blk].xlt2.vsis[vsi];
1343 hw->blk[blk].xlt2.vsis[vsi].next_vsi = tmp;
1344 hw->blk[blk].xlt2.t[vsi] = vsig;
1637 u16 vsi;
1639 for (vsi = 0; vsi < hw->blk[blk].xlt2.count; vsi++) {
1642 vsig = hw->blk[blk].xlt2.t[vsi];
1645 ice_vsig_add_mv_vsi(hw, blk, vsi, vsig);
1649 hw->blk[blk].xlt2.vsis[vsi].changed = 0;
2420 p->offset = CPU_TO_LE16(tmp->vsi);
2799 p->vsi = (u16)(vsi_cur - hw->blk[blk].xlt2.vsis);
3063 * @vsi: the VSI to move
3068 ice_move_vsi(struct ice_hw *hw, enum ice_block blk, u16 vsi, u16 vsig,
3079 status = ice_vsig_find_vsi(hw, blk, vsi, &orig_vsig);
3081 status = ice_vsig_add_mv_vsi(hw, blk, vsi, vsig);
3089 p->vsi = vsi;
3370 * @vsi: the initial VSI that will be in VSIG
3375 ice_create_prof_id_vsig(struct ice_hw *hw, enum ice_block blk, u16 vsi, u64 hdl,
3392 status = ice_move_vsi(hw, blk, vsi, new_vsig, chg);
3401 p->vsi = vsi;
3419 * @vsi: the initial VSI that will be in VSIG
3425 ice_create_vsig_from_lst(struct ice_hw *hw, enum ice_block blk, u16 vsi,
3437 status = ice_move_vsi(hw, blk, vsi, vsig, chg);
3489 * @vsi: input VSI
3500 ice_add_vsi_flow(struct ice_hw *hw, enum ice_block blk, u16 vsi, u16 vsig)
3513 status = ice_move_vsi(hw, blk, vsi, vsig, &chg);
3530 * @vsi: the VSI to enable with the profile specified by ID
3538 ice_add_prof_id_flow(struct ice_hw *hw, enum ice_block blk, u16 vsi, u64 hdl)
3556 status = ice_vsig_find_vsi(hw, blk, vsi, &vsig);
3595 status = ice_move_vsi(hw, blk, vsi, vsig, &chg);
3624 status = ice_create_vsig_from_lst(hw, blk, vsi,
3641 status = ice_move_vsi(hw, blk, vsi, vsig, &chg);
3647 status = ice_create_prof_id_vsig(hw, blk, vsi, hdl,
3676 * @vsi: array of VSIs to enable with the profile specified by ID
3685 ice_add_flow(struct ice_hw *hw, enum ice_block blk, u16 vsi[], u8 count,
3693 status = ice_add_prof_id_flow(hw, blk, vsi[i], id);
3726 * @vsi: the VSI from which to remove the profile specified by ID
3734 ice_rem_prof_id_flow(struct ice_hw *hw, enum ice_block blk, u16 vsi, u64 hdl)
3746 status = ice_vsig_find_vsi(hw, blk, vsi, &vsig);
3798 status = ice_move_vsi(hw, blk, vsi,
3812 status = ice_move_vsi(hw, blk, vsi, vsig, &chg);
3820 status = ice_create_vsig_from_lst(hw, blk, vsi,
3859 * @vsi: array of VSIs from which to remove the profile specified by ID
3868 ice_rem_flow(struct ice_hw *hw, enum ice_block blk, u16 vsi[], u8 count,
3876 status = ice_rem_prof_id_flow(hw, blk, vsi[i], id);