/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ice/ |
H A D | ice_switch.c | 239 * @vsi_handle: VSI handle 243 bool ice_is_vsi_valid(struct ice_hw *hw, u16 vsi_handle) in ice_is_vsi_valid() argument 245 return vsi_handle < ICE_MAX_VSI && hw->vsi_ctx[vsi_handle]; in ice_is_vsi_valid() 251 * @vsi_handle: VSI handle 256 u16 ice_get_hw_vsi_num(struct ice_hw *hw, u16 vsi_handle) in ice_get_hw_vsi_num() argument 258 return hw->vsi_ctx[vsi_handle]->vsi_num; in ice_get_hw_vsi_num() 264 * @vsi_handle: VSI handle 268 struct ice_vsi_ctx *ice_get_vsi_ctx(struct ice_hw *hw, u16 vsi_handle) in ice_get_vsi_ctx() argument 270 return (vsi_handle > in ice_get_vsi_ctx() 282 ice_save_vsi_ctx(struct ice_hw *hw, u16 vsi_handle, struct ice_vsi_ctx *vsi) ice_save_vsi_ctx() argument 292 ice_clear_vsi_q_ctx(struct ice_hw *hw, u16 vsi_handle) ice_clear_vsi_q_ctx() argument 315 ice_clear_vsi_ctx(struct ice_hw *hw, u16 vsi_handle) ice_clear_vsi_ctx() argument 351 ice_add_vsi(struct ice_hw *hw, u16 vsi_handle, struct ice_vsi_ctx *vsi_ctx, struct ice_sq_cd *cd) ice_add_vsi() argument 392 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) ice_free_vsi() argument 416 ice_update_vsi(struct ice_hw *hw, u16 vsi_handle, struct ice_vsi_ctx *vsi_ctx, struct ice_sq_cd *cd) ice_update_vsi() argument 1254 u16 vsi_handle = new_fltr->vsi_handle; ice_add_update_vsi_list() local 1322 ice_find_vsi_list_entry(struct ice_hw *hw, u8 recp_id, u16 vsi_handle, u16 *vsi_list_id) ice_find_vsi_list_entry() argument 1431 ice_rem_update_vsi_list(struct ice_hw *hw, u16 vsi_handle, struct ice_fltr_mgmt_list_entry *fm_list) ice_rem_update_vsi_list() argument 1528 u16 vsi_handle; ice_remove_rule_internal() local 1635 u16 vsi_handle; ice_add_mac() local 1769 u16 vsi_list_id = 0, vsi_handle; ice_add_vlan_internal() local 2026 ice_cfg_dflt_vsi(struct ice_hw *hw, u16 vsi_handle, bool set, u8 direction) ice_cfg_dflt_vsi() argument 2159 u16 vsi_handle; ice_remove_mac() local 2225 ice_vsi_uses_fltr(struct ice_fltr_mgmt_list_entry *fm_entry, u16 vsi_handle) ice_vsi_uses_fltr() argument 2248 ice_add_entry_to_vsi_fltr_list(struct ice_hw *hw, u16 vsi_handle, struct list_head *vsi_list_head, struct ice_fltr_info *fi) ice_add_entry_to_vsi_fltr_list() argument 2291 ice_add_to_vsi_fltr_list(struct ice_hw *hw, u16 vsi_handle, struct list_head *lkup_list_head, struct list_head *vsi_list_head) ice_add_to_vsi_fltr_list() argument 2377 ice_clear_vsi_promisc(struct ice_hw *hw, u16 vsi_handle, u8 promisc_mask, u16 vid) ice_clear_vsi_promisc() argument 2450 ice_set_vsi_promisc(struct ice_hw *hw, u16 vsi_handle, u8 promisc_mask, u16 vid) ice_set_vsi_promisc() argument 2564 ice_set_vlan_vsi_promisc(struct ice_hw *hw, u16 vsi_handle, u8 promisc_mask, bool rm_vlan_promisc) ice_set_vlan_vsi_promisc() argument 2612 ice_remove_vsi_lkup_fltr(struct ice_hw *hw, u16 vsi_handle, enum ice_sw_lkup_type lkup) ice_remove_vsi_lkup_fltr() argument 2666 ice_remove_vsi_fltr(struct ice_hw *hw, u16 vsi_handle) ice_remove_vsi_fltr() argument 2764 ice_replay_vsi_fltr(struct ice_hw *hw, u16 vsi_handle, u8 recp_id, struct list_head *list_head) ice_replay_vsi_fltr() argument 2817 ice_replay_vsi_all_fltr(struct ice_hw *hw, u16 vsi_handle) ice_replay_vsi_all_fltr() argument [all...] |
H A D | ice_switch.h | 110 u16 vsi_handle; member 197 ice_add_vsi(struct ice_hw *hw, u16 vsi_handle, struct ice_vsi_ctx *vsi_ctx, 200 ice_free_vsi(struct ice_hw *hw, u16 vsi_handle, struct ice_vsi_ctx *vsi_ctx, 203 ice_update_vsi(struct ice_hw *hw, u16 vsi_handle, struct ice_vsi_ctx *vsi_ctx, 205 bool ice_is_vsi_valid(struct ice_hw *hw, u16 vsi_handle); 206 struct ice_vsi_ctx *ice_get_vsi_ctx(struct ice_hw *hw, u16 vsi_handle); 226 void ice_remove_vsi_fltr(struct ice_hw *hw, u16 vsi_handle); 233 ice_cfg_dflt_vsi(struct ice_hw *hw, u16 vsi_handle, bool set, u8 direction); 235 ice_set_vsi_promisc(struct ice_hw *hw, u16 vsi_handle, u8 promisc_mask, 238 ice_clear_vsi_promisc(struct ice_hw *hw, u16 vsi_handle, u [all...] |
H A D | ice_flow.c | 596 * @vsi_handle: software VSI handle to check VSI (ICE_FLOW_FIND_PROF_CHK_VSI) 602 u8 segs_cnt, u16 vsi_handle, u32 conds) in ice_flow_find_prof_conds() 614 ice_is_vsi_valid(hw, vsi_handle) && in ice_flow_find_prof_conds() 615 !test_bit(vsi_handle, p->vsis)) in ice_flow_find_prof_conds() 811 * @vsi_handle: software VSI handle 818 struct ice_flow_prof *prof, u16 vsi_handle) in ice_flow_assoc_prof() 822 if (!test_bit(vsi_handle, prof->vsis)) { in ice_flow_assoc_prof() 825 vsi_handle), in ice_flow_assoc_prof() 828 set_bit(vsi_handle, prof->vsis); in ice_flow_assoc_prof() 843 * @vsi_handle 600 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) ice_flow_find_prof_conds() argument 817 ice_flow_assoc_prof(struct ice_hw *hw, enum ice_block blk, struct ice_flow_prof *prof, u16 vsi_handle) ice_flow_assoc_prof() argument 849 ice_flow_disassoc_prof(struct ice_hw *hw, enum ice_block blk, struct ice_flow_prof *prof, u16 vsi_handle) ice_flow_disassoc_prof() argument 953 ice_flow_add_entry(struct ice_hw *hw, enum ice_block blk, u64 prof_id, u64 entry_id, u16 vsi_handle, enum ice_flow_priority prio, void *data, u64 *entry_h) ice_flow_add_entry() argument 1212 ice_rem_vsi_rss_list(struct ice_hw *hw, u16 vsi_handle) ice_rem_vsi_rss_list() argument 1238 ice_rem_vsi_rss_cfg(struct ice_hw *hw, u16 vsi_handle) ice_rem_vsi_rss_cfg() argument 1277 ice_rem_rss_list(struct ice_hw *hw, u16 vsi_handle, struct ice_flow_prof *prof) ice_rem_rss_list() argument 1306 ice_add_rss_list(struct ice_hw *hw, u16 vsi_handle, struct ice_flow_prof *prof) ice_add_rss_list() argument 1362 ice_add_rss_cfg_sync(struct ice_hw *hw, u16 vsi_handle, u64 hashed_flds, u32 addl_hdrs, u8 segs_cnt) ice_add_rss_cfg_sync() argument 1468 ice_add_rss_cfg(struct ice_hw *hw, u16 vsi_handle, u64 hashed_flds, u32 addl_hdrs) ice_add_rss_cfg() argument 1531 ice_add_avf_rss_cfg(struct ice_hw *hw, u16 vsi_handle, u64 avf_hash) ice_add_avf_rss_cfg() argument 1619 ice_replay_rss_cfg(struct ice_hw *hw, u16 vsi_handle) ice_replay_rss_cfg() argument 1658 ice_get_rss_cfg(struct ice_hw *hw, u16 vsi_handle, u32 hdrs) ice_get_rss_cfg() argument [all...] |
H A D | ice_sched.h | 45 u16 vsi_handle; member 75 ice_sched_get_free_qparent(struct ice_port_info *pi, u16 vsi_handle, u8 tc, 78 ice_sched_cfg_vsi(struct ice_port_info *pi, u16 vsi_handle, u8 tc, u16 maxqs, 80 enum ice_status ice_rm_vsi_lan_cfg(struct ice_port_info *pi, u16 vsi_handle); 82 ice_cfg_q_bw_lmt(struct ice_port_info *pi, u16 vsi_handle, u8 tc, 85 ice_cfg_q_bw_dflt_lmt(struct ice_port_info *pi, u16 vsi_handle, u8 tc,
|
H A D | ice_sched.c | 537 * @vsi_handle: VSI handle 542 ice_alloc_lan_q_ctx(struct ice_hw *hw, u16 vsi_handle, u8 tc, u16 new_numqs) in ice_alloc_lan_q_ctx() argument 547 vsi_ctx = ice_get_vsi_ctx(hw, vsi_handle); in ice_alloc_lan_q_ctx() 1328 * @vsi_handle: software VSI handle 1335 ice_sched_get_free_qparent(struct ice_port_info *pi, u16 vsi_handle, u8 tc, in ice_sched_get_free_qparent() argument 1346 vsi_ctx = ice_get_vsi_ctx(pi->hw, vsi_handle); in ice_sched_get_free_qparent() 1373 * @vsi_handle: software VSI handle 1380 u16 vsi_handle) in ice_sched_get_vsi_node() 1390 if (node->vsi_handle == vsi_handle) in ice_sched_get_vsi_node() 1379 ice_sched_get_vsi_node(struct ice_hw *hw, struct ice_sched_node *tc_node, u16 vsi_handle) ice_sched_get_vsi_node() argument 1438 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) ice_sched_add_vsi_child_nodes() argument 1542 ice_sched_add_vsi_support_nodes(struct ice_port_info *pi, u16 vsi_handle, struct ice_sched_node *tc_node, u16 *num_nodes) ice_sched_add_vsi_support_nodes() argument 1591 ice_sched_add_vsi_to_topo(struct ice_port_info *pi, u16 vsi_handle, u8 tc) ice_sched_add_vsi_to_topo() argument 1620 ice_sched_update_vsi_child_nodes(struct ice_port_info *pi, u16 vsi_handle, u8 tc, u16 new_numqs, u8 owner) ice_sched_update_vsi_child_nodes() argument 1683 ice_sched_cfg_vsi(struct ice_port_info *pi, u16 vsi_handle, u8 tc, u16 maxqs, u8 owner, bool enable) ice_sched_cfg_vsi() argument 1758 ice_sched_rm_agg_vsi_info(struct ice_port_info *pi, u16 vsi_handle) ice_sched_rm_agg_vsi_info() argument 1806 ice_sched_rm_vsi_cfg(struct ice_port_info *pi, u16 vsi_handle, u8 owner) ice_sched_rm_vsi_cfg() argument 1876 ice_rm_vsi_lan_cfg(struct ice_port_info *pi, u16 vsi_handle) ice_rm_vsi_lan_cfg() argument 2735 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) ice_sched_set_q_bw_lmt() argument 2798 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) ice_cfg_q_bw_lmt() argument 2816 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) ice_cfg_q_bw_dflt_lmt() argument [all...] |
H A D | ice_common.h | 54 ice_aq_get_rss_lut(struct ice_hw *hw, u16 vsi_handle, u8 lut_type, u8 *lut, 57 ice_aq_set_rss_lut(struct ice_hw *hw, u16 vsi_handle, u8 lut_type, u8 *lut, 60 ice_aq_get_rss_key(struct ice_hw *hw, u16 vsi_handle, 63 ice_aq_set_rss_key(struct ice_hw *hw, u16 vsi_handle, 150 ice_dis_vsi_txq(struct ice_port_info *pi, u16 vsi_handle, u8 tc, u8 num_queues, 155 ice_cfg_vsi_lan(struct ice_port_info *pi, u16 vsi_handle, u8 tc_bitmap, 158 ice_ena_vsi_txq(struct ice_port_info *pi, u16 vsi_handle, u8 tc, u16 q_handle, 161 enum ice_status ice_replay_vsi(struct ice_hw *hw, u16 vsi_handle); 165 ice_get_lan_q_ctx(struct ice_hw *hw, u16 vsi_handle, u8 tc, u16 q_handle);
|
H A D | ice_flow.h | 193 u16 vsi_handle; member 243 void ice_rem_vsi_rss_list(struct ice_hw *hw, u16 vsi_handle); 244 enum ice_status ice_replay_rss_cfg(struct ice_hw *hw, u16 vsi_handle); 246 ice_add_avf_rss_cfg(struct ice_hw *hw, u16 vsi_handle, u64 hashed_flds); 247 enum ice_status ice_rem_vsi_rss_cfg(struct ice_hw *hw, u16 vsi_handle); 249 ice_add_rss_cfg(struct ice_hw *hw, u16 vsi_handle, u64 hashed_flds, 251 u64 ice_get_rss_cfg(struct ice_hw *hw, u16 vsi_handle, u32 hdrs);
|
H A D | ice_common.c | 3328 * @vsi_handle: software VSI handle 3336 ice_aq_get_rss_lut(struct ice_hw *hw, u16 vsi_handle, u8 lut_type, in ice_aq_get_rss_lut() argument 3339 if (!ice_is_vsi_valid(hw, vsi_handle) || !lut) in ice_aq_get_rss_lut() 3342 return __ice_aq_get_set_rss_lut(hw, ice_get_hw_vsi_num(hw, vsi_handle), in ice_aq_get_rss_lut() 3349 * @vsi_handle: software VSI handle 3357 ice_aq_set_rss_lut(struct ice_hw *hw, u16 vsi_handle, u8 lut_type, in ice_aq_set_rss_lut() argument 3360 if (!ice_is_vsi_valid(hw, vsi_handle) || !lut) in ice_aq_set_rss_lut() 3363 return __ice_aq_get_set_rss_lut(hw, ice_get_hw_vsi_num(hw, vsi_handle), in ice_aq_set_rss_lut() 3405 * @vsi_handle: software VSI handle 3411 ice_aq_get_rss_key(struct ice_hw *hw, u16 vsi_handle, in ice_aq_get_rss_key() argument 3430 ice_aq_set_rss_key(struct ice_hw *hw, u16 vsi_handle, struct ice_aqc_get_set_rss_keys *keys) ice_aq_set_rss_key() argument 3833 ice_get_lan_q_ctx(struct ice_hw *hw, u16 vsi_handle, u8 tc, u16 q_handle) ice_get_lan_q_ctx() argument 3863 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) ice_ena_vsi_txq() argument 3968 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) ice_dis_vsi_txq() argument 4046 ice_cfg_vsi_qs(struct ice_port_info *pi, u16 vsi_handle, u8 tc_bitmap, u16 *maxqs, u8 owner) ice_cfg_vsi_qs() argument 4085 ice_cfg_vsi_lan(struct ice_port_info *pi, u16 vsi_handle, u8 tc_bitmap, u16 *max_lanqs) ice_cfg_vsi_lan() argument 4124 ice_replay_vsi(struct ice_hw *hw, u16 vsi_handle) ice_replay_vsi() argument [all...] |
H A D | ice_fltr.c | 141 info.vsi_handle = vsi->idx; in ice_fltr_add_mac_to_list() 166 info.vsi_handle = vsi->idx; in ice_fltr_add_vlan_to_list() 191 info.vsi_handle = vsi->idx; in ice_fltr_add_eth_to_list()
|
H A D | ice_lib.c | 1431 u16 vsi_handle = vsi->idx, vsi_num = vsi->vsi_num; in ice_vsi_set_rss_flow_fld() local 1444 status = ice_add_rss_cfg(hw, vsi_handle, ICE_FLOW_HASH_IPV4, in ice_vsi_set_rss_flow_fld() 1451 status = ice_add_rss_cfg(hw, vsi_handle, ICE_FLOW_HASH_IPV6, in ice_vsi_set_rss_flow_fld() 1458 status = ice_add_rss_cfg(hw, vsi_handle, ICE_HASH_TCP_IPV4, in ice_vsi_set_rss_flow_fld() 1465 status = ice_add_rss_cfg(hw, vsi_handle, ICE_HASH_UDP_IPV4, in ice_vsi_set_rss_flow_fld() 1472 status = ice_add_rss_cfg(hw, vsi_handle, ICE_FLOW_HASH_IPV4, in ice_vsi_set_rss_flow_fld() 1479 status = ice_add_rss_cfg(hw, vsi_handle, ICE_HASH_TCP_IPV6, in ice_vsi_set_rss_flow_fld() 1486 status = ice_add_rss_cfg(hw, vsi_handle, ICE_HASH_UDP_IPV6, in ice_vsi_set_rss_flow_fld() 1493 status = ice_add_rss_cfg(hw, vsi_handle, ICE_FLOW_HASH_IPV6, in ice_vsi_set_rss_flow_fld()
|
H A D | ice_type.h | 34 /* Driver always calls main vsi_handle first */ 376 u16 vsi_handle; member
|
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/ice/ |
H A D | ice_switch.h | 123 u16 vsi_handle; member 175 u16 vsi_handle; member 184 /* vsi_handle for which Rule was added or is supposed to be removed */ 185 u16 vsi_handle; member 338 ice_add_vsi(struct ice_hw *hw, u16 vsi_handle, struct ice_vsi_ctx *vsi_ctx, 341 ice_free_vsi(struct ice_hw *hw, u16 vsi_handle, struct ice_vsi_ctx *vsi_ctx, 344 ice_update_vsi(struct ice_hw *hw, u16 vsi_handle, struct ice_vsi_ctx *vsi_ctx, 346 bool ice_is_vsi_valid(struct ice_hw *hw, u16 vsi_handle); 347 struct ice_vsi_ctx *ice_get_vsi_ctx(struct ice_hw *hw, u16 vsi_handle); 374 bool ice_vlan_fltr_exist(struct ice_hw *hw, u16 vlan_id, u16 vsi_handle); [all...] |
H A D | ice_sched.h | 52 u16 vsi_handle; member 117 ice_sched_get_free_qparent(struct ice_port_info *pi, u16 vsi_handle, u8 tc, 120 ice_sched_cfg_vsi(struct ice_port_info *pi, u16 vsi_handle, u8 tc, u16 maxqs, 122 int ice_rm_vsi_lan_cfg(struct ice_port_info *pi, u16 vsi_handle); 123 int ice_rm_vsi_rdma_cfg(struct ice_port_info *pi, u16 vsi_handle); 130 ice_move_vsi_to_agg(struct ice_port_info *pi, u32 agg_id, u16 vsi_handle, 133 ice_cfg_q_bw_lmt(struct ice_port_info *pi, u16 vsi_handle, u8 tc, 136 ice_cfg_q_bw_dflt_lmt(struct ice_port_info *pi, u16 vsi_handle, u8 tc, 139 ice_cfg_vsi_bw_lmt_per_tc(struct ice_port_info *pi, u16 vsi_handle, u8 tc, 142 ice_cfg_vsi_bw_dflt_lmt_per_tc(struct ice_port_info *pi, u16 vsi_handle, u [all...] |
H A D | ice_flow.c | 1246 * @vsi_handle: software VSI handle to check VSI (ICE_FLOW_FIND_PROF_CHK_VSI) 1252 u8 segs_cnt, u16 vsi_handle, u32 conds) in ice_flow_find_prof_conds() 1264 ice_is_vsi_valid(hw, vsi_handle) && in ice_flow_find_prof_conds() 1265 !test_bit(vsi_handle, p->vsis)) in ice_flow_find_prof_conds() 1453 * @vsi_handle: software VSI handle 1460 struct ice_flow_prof *prof, u16 vsi_handle) in ice_flow_assoc_prof() 1464 if (!test_bit(vsi_handle, prof->vsis)) { in ice_flow_assoc_prof() 1467 vsi_handle), in ice_flow_assoc_prof() 1470 set_bit(vsi_handle, prof->vsis); in ice_flow_assoc_prof() 1484 * @vsi_handle 1250 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) ice_flow_find_prof_conds() argument 1459 ice_flow_assoc_prof(struct ice_hw *hw, enum ice_block blk, struct ice_flow_prof *prof, u16 vsi_handle) ice_flow_assoc_prof() argument 1490 ice_flow_disassoc_prof(struct ice_hw *hw, enum ice_block blk, struct ice_flow_prof *prof, u16 vsi_handle) ice_flow_disassoc_prof() argument 1592 ice_flow_add_entry(struct ice_hw *hw, enum ice_block blk, u64 prof_id, u64 entry_id, u16 vsi_handle, enum ice_flow_priority prio, void *data, u64 *entry_h) ice_flow_add_entry() argument 1802 ice_flow_rem_vsi_prof(struct ice_hw *hw, u16 vsi_handle, u64 prof_id) ice_flow_rem_vsi_prof() argument 1905 ice_rem_vsi_rss_list(struct ice_hw *hw, u16 vsi_handle) ice_rem_vsi_rss_list() argument 1931 ice_rem_vsi_rss_cfg(struct ice_hw *hw, u16 vsi_handle) ice_rem_vsi_rss_cfg() argument 1970 ice_rem_rss_list(struct ice_hw *hw, u16 vsi_handle, struct ice_flow_prof *prof) ice_rem_rss_list() argument 1999 ice_add_rss_list(struct ice_hw *hw, u16 vsi_handle, struct ice_flow_prof *prof) ice_add_rss_list() argument 2055 ice_add_rss_cfg_sync(struct ice_hw *hw, u16 vsi_handle, u64 hashed_flds, u32 addl_hdrs, u8 segs_cnt) ice_add_rss_cfg_sync() argument 2161 ice_add_rss_cfg(struct ice_hw *hw, u16 vsi_handle, u64 hashed_flds, u32 addl_hdrs) ice_add_rss_cfg() argument 2192 ice_rem_rss_cfg_sync(struct ice_hw *hw, u16 vsi_handle, u64 hashed_flds, u32 addl_hdrs, u8 segs_cnt) ice_rem_rss_cfg_sync() argument 2249 ice_rem_rss_cfg(struct ice_hw *hw, u16 vsi_handle, u64 hashed_flds, u32 addl_hdrs) ice_rem_rss_cfg() argument 2311 ice_add_avf_rss_cfg(struct ice_hw *hw, u16 vsi_handle, u64 avf_hash) ice_add_avf_rss_cfg() argument 2399 ice_replay_rss_cfg(struct ice_hw *hw, u16 vsi_handle) ice_replay_rss_cfg() argument 2438 ice_get_rss_cfg(struct ice_hw *hw, u16 vsi_handle, u32 hdrs) ice_get_rss_cfg() argument [all...] |
H A D | ice_sched.c | 563 * @vsi_handle: VSI handle 568 ice_alloc_lan_q_ctx(struct ice_hw *hw, u16 vsi_handle, u8 tc, u16 new_numqs) in ice_alloc_lan_q_ctx() argument 574 vsi_ctx = ice_get_vsi_ctx(hw, vsi_handle); in ice_alloc_lan_q_ctx() 620 * @vsi_handle: VSI handle 625 ice_alloc_rdma_q_ctx(struct ice_hw *hw, u16 vsi_handle, u8 tc, u16 new_numqs) in ice_alloc_rdma_q_ctx() argument 630 vsi_ctx = ice_get_vsi_ctx(hw, vsi_handle); in ice_alloc_rdma_q_ctx() 1514 * @vsi_handle: software VSI handle 1521 ice_sched_get_free_qparent(struct ice_port_info *pi, u16 vsi_handle, u8 tc, in ice_sched_get_free_qparent() argument 1532 vsi_ctx = ice_get_vsi_ctx(pi->hw, vsi_handle); in ice_sched_get_free_qparent() 1559 * @vsi_handle 1565 ice_sched_get_vsi_node(struct ice_port_info *pi, struct ice_sched_node *tc_node, u16 vsi_handle) ice_sched_get_vsi_node() argument 1656 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) ice_sched_add_vsi_child_nodes() argument 1760 ice_sched_add_vsi_support_nodes(struct ice_port_info *pi, u16 vsi_handle, struct ice_sched_node *tc_node, u16 *num_nodes) ice_sched_add_vsi_support_nodes() argument 1810 ice_sched_add_vsi_to_topo(struct ice_port_info *pi, u16 vsi_handle, u8 tc) ice_sched_add_vsi_to_topo() argument 1838 ice_sched_update_vsi_child_nodes(struct ice_port_info *pi, u16 vsi_handle, u8 tc, u16 new_numqs, u8 owner) ice_sched_update_vsi_child_nodes() argument 1913 ice_sched_cfg_vsi(struct ice_port_info *pi, u16 vsi_handle, u8 tc, u16 maxqs, u8 owner, bool enable) ice_sched_cfg_vsi() argument 1989 ice_sched_rm_agg_vsi_info(struct ice_port_info *pi, u16 vsi_handle) ice_sched_rm_agg_vsi_info() argument 2037 ice_sched_rm_vsi_cfg(struct ice_port_info *pi, u16 vsi_handle, u8 owner) ice_sched_rm_vsi_cfg() argument 2108 ice_rm_vsi_lan_cfg(struct ice_port_info *pi, u16 vsi_handle) ice_rm_vsi_lan_cfg() argument 2121 ice_rm_vsi_rdma_cfg(struct ice_port_info *pi, u16 vsi_handle) ice_rm_vsi_rdma_cfg() argument 2295 ice_sched_move_vsi_to_agg(struct ice_port_info *pi, u16 vsi_handle, u32 agg_id, u8 tc) ice_sched_move_vsi_to_agg() argument 2387 u16 vsi_handle = agg_vsi_info->vsi_handle; ice_move_all_vsi_to_dflt_agg() local 2720 ice_get_agg_vsi_info(struct ice_sched_agg_info *agg_info, u16 vsi_handle) ice_get_agg_vsi_info() argument 2741 ice_get_vsi_agg_info(struct ice_hw *hw, u16 vsi_handle) ice_get_vsi_agg_info() argument 2766 ice_save_agg_vsi_tc_bitmap(struct ice_port_info *pi, u32 agg_id, u16 vsi_handle, unsigned long *tc_bitmap) ice_save_agg_vsi_tc_bitmap() argument 2796 ice_sched_assoc_vsi_to_agg(struct ice_port_info *pi, u32 agg_id, u16 vsi_handle, unsigned long *tc_bitmap) ice_sched_assoc_vsi_to_agg() argument 2969 ice_move_vsi_to_agg(struct ice_port_info *pi, u32 agg_id, u16 vsi_handle, u8 tc_bitmap) ice_move_vsi_to_agg() argument 3065 ice_sched_save_vsi_bw(struct ice_port_info *pi, u16 vsi_handle, u8 tc, enum ice_rl_type rl_type, u32 bw) ice_sched_save_vsi_bw() argument 3826 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) ice_sched_set_q_bw_lmt() argument 3889 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) ice_cfg_q_bw_lmt() argument 3907 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) ice_cfg_q_bw_dflt_lmt() argument 3934 u16 vsi_handle = (u16)id; ice_sched_get_node_by_id_type() local 4016 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) ice_cfg_vsi_bw_lmt_per_tc() argument 4043 ice_cfg_vsi_bw_dflt_lmt_per_tc(struct ice_port_info *pi, u16 vsi_handle, u8 tc, enum ice_rl_type rl_type) ice_cfg_vsi_bw_dflt_lmt_per_tc() argument 4285 ice_sched_replay_vsi_agg(struct ice_hw *hw, u16 vsi_handle) ice_sched_replay_vsi_agg() argument 4326 ice_replay_vsi_agg(struct ice_hw *hw, u16 vsi_handle) ice_replay_vsi_agg() argument [all...] |
H A D | ice_switch.c | 1575 * @vsi_handle: VSI handle 1579 bool ice_is_vsi_valid(struct ice_hw *hw, u16 vsi_handle) in ice_is_vsi_valid() argument 1581 return vsi_handle < ICE_MAX_VSI && hw->vsi_ctx[vsi_handle]; in ice_is_vsi_valid() 1587 * @vsi_handle: VSI handle 1592 u16 ice_get_hw_vsi_num(struct ice_hw *hw, u16 vsi_handle) in ice_get_hw_vsi_num() argument 1594 return hw->vsi_ctx[vsi_handle]->vsi_num; in ice_get_hw_vsi_num() 1600 * @vsi_handle: VSI handle 1604 struct ice_vsi_ctx *ice_get_vsi_ctx(struct ice_hw *hw, u16 vsi_handle) in ice_get_vsi_ctx() argument 1606 return (vsi_handle > in ice_get_vsi_ctx() 1618 ice_save_vsi_ctx(struct ice_hw *hw, u16 vsi_handle, struct ice_vsi_ctx *vsi) ice_save_vsi_ctx() argument 1628 ice_clear_vsi_q_ctx(struct ice_hw *hw, u16 vsi_handle) ice_clear_vsi_q_ctx() argument 1650 ice_clear_vsi_ctx(struct ice_hw *hw, u16 vsi_handle) ice_clear_vsi_ctx() argument 1686 ice_add_vsi(struct ice_hw *hw, u16 vsi_handle, struct ice_vsi_ctx *vsi_ctx, struct ice_sq_cd *cd) ice_add_vsi() argument 1727 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) ice_free_vsi() argument 1751 ice_update_vsi(struct ice_hw *hw, u16 vsi_handle, struct ice_vsi_ctx *vsi_ctx, struct ice_sq_cd *cd) ice_update_vsi() argument 1767 ice_cfg_rdma_fltr(struct ice_hw *hw, u16 vsi_handle, bool enable) ice_cfg_rdma_fltr() argument 3063 u16 vsi_handle = new_fltr->vsi_handle; ice_add_update_vsi_list() local 3131 ice_find_vsi_list_entry(struct ice_hw *hw, u8 recp_id, u16 vsi_handle, u16 *vsi_list_id) ice_find_vsi_list_entry() argument 3240 ice_rem_update_vsi_list(struct ice_hw *hw, u16 vsi_handle, struct ice_fltr_mgmt_list_entry *fm_list) ice_rem_update_vsi_list() argument 3334 u16 vsi_handle; ice_remove_rule_internal() local 3417 ice_vlan_fltr_exist(struct ice_hw *hw, u16 vlan_id, u16 vsi_handle) ice_vlan_fltr_exist() argument 3497 u16 vsi_handle; ice_add_mac() local 3535 u16 vsi_list_id = 0, vsi_handle; ice_add_vlan_internal() local 3810 ice_cfg_dflt_vsi(struct ice_port_info *pi, u16 vsi_handle, bool set, u8 direction) ice_cfg_dflt_vsi() argument 3857 ice_vsi_uses_fltr(struct ice_fltr_mgmt_list_entry *fm_entry, u16 vsi_handle) ice_vsi_uses_fltr() argument 3876 ice_check_if_dflt_vsi(struct ice_port_info *pi, u16 vsi_handle, bool *rule_exists) ice_check_if_dflt_vsi() argument 3928 u16 vsi_handle; ice_remove_mac() local 3989 ice_add_entry_to_vsi_fltr_list(struct ice_hw *hw, u16 vsi_handle, struct list_head *vsi_list_head, struct ice_fltr_info *fi) ice_add_entry_to_vsi_fltr_list() argument 4032 ice_add_to_vsi_fltr_list(struct ice_hw *hw, u16 vsi_handle, struct list_head *lkup_list_head, struct list_head *vsi_list_head) ice_add_to_vsi_fltr_list() argument 4117 ice_clear_vsi_promisc(struct ice_hw *hw, u16 vsi_handle, u8 promisc_mask, u16 vid) ice_clear_vsi_promisc() argument 4190 ice_set_vsi_promisc(struct ice_hw *hw, u16 vsi_handle, u8 promisc_mask, u16 vid) ice_set_vsi_promisc() argument 4304 ice_set_vlan_vsi_promisc(struct ice_hw *hw, u16 vsi_handle, u8 promisc_mask, bool rm_vlan_promisc) ice_set_vlan_vsi_promisc() argument 4359 ice_remove_vsi_lkup_fltr(struct ice_hw *hw, u16 vsi_handle, enum ice_sw_lkup_type lkup) ice_remove_vsi_lkup_fltr() argument 4413 ice_remove_vsi_fltr(struct ice_hw *hw, u16 vsi_handle) ice_remove_vsi_fltr() argument 5981 u16 vsi_handle = new_fltr->sw_act.vsi_handle; ice_adv_add_update_vsi_list() local 6061 u16 rid = 0, i, rule_buf_sz, vsi_handle; ice_add_adv_rule() local 6295 ice_replay_vsi_fltr(struct ice_hw *hw, u16 vsi_handle, u8 recp_id, struct list_head *list_head) ice_replay_vsi_fltr() argument 6349 ice_adv_rem_update_vsi_list(struct ice_hw *hw, u16 vsi_handle, struct ice_adv_fltr_mgmt_list_entry *fm_list) ice_adv_rem_update_vsi_list() argument 6455 u16 i, rid, vsi_handle; ice_rem_adv_rule() local 6572 ice_replay_vsi_adv_rule(struct ice_hw *hw, u16 vsi_handle, struct list_head *list_head) ice_replay_vsi_adv_rule() argument 6602 ice_replay_vsi_all_fltr(struct ice_hw *hw, u16 vsi_handle) ice_replay_vsi_all_fltr() argument [all...] |
H A D | ice_flow.h | 356 u16 vsi_handle; member 404 int ice_flow_rem_vsi_prof(struct ice_hw *hw, u16 vsi_handle, u64 prof_id); 405 void ice_rem_vsi_rss_list(struct ice_hw *hw, u16 vsi_handle); 406 int ice_replay_rss_cfg(struct ice_hw *hw, u16 vsi_handle); 407 int ice_add_avf_rss_cfg(struct ice_hw *hw, u16 vsi_handle, u64 hashed_flds); 408 int ice_rem_vsi_rss_cfg(struct ice_hw *hw, u16 vsi_handle); 410 ice_add_rss_cfg(struct ice_hw *hw, u16 vsi_handle, u64 hashed_flds, 413 ice_rem_rss_cfg(struct ice_hw *hw, u16 vsi_handle, u64 hashed_flds, 415 u64 ice_get_rss_cfg(struct ice_hw *hw, u16 vsi_handle, u32 hdrs);
|
H A D | ice_fltr.c | 100 * @vsi_handle: VSI handle to clear mode 105 ice_fltr_clear_vsi_promisc(struct ice_hw *hw, u16 vsi_handle, u8 promisc_mask, in ice_fltr_clear_vsi_promisc() argument 111 result = ice_clear_vsi_promisc(hw, vsi_handle, promisc_mask, vid); in ice_fltr_clear_vsi_promisc() 115 ice_get_hw_vsi_num(hw, vsi_handle), vid, result); in ice_fltr_clear_vsi_promisc() 123 * @vsi_handle: VSI handle to configure 128 ice_fltr_set_vsi_promisc(struct ice_hw *hw, u16 vsi_handle, u8 promisc_mask, in ice_fltr_set_vsi_promisc() argument 134 result = ice_set_vsi_promisc(hw, vsi_handle, promisc_mask, vid); in ice_fltr_set_vsi_promisc() 138 ice_get_hw_vsi_num(hw, vsi_handle), vid, result); in ice_fltr_set_vsi_promisc() 235 info.vsi_handle = vsi->idx; in ice_fltr_add_mac_to_list() 259 info.vsi_handle in ice_fltr_add_vlan_to_list() [all...] |
H A D | ice_common.h | 64 ice_aq_get_rss_key(struct ice_hw *hw, u16 vsi_handle, 67 ice_aq_set_rss_key(struct ice_hw *hw, u16 vsi_handle, 169 ice_cfg_vsi_rdma(struct ice_port_info *pi, u16 vsi_handle, u16 tc_bitmap, 172 ice_ena_vsi_rdma_qset(struct ice_port_info *pi, u16 vsi_handle, u8 tc, 178 ice_dis_vsi_txq(struct ice_port_info *pi, u16 vsi_handle, u8 tc, u8 num_queues, 183 ice_cfg_vsi_lan(struct ice_port_info *pi, u16 vsi_handle, u8 tc_bitmap, 186 ice_ena_vsi_txq(struct ice_port_info *pi, u16 vsi_handle, u8 tc, u16 q_handle, 193 int ice_replay_vsi(struct ice_hw *hw, u16 vsi_handle); 197 ice_get_lan_q_ctx(struct ice_hw *hw, u16 vsi_handle, u8 tc, u16 q_handle);
|
H A D | ice_fltr.h | 17 ice_fltr_clear_vsi_promisc(struct ice_hw *hw, u16 vsi_handle, u8 promisc_mask, 20 ice_fltr_set_vsi_promisc(struct ice_hw *hw, u16 vsi_handle, u8 promisc_mask,
|
H A D | ice_common.c | 3974 u16 opcode, vsi_id, vsi_handle = params->vsi_handle, glob_lut_idx = 0; in __ice_aq_get_set_rss_lut() local 3983 if (!lut || !ice_is_vsi_valid(hw, vsi_handle)) in __ice_aq_get_set_rss_lut() 3998 vsi_id = ice_get_hw_vsi_num(hw, vsi_handle); in __ice_aq_get_set_rss_lut() 4070 * @vsi_handle: software VSI handle 4076 ice_aq_get_rss_key(struct ice_hw *hw, u16 vsi_handle, in ice_aq_get_rss_key() argument 4079 if (!ice_is_vsi_valid(hw, vsi_handle) || !key) in ice_aq_get_rss_key() 4082 return __ice_aq_get_set_rss_key(hw, ice_get_hw_vsi_num(hw, vsi_handle), in ice_aq_get_rss_key() 4089 * @vsi_handle: software VSI handle 4095 ice_aq_set_rss_key(struct ice_hw *hw, u16 vsi_handle, in ice_aq_set_rss_key() argument 4589 ice_get_lan_q_ctx(struct ice_hw *hw, u16 vsi_handle, u8 tc, u16 q_handle) ice_get_lan_q_ctx() argument 4619 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) ice_ena_vsi_txq() argument 4724 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) ice_dis_vsi_txq() argument 4803 ice_cfg_vsi_qs(struct ice_port_info *pi, u16 vsi_handle, u8 tc_bitmap, u16 *maxqs, u8 owner) ice_cfg_vsi_qs() argument 4842 ice_cfg_vsi_lan(struct ice_port_info *pi, u16 vsi_handle, u8 tc_bitmap, u16 *max_lanqs) ice_cfg_vsi_lan() argument 4859 ice_cfg_vsi_rdma(struct ice_port_info *pi, u16 vsi_handle, u16 tc_bitmap, u16 *max_rdmaqs) ice_cfg_vsi_rdma() argument 4878 ice_ena_vsi_rdma_qset(struct ice_port_info *pi, u16 vsi_handle, u8 tc, u16 *rdma_qset, u16 num_qsets, u32 *qset_teid) ice_ena_vsi_rdma_qset() argument 5034 ice_replay_vsi(struct ice_hw *hw, u16 vsi_handle) ice_replay_vsi() argument [all...] |
H A D | ice_tc_lib.c | 752 rule_info.sw_act.vsi_handle = fltr->dest_vsi->idx; in ice_eswitch_add_tc_fltr() 798 fltr->dest_vsi_handle = rule_added.vsi_handle; in ice_eswitch_add_tc_fltr() 980 rule_info.sw_act.vsi_handle = dest_vsi->idx; in ice_add_tc_flower_adv_fltr() 985 rule_info.sw_act.vsi_handle, lkups_cnt); in ice_add_tc_flower_adv_fltr() 990 rule_info.sw_act.vsi_handle = dest_vsi->idx; in ice_add_tc_flower_adv_fltr() 1024 tc_fltr->dest_vsi_handle = rule_added.vsi_handle; in ice_add_tc_flower_adv_fltr() 1044 rule_added.rule_id, rule_added.vsi_handle); in ice_add_tc_flower_adv_fltr() 1853 rule_rem.vsi_handle = fltr->dest_vsi_handle; in ice_del_tc_fltr()
|
H A D | ice_lib.c | 1623 u16 vsi_handle = vsi->idx, vsi_num = vsi->vsi_num; in ice_vsi_set_rss_flow_fld() local 1636 status = ice_add_rss_cfg(hw, vsi_handle, ICE_FLOW_HASH_IPV4, in ice_vsi_set_rss_flow_fld() 1643 status = ice_add_rss_cfg(hw, vsi_handle, ICE_FLOW_HASH_IPV6, in ice_vsi_set_rss_flow_fld() 1650 status = ice_add_rss_cfg(hw, vsi_handle, ICE_HASH_TCP_IPV4, in ice_vsi_set_rss_flow_fld() 1657 status = ice_add_rss_cfg(hw, vsi_handle, ICE_HASH_UDP_IPV4, in ice_vsi_set_rss_flow_fld() 1664 status = ice_add_rss_cfg(hw, vsi_handle, ICE_FLOW_HASH_IPV4, in ice_vsi_set_rss_flow_fld() 1671 status = ice_add_rss_cfg(hw, vsi_handle, ICE_HASH_TCP_IPV6, in ice_vsi_set_rss_flow_fld() 1678 status = ice_add_rss_cfg(hw, vsi_handle, ICE_HASH_UDP_IPV6, in ice_vsi_set_rss_flow_fld() 1685 status = ice_add_rss_cfg(hw, vsi_handle, ICE_FLOW_HASH_IPV6, in ice_vsi_set_rss_flow_fld() 1691 status = ice_add_rss_cfg(hw, vsi_handle, ICE_FLOW_HASH_ESP_SP in ice_vsi_set_rss_flow_fld() [all...] |
H A D | ice_eswitch_br.c | 73 rule_info->sw_act.vsi_handle = vf_vsi_idx; in ice_eswitch_br_ingress_rule_setup() 83 rule_info->sw_act.vsi_handle = pf_vsi_idx; in ice_eswitch_br_egress_rule_setup() 208 rule_info.sw_act.vsi_handle = vsi_idx; in ice_eswitch_br_guard_rule_create()
|
H A D | ice_type.h | 37 /* Driver always calls main vsi_handle first */ 537 u16 vsi_handle; member 1046 u16 vsi_handle; /* software VSI handle */ member
|