Home
last modified time | relevance | path

Searched refs:vsi_handle (Results 1 – 14 of 14) sorted by relevance

/dpdk/drivers/net/ice/base/
H A Dice_sched.h58 u16 vsi_handle; member
108 ice_sched_get_free_qparent(struct ice_port_info *pi, u16 vsi_handle, u8 tc,
116 u16 vsi_handle);
128 ice_move_vsi_to_agg(struct ice_port_info *pi, u32 agg_id, u16 vsi_handle,
132 ice_cfg_q_bw_lmt(struct ice_port_info *pi, u16 vsi_handle, u8 tc,
135 ice_cfg_q_bw_dflt_lmt(struct ice_port_info *pi, u16 vsi_handle, u8 tc,
144 ice_cfg_vsi_bw_lmt_per_tc(struct ice_port_info *pi, u16 vsi_handle, u8 tc,
159 ice_cfg_vsi_bw_no_shared_lmt(struct ice_port_info *pi, u16 vsi_handle);
188 ice_sched_set_agg_bw_dflt_lmt(struct ice_port_info *pi, u16 vsi_handle);
194 ice_sched_set_vsi_bw_shared_lmt(struct ice_port_info *pi, u16 vsi_handle,
[all …]
H A Dice_switch.h191 u16 vsi_handle; member
240 u16 vsi_handle; member
250 u16 vsi_handle; member
413 struct ice_vsi_ctx *ice_get_vsi_ctx(struct ice_hw *hw, u16 vsi_handle);
483 void ice_remove_vsi_fltr(struct ice_hw *hw, u16 vsi_handle);
487 ice_cfg_dflt_vsi(struct ice_port_info *pi, u16 vsi_handle, bool set,
490 ice_set_vsi_promisc(struct ice_hw *hw, u16 vsi_handle, u8 promisc_mask,
530 ice_rem_adv_rule_for_vsi(struct ice_hw *hw, u16 vsi_handle);
542 u16 ice_get_hw_vsi_num(struct ice_hw *hw, u16 vsi_handle);
543 bool ice_is_vsi_valid(struct ice_hw *hw, u16 vsi_handle);
[all …]
H A Dice_sched.c1558 u16 vsi_handle) in ice_sched_get_vsi_node() argument
1568 if (node->vsi_handle == vsi_handle) in ice_sched_get_vsi_node()
1813 parent->vsi_handle = vsi_handle; in ice_sched_add_vsi_support_nodes()
2008 if (agg_vsi_info->vsi_handle == vsi_handle) { in ice_sched_rm_agg_vsi_info()
2428 u16 vsi_handle = agg_vsi_info->vsi_handle; in ice_move_all_vsi_to_dflt_agg() local
2769 if (agg_vsi_info->vsi_handle == vsi_handle) in ice_get_agg_vsi_info()
2865 if (old_agg_vsi_info->vsi_handle == vsi_handle) in ice_sched_assoc_vsi_to_agg()
2879 agg_vsi_info->vsi_handle = vsi_handle; in ice_sched_assoc_vsi_to_agg()
3665 u16 vsi_handle; in ice_cfg_agg_vsi_priority_per_tc() local
3674 if (agg_vsi_info->vsi_handle == vsi_handle) { in ice_cfg_agg_vsi_priority_per_tc()
[all …]
H A Dice_switch.c4377 u16 vsi_handle = new_fltr->vsi_handle; in ice_add_update_vsi_list() local
4693 vsi_handle = f_entry->fltr_info.vsi_handle; in ice_remove_rule_internal()
5021 vsi_handle = new_fltr->vsi_handle; in ice_add_vlan_internal()
5741 tmp->fltr_info.vsi_handle = vsi_handle; in ice_add_entry_to_vsi_fltr_list()
6151 new_fltr.vsi_handle = vsi_handle; in _ice_set_vsi_promisc()
8880 vsi_handle = rinfo->sw_act.vsi_handle; in ice_add_adv_rule()
9185 vsi_handle = rinfo->sw_act.vsi_handle; in ice_rem_adv_rule()
9188 vsi_handle = rinfo->sw_act.vsi_handle; in ice_rem_adv_rule()
9311 rinfo.sw_act.vsi_handle = vsi_handle; in ice_rem_adv_rule_for_vsi()
9371 f_entry.fltr_info.vsi_handle = vsi_handle; in ice_replay_fltr()
[all …]
H A Dice_flow.h463 u16 vsi_handle; member
560 struct ice_flow_prof *prof, u16 vsi_handle);
562 ice_flow_assoc_vsig_vsi(struct ice_hw *hw, enum ice_block blk, u16 vsi_handle,
590 u16 vsi_handle, u64 prof_id);
591 void ice_rem_vsi_rss_list(struct ice_hw *hw, u16 vsi_handle);
592 enum ice_status ice_replay_rss_cfg(struct ice_hw *hw, u16 vsi_handle);
594 ice_add_avf_rss_cfg(struct ice_hw *hw, u16 vsi_handle, u64 hashed_flds);
595 enum ice_status ice_rem_vsi_rss_cfg(struct ice_hw *hw, u16 vsi_handle);
597 ice_add_rss_cfg(struct ice_hw *hw, u16 vsi_handle,
600 ice_rem_rss_cfg(struct ice_hw *hw, u16 vsi_handle,
[all …]
H A Dice_flow.c2484 vsi_handle), in ice_flow_assoc_prof()
2487 ice_set_bit(vsi_handle, prof->vsis); in ice_flow_assoc_prof()
2515 vsi_handle), in ice_flow_disassoc_prof()
3445 e->vsi_handle = vsi_handle; in ice_flow_add_entry()
3690 if (e->vsi_handle != vsi_handle) in ice_flow_rem_vsi_prof()
3900 ice_clear_bit(vsi_handle, r->vsis); in ice_rem_rss_list()
3929 ice_set_bit(vsi_handle, r->vsis); in ice_add_rss_list()
4219 vsi_handle, in ice_add_rss_cfg_sync()
4255 vsi_handle, in ice_add_rss_cfg_sync()
4260 vsi_handle); in ice_add_rss_cfg_sync()
[all …]
H A Dice_common.h108 ice_aq_get_rss_key(struct ice_hw *hw, u16 vsi_handle,
111 ice_aq_set_rss_key(struct ice_hw *hw, u16 vsi_handle,
215 ice_dis_vsi_txq(struct ice_port_info *pi, u16 vsi_handle, u8 tc, u8 num_queues,
220 ice_cfg_vsi_lan(struct ice_port_info *pi, u16 vsi_handle, u16 tc_bitmap,
223 ice_ena_vsi_txq(struct ice_port_info *pi, u16 vsi_handle, u8 tc, u16 q_handle,
228 enum ice_status ice_replay_vsi(struct ice_hw *hw, u16 vsi_handle);
231 ice_get_lan_q_ctx(struct ice_hw *hw, u16 vsi_handle, u8 tc, u16 q_handle);
244 ice_stat_update_repc(struct ice_hw *hw, u16 vsi_handle, bool prev_stat_loaded,
H A Dice_common.c3977 vsi_handle = params->vsi_handle; in __ice_aq_get_set_rss_lut()
3986 vsi_id = ice_get_hw_vsi_num(hw, vsi_handle); in __ice_aq_get_set_rss_lut()
4888 vsi = ice_get_vsi_ctx(hw, vsi_handle); in ice_get_lan_q_ctx()
4931 if (!ice_is_vsi_valid(hw, vsi_handle)) in ice_ena_vsi_txq()
5105 if (!ice_is_vsi_valid(pi->hw, vsi_handle)) in ice_cfg_vsi_qs()
5152 return vsi_handle == ICE_MAIN_VSI_HANDLE && hw->vsi_ctx[vsi_handle]; in ice_is_main_vsi()
5200 if (!ice_is_vsi_valid(hw, vsi_handle)) in ice_replay_vsi()
5204 if (ice_is_main_vsi(hw, vsi_handle)) { in ice_replay_vsi()
5210 status = ice_replay_rss_cfg(hw, vsi_handle); in ice_replay_vsi()
5216 status = ice_replay_vsi_agg(hw, vsi_handle); in ice_replay_vsi()
[all …]
H A Dice_type.h870 u16 vsi_handle; member
1351 u16 vsi_handle; /* software VSI handle */ member
/dpdk/drivers/net/ice/
H A Dice_dcf_parent.c25 ice_dcf_update_vsi_ctx(struct ice_hw *hw, uint16_t vsi_handle, in ice_dcf_update_vsi_ctx() argument
32 if (unlikely(vsi_handle >= ICE_MAX_VSI)) { in ice_dcf_update_vsi_ctx()
33 PMD_DRV_LOG(ERR, "Invalid vsi handle %u", vsi_handle); in ice_dcf_update_vsi_ctx()
37 vsi_ctx = hw->vsi_ctx[vsi_handle]; in ice_dcf_update_vsi_ctx()
44 vsi_handle); in ice_dcf_update_vsi_ctx()
47 hw->vsi_ctx[vsi_handle] = vsi_ctx; in ice_dcf_update_vsi_ctx()
60 rd.vsi_handle = vsi_handle; in ice_dcf_update_vsi_ctx()
68 vsi_handle, vsi_ctx->vsi_num); in ice_dcf_update_vsi_ctx()
70 hw->vsi_ctx[vsi_handle] = NULL; in ice_dcf_update_vsi_ctx()
74 PMD_DRV_LOG(NOTICE, "VF%u is disabled", vsi_handle); in ice_dcf_update_vsi_ctx()
H A Dice_switch_filter.c427 ice_get_hw_vsi_num(hw, rule_info->sw_act.vsi_handle); in ice_switch_create()
1643 rule_info->sw_act.vsi_handle = in ice_switch_parse_dcf_action()
1646 rule_info->sw_act.vsi_handle = act_vf->id; in ice_switch_parse_dcf_action()
1662 rule_info->sw_act.src = rule_info->sw_act.vsi_handle; in ice_switch_parse_dcf_action()
1744 rule_info->sw_act.vsi_handle = vsi->idx; in ice_switch_parse_action()
1976 if (rdata->vsi_handle != rd->vsi_handle) in ice_switch_redirect()
1995 rinfo.sw_act.vsi_handle == rd->vsi_handle) || in ice_switch_redirect()
2014 rinfo.sw_act.vsi_handle = in ice_switch_redirect()
2015 rd->vsi_handle; in ice_switch_redirect()
2034 rinfo.sw_act.vsi_handle = rd->vsi_handle; in ice_switch_redirect()
[all …]
H A Dice_hash.c1211 struct ice_rss_raw_cfg *cfg, u16 vsi_handle) in ice_hash_add_raw_cfg() argument
1243 ice_get_hw_vsi_num(hw, vsi_handle), in ice_hash_add_raw_cfg()
1258 ret = ice_flow_set_hw_prof(hw, vsi_handle, 0, prof, ICE_BLK_RSS); in ice_hash_add_raw_cfg()
1350 u16 vsi_handle) in ice_hash_rem_raw_cfg() argument
1366 ice_get_hw_vsi_num(hw, vsi_handle), &vsig); in ice_hash_rem_raw_cfg()
1369 ice_get_hw_vsi_num(hw, vsi_handle), in ice_hash_rem_raw_cfg()
H A Dice_generic_flow.h450 uint16_t vsi_handle; member
H A Dice_ethdev.c939 m_list_itr->fltr_info.vsi_handle = vsi->idx; in ice_add_mac_filter()
996 m_list_itr->fltr_info.vsi_handle = vsi->idx; in ice_remove_mac_filter()
1073 v_list_itr->fltr_info.vsi_handle = vsi->idx; in ice_add_vlan_filter()
1139 v_list_itr->fltr_info.vsi_handle = vsi->idx; in ice_remove_vlan_filter()
2044 s_list_itr->fltr_info.vsi_handle = vsi->idx; in ice_vsi_config_sw_lldp()
3275 lut_params.vsi_handle = vsi->idx; in ice_init_rss()
4436 lut_params.vsi_handle = vsi->idx; in ice_get_rss_lut()
4472 lut_params.vsi_handle = vsi->idx; in ice_set_rss_lut()