Lines Matching defs:vsi_handle

4413 	u16 flags, vsi_id, lut_type, lut_size, glob_lut_idx = 0, vsi_handle;
4422 vsi_handle = params->vsi_handle;
4430 if (!lut || !lut_size || !ice_is_vsi_valid(hw, vsi_handle))
4439 vsi_id = ice_get_hw_vsi_num(hw, vsi_handle);
4528 * @vsi_handle: software VSI handle
4534 ice_aq_get_rss_key(struct ice_hw *hw, u16 vsi_handle,
4537 if (!ice_is_vsi_valid(hw, vsi_handle) || !key)
4540 return __ice_aq_get_set_rss_key(hw, ice_get_hw_vsi_num(hw, vsi_handle),
4547 * @vsi_handle: software VSI handle
4553 ice_aq_set_rss_key(struct ice_hw *hw, u16 vsi_handle,
4556 if (!ice_is_vsi_valid(hw, vsi_handle) || !keys)
4559 return __ice_aq_get_set_rss_key(hw, ice_get_hw_vsi_num(hw, vsi_handle),
5342 * @vsi_handle: software VSI handle
5347 ice_get_lan_q_ctx(struct ice_hw *hw, u16 vsi_handle, u8 tc, u16 q_handle)
5352 vsi = ice_get_vsi_ctx(hw, vsi_handle);
5366 * @vsi_handle: software VSI handle
5377 ice_ena_vsi_txq(struct ice_port_info *pi, u16 vsi_handle, u8 tc, u16 q_handle,
5395 if (!ice_is_vsi_valid(hw, vsi_handle))
5400 q_ctx = ice_get_lan_q_ctx(hw, vsi_handle, tc, q_handle);
5409 parent = ice_sched_get_free_qparent(pi, vsi_handle, tc,
5469 * @vsi_handle: software VSI handle
5482 ice_dis_vsi_txq(struct ice_port_info *pi, u16 vsi_handle, u8 tc, u8 num_queues,
5522 q_ctx = ice_get_lan_q_ctx(hw, vsi_handle, tc, q_handles[i]);
5552 * @vsi_handle: software VSI handle
5560 ice_cfg_vsi_qs(struct ice_port_info *pi, u16 vsi_handle, u16 tc_bitmap,
5569 if (!ice_is_vsi_valid(pi->hw, vsi_handle))
5579 status = ice_sched_cfg_vsi(pi, vsi_handle, i, maxqs[i], owner,
5592 * @vsi_handle: software VSI handle
5599 ice_cfg_vsi_lan(struct ice_port_info *pi, u16 vsi_handle, u16 tc_bitmap,
5602 return ice_cfg_vsi_qs(pi, vsi_handle, tc_bitmap, max_lanqs,
5609 * @vsi_handle: software VSI handle
5616 ice_cfg_vsi_rdma(struct ice_port_info *pi, u16 vsi_handle, u16 tc_bitmap,
5619 return ice_cfg_vsi_qs(pi, vsi_handle, tc_bitmap, max_rdmaqs,
5626 * @vsi_handle: software VSI handle
5635 ice_ena_vsi_rdma_qset(struct ice_port_info *pi, u16 vsi_handle, u8 tc,
5649 if (!ice_is_vsi_valid(hw, vsi_handle))
5658 parent = ice_sched_get_free_qparent(pi, vsi_handle, tc,
5797 * @vsi_handle: VSI handle
5802 static bool ice_is_main_vsi(struct ice_hw *hw, u16 vsi_handle)
5804 return vsi_handle == ICE_MAIN_VSI_HANDLE && hw->vsi_ctx[vsi_handle];
5841 * @vsi_handle: driver VSI handle
5846 int ice_replay_vsi(struct ice_hw *hw, u16 vsi_handle)
5852 if (!ice_is_vsi_valid(hw, vsi_handle))
5856 if (ice_is_main_vsi(hw, vsi_handle)) {
5862 status = ice_replay_rss_cfg(hw, vsi_handle);
5866 status = ice_replay_vsi_all_fltr(hw, pi, vsi_handle);
5868 status = ice_replay_vsi_agg(hw, vsi_handle);
5964 * @vsi_handle: VSI handle
5984 ice_stat_update_repc(struct ice_hw *hw, u16 vsi_handle, bool prev_stat_loaded,
5990 if (!ice_is_vsi_valid(hw, vsi_handle))
5993 vsi_num = ice_get_hw_vsi_num(hw, vsi_handle);