Searched refs:vsi_handle (Results 1 - 10 of 10) sorted by relevance

/freebsd-current/sys/dev/ice/
H A Dice_sched.h95 u16 vsi_handle; member in struct:ice_sched_agg_vsi_info
183 ice_sched_get_free_qparent(struct ice_port_info *pi, u16 vsi_handle, u8 tc,
186 ice_sched_cfg_vsi(struct ice_port_info *pi, u16 vsi_handle, u8 tc, u16 maxqs,
188 enum ice_status ice_rm_vsi_lan_cfg(struct ice_port_info *pi, u16 vsi_handle);
189 enum ice_status ice_rm_vsi_rdma_cfg(struct ice_port_info *pi, u16 vsi_handle);
192 u16 vsi_handle);
204 ice_move_vsi_to_agg(struct ice_port_info *pi, u32 agg_id, u16 vsi_handle,
208 ice_cfg_q_bw_lmt(struct ice_port_info *pi, u16 vsi_handle, u8 tc,
211 ice_cfg_q_bw_dflt_lmt(struct ice_port_info *pi, u16 vsi_handle, u8 tc,
220 ice_cfg_vsi_bw_lmt_per_tc(struct ice_port_info *pi, u16 vsi_handle, u
[all...]
H A Dice_switch.h167 u16 vsi_handle; member in struct:ice_fltr_info
236 u16 vsi_handle; member in struct:ice_sw_act_ctrl
245 /* vsi_handle for which Rule was added or is supposed to be removed */
246 u16 vsi_handle; member in struct:ice_rule_query_data
455 ice_find_vsi_list_entry(struct ice_sw_recipe *recp_list, u16 vsi_handle,
469 ice_add_vsi(struct ice_hw *hw, u16 vsi_handle, struct ice_vsi_ctx *vsi_ctx,
472 ice_free_vsi(struct ice_hw *hw, u16 vsi_handle, struct ice_vsi_ctx *vsi_ctx,
475 ice_update_vsi(struct ice_hw *hw, u16 vsi_handle, struct ice_vsi_ctx *vsi_ctx,
477 struct ice_vsi_ctx *ice_get_vsi_ctx(struct ice_hw *hw, u16 vsi_handle);
530 ice_cfg_iwarp_fltr(struct ice_hw *hw, u16 vsi_handle, boo
[all...]
H A Dice_switch.c65 ice_vsi_uses_fltr(struct ice_fltr_mgmt_list_entry *fm_entry, u16 vsi_handle);
478 * @vsi_handle: VSI handle
482 bool ice_is_vsi_valid(struct ice_hw *hw, u16 vsi_handle) argument
484 return vsi_handle < ICE_MAX_VSI && hw->vsi_ctx[vsi_handle];
490 * @vsi_handle: VSI handle
495 u16 ice_get_hw_vsi_num(struct ice_hw *hw, u16 vsi_handle) argument
497 return hw->vsi_ctx[vsi_handle]->vsi_num;
503 * @vsi_handle: VSI handle
507 struct ice_vsi_ctx *ice_get_vsi_ctx(struct ice_hw *hw, u16 vsi_handle) argument
521 ice_save_vsi_ctx(struct ice_hw *hw, u16 vsi_handle, struct ice_vsi_ctx *vsi) argument
531 ice_clear_vsi_q_ctx(struct ice_hw *hw, u16 vsi_handle) argument
558 ice_clear_vsi_ctx(struct ice_hw *hw, u16 vsi_handle) argument
594 ice_add_vsi(struct ice_hw *hw, u16 vsi_handle, struct ice_vsi_ctx *vsi_ctx, struct ice_sq_cd *cd) argument
636 ice_free_vsi(struct ice_hw *hw, u16 vsi_handle, struct ice_vsi_ctx *vsi_ctx, bool keep_vsi_alloc, struct ice_sq_cd *cd) argument
660 ice_update_vsi(struct ice_hw *hw, u16 vsi_handle, struct ice_vsi_ctx *vsi_ctx, struct ice_sq_cd *cd) argument
676 ice_cfg_iwarp_fltr(struct ice_hw *hw, u16 vsi_handle, bool enable) argument
1894 u16 vsi_handle = new_fltr->vsi_handle; local
1960 ice_find_vsi_list_entry(struct ice_sw_recipe *recp_list, u16 vsi_handle, u16 *vsi_list_id) argument
2080 ice_rem_update_vsi_list(struct ice_hw *hw, u16 vsi_handle, struct ice_fltr_mgmt_list_entry *fm_list) argument
2174 u16 vsi_handle; local
2366 u16 vsi_handle; local
2518 u16 vsi_list_id = 0, vsi_handle; local
2929 ice_cfg_dflt_vsi(struct ice_port_info *pi, u16 vsi_handle, bool set, u8 direction) argument
2982 ice_check_if_dflt_vsi(struct ice_port_info *pi, u16 vsi_handle, bool *rule_exists) argument
3069 u16 vsi_handle; local
3165 ice_vsi_uses_fltr(struct ice_fltr_mgmt_list_entry *fm_entry, u16 vsi_handle) argument
3189 ice_add_entry_to_vsi_fltr_list(struct ice_hw *hw, u16 vsi_handle, struct LIST_HEAD_TYPE *vsi_list_head, struct ice_fltr_info *fi) argument
3232 ice_add_to_vsi_fltr_list(struct ice_hw *hw, u16 vsi_handle, struct LIST_HEAD_TYPE *lkup_list_head, struct LIST_HEAD_TYPE *vsi_list_head) argument
3311 _ice_get_vsi_promisc(struct ice_hw *hw, u16 vsi_handle, ice_bitmap_t *promisc_mask, u16 *vid, struct ice_switch_info *sw, enum ice_sw_lkup_type lkup) argument
3357 ice_get_vsi_promisc(struct ice_hw *hw, u16 vsi_handle, ice_bitmap_t *promisc_mask, u16 *vid) argument
3375 ice_get_vsi_vlan_promisc(struct ice_hw *hw, u16 vsi_handle, ice_bitmap_t *promisc_mask, u16 *vid) argument
3419 _ice_clear_vsi_promisc(struct ice_hw *hw, u16 vsi_handle, ice_bitmap_t *promisc_mask, u16 vid, struct ice_switch_info *sw) argument
3499 ice_clear_vsi_promisc(struct ice_hw *hw, u16 vsi_handle, ice_bitmap_t *promisc_mask, u16 vid) argument
3519 _ice_set_vsi_promisc(struct ice_hw *hw, u16 vsi_handle, ice_bitmap_t *promisc_mask, u16 vid, u8 lport, struct ice_switch_info *sw) argument
3651 ice_set_vsi_promisc(struct ice_hw *hw, u16 vsi_handle, ice_bitmap_t *promisc_mask, u16 vid) argument
3674 _ice_set_vlan_vsi_promisc(struct ice_hw *hw, u16 vsi_handle, ice_bitmap_t *promisc_mask, bool rm_vlan_promisc, u8 lport, struct ice_switch_info *sw) argument
3736 ice_set_vlan_vsi_promisc(struct ice_hw *hw, u16 vsi_handle, ice_bitmap_t *promisc_mask, bool rm_vlan_promisc) argument
3755 ice_remove_vsi_lkup_fltr(struct ice_hw *hw, u16 vsi_handle, struct ice_sw_recipe *recp_list, enum ice_sw_lkup_type lkup) argument
3817 ice_remove_vsi_fltr_rule(struct ice_hw *hw, u16 vsi_handle, struct ice_switch_info *sw) argument
3845 ice_remove_vsi_fltr(struct ice_hw *hw, u16 vsi_handle) argument
4174 u16 vsi_handle; local
4249 ice_replay_vsi_fltr(struct ice_hw *hw, struct ice_port_info *pi, struct ice_switch_info *sw, u16 vsi_handle, u8 recp_id, struct LIST_HEAD_TYPE *list_head) argument
4312 ice_replay_vsi_all_fltr(struct ice_hw *hw, struct ice_port_info *pi, u16 vsi_handle) argument
[all...]
H A Dice_flow.c782 * @vsi_handle: software VSI handle to check VSI (ICE_FLOW_FIND_PROF_CHK_VSI)
788 u8 segs_cnt, u16 vsi_handle, u32 conds)
800 ice_is_vsi_valid(hw, vsi_handle) &&
801 !ice_is_bit_set(p->vsis, vsi_handle))
999 * @vsi_handle: software VSI handle
1007 ice_flow_assoc_vsig_vsi(struct ice_hw *hw, enum ice_block blk, u16 vsi_handle, argument
1012 if (!ice_is_vsi_valid(hw, vsi_handle) || blk >= ICE_BLK_COUNT)
1016 status = ice_add_vsi_flow(hw, blk, ice_get_hw_vsi_num(hw, vsi_handle),
1028 * @vsi_handle: software VSI handle
1035 struct ice_flow_prof *prof, u16 vsi_handle)
786 ice_flow_find_prof_conds(struct ice_hw *hw, enum ice_block blk, enum ice_flow_dir dir, struct ice_flow_seg_info *segs, u8 segs_cnt, u16 vsi_handle, u32 conds) argument
1034 ice_flow_assoc_prof(struct ice_hw *hw, enum ice_block blk, struct ice_flow_prof *prof, u16 vsi_handle) argument
1065 ice_flow_disassoc_prof(struct ice_hw *hw, enum ice_block blk, struct ice_flow_prof *prof, u16 vsi_handle) argument
1336 ice_rem_vsi_rss_list(struct ice_hw *hw, u16 vsi_handle) argument
1363 ice_rem_vsi_rss_cfg(struct ice_hw *hw, u16 vsi_handle) argument
1440 ice_rem_rss_list(struct ice_hw *hw, u16 vsi_handle, struct ice_flow_prof *prof) argument
1481 ice_add_rss_list(struct ice_hw *hw, u16 vsi_handle, struct ice_flow_prof *prof) argument
1549 ice_add_rss_cfg_sync(struct ice_hw *hw, u16 vsi_handle, const struct ice_rss_hash_cfg *cfg) argument
1661 ice_add_rss_cfg(struct ice_hw *hw, u16 vsi_handle, const struct ice_rss_hash_cfg *cfg) argument
1699 ice_rem_rss_cfg_sync(struct ice_hw *hw, u16 vsi_handle, const struct ice_rss_hash_cfg *cfg) argument
1759 ice_rem_rss_cfg(struct ice_hw *hw, u16 vsi_handle, const struct ice_rss_hash_cfg *cfg) argument
1831 ice_add_avf_rss_cfg(struct ice_hw *hw, u16 vsi_handle, u64 avf_hash) argument
1923 ice_replay_rss_cfg(struct ice_hw *hw, u16 vsi_handle) argument
1954 ice_get_rss_cfg(struct ice_hw *hw, u16 vsi_handle, u32 hdrs) argument
[all...]
H A Dice_sched.c588 * @vsi_handle: VSI handle
593 ice_alloc_lan_q_ctx(struct ice_hw *hw, u16 vsi_handle, u8 tc, u16 new_numqs) argument
598 vsi_ctx = ice_get_vsi_ctx(hw, vsi_handle);
630 * @vsi_handle: VSI handle
635 ice_alloc_rdma_q_ctx(struct ice_hw *hw, u16 vsi_handle, u8 tc, u16 new_numqs) argument
640 vsi_ctx = ice_get_vsi_ctx(hw, vsi_handle);
1605 * @vsi_handle: software VSI handle
1612 ice_sched_get_free_qparent(struct ice_port_info *pi, u16 vsi_handle, u8 tc, argument
1624 vsi_ctx = ice_get_vsi_ctx(pi->hw, vsi_handle);
1657 * @vsi_handle
1663 ice_sched_get_vsi_node(struct ice_port_info *pi, struct ice_sched_node *tc_node, u16 vsi_handle) argument
1781 ice_sched_add_vsi_child_nodes(struct ice_port_info *pi, u16 vsi_handle, struct ice_sched_node *tc_node, u16 *num_nodes, u8 owner) argument
1886 ice_sched_add_vsi_support_nodes(struct ice_port_info *pi, u16 vsi_handle, struct ice_sched_node *tc_node, u16 *num_nodes) argument
1936 ice_sched_add_vsi_to_topo(struct ice_port_info *pi, u16 vsi_handle, u8 tc) argument
1964 ice_sched_update_vsi_child_nodes(struct ice_port_info *pi, u16 vsi_handle, u8 tc, u16 new_numqs, u8 owner) argument
2039 ice_sched_cfg_vsi(struct ice_port_info *pi, u16 vsi_handle, u8 tc, u16 maxqs, u8 owner, bool enable) argument
2115 ice_sched_rm_agg_vsi_info(struct ice_port_info *pi, u16 vsi_handle) argument
2164 ice_sched_rm_vsi_cfg(struct ice_port_info *pi, u16 vsi_handle, u8 owner) argument
2235 ice_rm_vsi_lan_cfg(struct ice_port_info *pi, u16 vsi_handle) argument
2248 ice_rm_vsi_rdma_cfg(struct ice_port_info *pi, u16 vsi_handle) argument
2472 ice_sched_move_vsi_to_agg(struct ice_port_info *pi, u16 vsi_handle, u32 agg_id, u8 tc) argument
2564 u16 vsi_handle = agg_vsi_info->vsi_handle; local
2899 ice_get_agg_vsi_info(struct ice_sched_agg_info *agg_info, u16 vsi_handle) argument
2921 ice_get_vsi_agg_info(struct ice_hw *hw, u16 vsi_handle) argument
2947 ice_save_agg_vsi_tc_bitmap(struct ice_port_info *pi, u32 agg_id, u16 vsi_handle, ice_bitmap_t *tc_bitmap) argument
2977 ice_sched_assoc_vsi_to_agg(struct ice_port_info *pi, u32 agg_id, u16 vsi_handle, ice_bitmap_t *tc_bitmap) argument
3154 ice_move_vsi_to_agg(struct ice_port_info *pi, u32 agg_id, u16 vsi_handle, u8 tc_bitmap) argument
3261 ice_sched_save_vsi_bw_alloc(struct ice_port_info *pi, u16 vsi_handle, u8 tc, enum ice_rl_type rl_type, u16 bw_alloc) argument
3354 ice_sched_save_vsi_bw(struct ice_port_info *pi, u16 vsi_handle, u8 tc, enum ice_rl_type rl_type, u32 bw) argument
3406 ice_sched_save_vsi_prio(struct ice_port_info *pi, u16 vsi_handle, u8 tc, u8 prio) argument
3505 ice_cfg_vsi_bw_lmt_per_tc(struct ice_port_info *pi, u16 vsi_handle, u8 tc, enum ice_rl_type rl_type, u32 bw) argument
3532 ice_cfg_vsi_bw_dflt_lmt_per_tc(struct ice_port_info *pi, u16 vsi_handle, u8 tc, enum ice_rl_type rl_type) argument
3617 ice_cfg_vsi_bw_shared_lmt(struct ice_port_info *pi, u16 vsi_handle, u32 min_bw, u32 max_bw, u32 shared_bw) argument
3633 ice_cfg_vsi_bw_no_shared_lmt(struct ice_port_info *pi, u16 vsi_handle) argument
3801 u16 vsi_handle; local
3852 ice_cfg_vsi_bw_alloc(struct ice_port_info *pi, u16 vsi_handle, u8 ena_tcmap, enum ice_rl_type rl_type, u8 *bw_alloc) argument
4602 ice_sched_set_q_bw_lmt(struct ice_port_info *pi, u16 vsi_handle, u8 tc, u16 q_handle, enum ice_rl_type rl_type, u32 bw) argument
4665 ice_cfg_q_bw_lmt(struct ice_port_info *pi, u16 vsi_handle, u8 tc, u16 q_handle, enum ice_rl_type rl_type, u32 bw) argument
4683 ice_cfg_q_bw_dflt_lmt(struct ice_port_info *pi, u16 vsi_handle, u8 tc, u16 q_handle, enum ice_rl_type rl_type) argument
4880 ice_sched_set_agg_bw_dflt_lmt(struct ice_port_info *pi, u16 vsi_handle) argument
4939 u16 vsi_handle = (u16)id; local
5035 ice_sched_validate_vsi_srl_node(struct ice_port_info *pi, u16 vsi_handle) argument
5090 ice_sched_set_save_vsi_srl_node_bw(struct ice_port_info *pi, u16 vsi_handle, u8 tc, struct ice_sched_node *srl_node, enum ice_rl_type rl_type, u32 bw) argument
5122 ice_sched_set_vsi_node_srl_per_tc(struct ice_port_info *pi, u16 vsi_handle, u8 tc, u32 min_bw, u32 max_bw, u32 shared_bw) argument
5176 ice_sched_set_vsi_bw_shared_lmt(struct ice_port_info *pi, u16 vsi_handle, u32 min_bw, u32 max_bw, u32 shared_bw) argument
5833 ice_sched_replay_vsi_bw(struct ice_hw *hw, u16 vsi_handle, ice_bitmap_t *tc_bitmap) argument
5873 ice_sched_replay_vsi_agg(struct ice_hw *hw, u16 vsi_handle) argument
5923 ice_replay_vsi_agg(struct ice_hw *hw, u16 vsi_handle) argument
[all...]
H A Dice_flow.h334 ice_flow_assoc_vsig_vsi(struct ice_hw *hw, enum ice_block blk, u16 vsi_handle,
342 void ice_rem_vsi_rss_list(struct ice_hw *hw, u16 vsi_handle);
343 enum ice_status ice_replay_rss_cfg(struct ice_hw *hw, u16 vsi_handle);
345 ice_add_avf_rss_cfg(struct ice_hw *hw, u16 vsi_handle, u64 hashed_flds);
346 enum ice_status ice_rem_vsi_rss_cfg(struct ice_hw *hw, u16 vsi_handle);
348 ice_add_rss_cfg(struct ice_hw *hw, u16 vsi_handle,
351 ice_rem_rss_cfg(struct ice_hw *hw, u16 vsi_handle,
353 u64 ice_get_rss_cfg(struct ice_hw *hw, u16 vsi_handle, u32 hdrs);
H A Dice_common.h137 ice_aq_get_rss_key(struct ice_hw *hw, u16 vsi_handle,
140 ice_aq_set_rss_key(struct ice_hw *hw, u16 vsi_handle,
273 ice_cfg_vsi_rdma(struct ice_port_info *pi, u16 vsi_handle, u16 tc_bitmap,
276 ice_ena_vsi_rdma_qset(struct ice_port_info *pi, u16 vsi_handle, u8 tc,
282 ice_dis_vsi_txq(struct ice_port_info *pi, u16 vsi_handle, u8 tc, u8 num_queues,
287 ice_cfg_vsi_lan(struct ice_port_info *pi, u16 vsi_handle, u16 tc_bitmap,
290 ice_ena_vsi_txq(struct ice_port_info *pi, u16 vsi_handle, u8 tc, u16 q_handle,
295 enum ice_status ice_replay_vsi(struct ice_hw *hw, u16 vsi_handle);
298 ice_get_lan_q_ctx(struct ice_hw *hw, u16 vsi_handle, u8 tc, u16 q_handle);
310 ice_stat_update_repc(struct ice_hw *hw, u16 vsi_handle, boo
[all...]
H A Dice_common.c4120 u16 flags, vsi_id, lut_type, lut_size, glob_lut_idx = 0, vsi_handle; local
4129 vsi_handle = params->vsi_handle;
4137 if (!lut || !lut_size || !ice_is_vsi_valid(hw, vsi_handle))
4146 vsi_id = ice_get_hw_vsi_num(hw, vsi_handle);
4236 * @vsi_handle: software VSI handle
4242 ice_aq_get_rss_key(struct ice_hw *hw, u16 vsi_handle, argument
4245 if (!ice_is_vsi_valid(hw, vsi_handle) || !key)
4248 return __ice_aq_get_set_rss_key(hw, ice_get_hw_vsi_num(hw, vsi_handle),
4255 * @vsi_handle
4261 ice_aq_set_rss_key(struct ice_hw *hw, u16 vsi_handle, struct ice_aqc_get_set_rss_keys *keys) argument
5055 ice_get_lan_q_ctx(struct ice_hw *hw, u16 vsi_handle, u8 tc, u16 q_handle) argument
5085 ice_ena_vsi_txq(struct ice_port_info *pi, u16 vsi_handle, u8 tc, u16 q_handle, u8 num_qgrps, struct ice_aqc_add_tx_qgrp *buf, u16 buf_size, struct ice_sq_cd *cd) argument
5190 ice_dis_vsi_txq(struct ice_port_info *pi, u16 vsi_handle, u8 tc, u8 num_queues, u16 *q_handles, u16 *q_ids, u32 *q_teids, enum ice_disq_rst_src rst_src, u16 vmvf_num, struct ice_sq_cd *cd) argument
5268 ice_cfg_vsi_qs(struct ice_port_info *pi, u16 vsi_handle, u16 tc_bitmap, u16 *maxqs, u8 owner) argument
5307 ice_cfg_vsi_lan(struct ice_port_info *pi, u16 vsi_handle, u16 tc_bitmap, u16 *max_lanqs) argument
5324 ice_cfg_vsi_rdma(struct ice_port_info *pi, u16 vsi_handle, u16 tc_bitmap, u16 *max_rdmaqs) argument
5343 ice_ena_vsi_rdma_qset(struct ice_port_info *pi, u16 vsi_handle, u8 tc, u16 *rdma_qset, u16 num_qsets, u32 *qset_teid) argument
5510 ice_is_main_vsi(struct ice_hw *hw, u16 vsi_handle) argument
5554 ice_replay_vsi(struct ice_hw *hw, u16 vsi_handle) argument
5692 ice_stat_update_repc(struct ice_hw *hw, u16 vsi_handle, bool prev_stat_loaded, struct ice_eth_stats *cur_stats) argument
[all...]
H A Dice_type.h93 /* Driver always calls main vsi_handle first */
725 u16 vsi_handle; member in struct:ice_sched_node
1271 u16 vsi_handle; /* software VSI handle */ member in struct:ice_aq_get_set_rss_lut_params
H A Dice_lib.c1915 entry->fltr_info.vsi_handle = vsi->idx;
5213 (info->vsi_handle == vsi->idx) &&
5442 vlan_entries[i].fltr_info.vsi_handle = vsi->idx;
5507 vlan_entries[i].fltr_info.vsi_handle = vsi->idx;
5856 "\nmac = %6D, vsi_handle = %3d, fw_act_flag = %5s, lb_en = %1d, lan_en = %1d, fltr_act = %15s, fltr_rule_id = %d",
5857 fi->l_data.mac.mac_addr, ":", fi->vsi_handle,
5925 "\nvlan_id = %4d, vsi_handle = %3d, fw_act_flag = %5s, lb_en = %1d, lan_en = %1d, fltr_act = %15s, fltr_rule_id = %4d",
5926 fi->l_data.vlan.vlan_id, fi->vsi_handle,
5995 "\nethertype = 0x%04x, vsi_handle = %3d, fw_act_flag = %5s, lb_en = %1d, lan_en = %1d, fltr_act = %15s, fltr_rule_id = %4d",
5997 fi->vsi_handle, ice_fltr_flag_st
[all...]

Completed in 138 milliseconds