/linux-6.1.9/drivers/net/ethernet/intel/ice/ |
D | ice_switch.h | 114 u16 vsi_handle; member 166 u16 vsi_handle; member 176 u16 vsi_handle; member 323 ice_add_vsi(struct ice_hw *hw, u16 vsi_handle, struct ice_vsi_ctx *vsi_ctx, 326 ice_free_vsi(struct ice_hw *hw, u16 vsi_handle, struct ice_vsi_ctx *vsi_ctx, 329 ice_update_vsi(struct ice_hw *hw, u16 vsi_handle, struct ice_vsi_ctx *vsi_ctx, 331 bool ice_is_vsi_valid(struct ice_hw *hw, u16 vsi_handle); 332 struct ice_vsi_ctx *ice_get_vsi_ctx(struct ice_hw *hw, u16 vsi_handle); 354 bool ice_mac_fltr_exist(struct ice_hw *hw, u8 *mac, u16 vsi_handle); 355 bool ice_vlan_fltr_exist(struct ice_hw *hw, u16 vlan_id, u16 vsi_handle); [all …]
|
D | ice_sched.h | 50 u16 vsi_handle; member 88 ice_sched_get_free_qparent(struct ice_port_info *pi, u16 vsi_handle, u8 tc, 91 ice_sched_cfg_vsi(struct ice_port_info *pi, u16 vsi_handle, u8 tc, u16 maxqs, 93 int ice_rm_vsi_lan_cfg(struct ice_port_info *pi, u16 vsi_handle); 94 int ice_rm_vsi_rdma_cfg(struct ice_port_info *pi, u16 vsi_handle); 101 ice_move_vsi_to_agg(struct ice_port_info *pi, u32 agg_id, u16 vsi_handle, 104 ice_cfg_q_bw_lmt(struct ice_port_info *pi, u16 vsi_handle, u8 tc, 107 ice_cfg_q_bw_dflt_lmt(struct ice_port_info *pi, u16 vsi_handle, u8 tc, 110 ice_cfg_vsi_bw_lmt_per_tc(struct ice_port_info *pi, u16 vsi_handle, u8 tc, 113 ice_cfg_vsi_bw_dflt_lmt_per_tc(struct ice_port_info *pi, u16 vsi_handle, u8 tc, [all …]
|
D | ice_flow.c | 1252 u8 segs_cnt, u16 vsi_handle, u32 conds) in ice_flow_find_prof_conds() argument 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() 1476 struct ice_flow_prof *prof, u16 vsi_handle) in ice_flow_assoc_prof() argument 1480 if (!test_bit(vsi_handle, prof->vsis)) { in ice_flow_assoc_prof() 1483 vsi_handle), in ice_flow_assoc_prof() 1486 set_bit(vsi_handle, prof->vsis); in ice_flow_assoc_prof() 1507 struct ice_flow_prof *prof, u16 vsi_handle) in ice_flow_disassoc_prof() argument 1511 if (test_bit(vsi_handle, prof->vsis)) { in ice_flow_disassoc_prof() 1514 vsi_handle), in ice_flow_disassoc_prof() [all …]
|
D | ice_switch.c | 1588 bool ice_is_vsi_valid(struct ice_hw *hw, u16 vsi_handle) in ice_is_vsi_valid() argument 1590 return vsi_handle < ICE_MAX_VSI && hw->vsi_ctx[vsi_handle]; in ice_is_vsi_valid() 1601 u16 ice_get_hw_vsi_num(struct ice_hw *hw, u16 vsi_handle) in ice_get_hw_vsi_num() argument 1603 return hw->vsi_ctx[vsi_handle]->vsi_num; in ice_get_hw_vsi_num() 1613 struct ice_vsi_ctx *ice_get_vsi_ctx(struct ice_hw *hw, u16 vsi_handle) in ice_get_vsi_ctx() argument 1615 return (vsi_handle >= ICE_MAX_VSI) ? NULL : hw->vsi_ctx[vsi_handle]; in ice_get_vsi_ctx() 1627 ice_save_vsi_ctx(struct ice_hw *hw, u16 vsi_handle, struct ice_vsi_ctx *vsi) in ice_save_vsi_ctx() argument 1629 hw->vsi_ctx[vsi_handle] = vsi; in ice_save_vsi_ctx() 1637 static void ice_clear_vsi_q_ctx(struct ice_hw *hw, u16 vsi_handle) in ice_clear_vsi_q_ctx() argument 1642 vsi = ice_get_vsi_ctx(hw, vsi_handle); in ice_clear_vsi_q_ctx() [all …]
|
D | ice_sched.c | 562 ice_alloc_lan_q_ctx(struct ice_hw *hw, u16 vsi_handle, u8 tc, u16 new_numqs) in ice_alloc_lan_q_ctx() argument 567 vsi_ctx = ice_get_vsi_ctx(hw, vsi_handle); in ice_alloc_lan_q_ctx() 606 ice_alloc_rdma_q_ctx(struct ice_hw *hw, u16 vsi_handle, u8 tc, u16 new_numqs) in ice_alloc_rdma_q_ctx() argument 611 vsi_ctx = ice_get_vsi_ctx(hw, vsi_handle); in ice_alloc_rdma_q_ctx() 1483 ice_sched_get_free_qparent(struct ice_port_info *pi, u16 vsi_handle, u8 tc, in ice_sched_get_free_qparent() argument 1494 vsi_ctx = ice_get_vsi_ctx(pi->hw, vsi_handle); in ice_sched_get_free_qparent() 1528 u16 vsi_handle) in ice_sched_get_vsi_node() argument 1538 if (node->vsi_handle == vsi_handle) in ice_sched_get_vsi_node() 1618 ice_sched_add_vsi_child_nodes(struct ice_port_info *pi, u16 vsi_handle, in ice_sched_add_vsi_child_nodes() argument 1631 parent = ice_sched_get_vsi_node(pi, tc_node, vsi_handle); in ice_sched_add_vsi_child_nodes() [all …]
|
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);
|
D | ice_fltr.c | 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() 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() 230 info.vsi_handle = vsi->idx; in ice_fltr_add_mac_to_list() 254 info.vsi_handle = vsi->idx; in ice_fltr_add_vlan_to_list() 281 info.vsi_handle = vsi->idx; in ice_fltr_add_eth_to_list()
|
D | ice_common.h | 65 ice_aq_get_rss_key(struct ice_hw *hw, u16 vsi_handle, 68 ice_aq_set_rss_key(struct ice_hw *hw, u16 vsi_handle, 168 ice_cfg_vsi_rdma(struct ice_port_info *pi, u16 vsi_handle, u16 tc_bitmap, 171 ice_ena_vsi_rdma_qset(struct ice_port_info *pi, u16 vsi_handle, u8 tc, 177 ice_dis_vsi_txq(struct ice_port_info *pi, u16 vsi_handle, u8 tc, u8 num_queues, 182 ice_cfg_vsi_lan(struct ice_port_info *pi, u16 vsi_handle, u8 tc_bitmap, 185 ice_ena_vsi_txq(struct ice_port_info *pi, u16 vsi_handle, u8 tc, u16 q_handle, 188 int ice_replay_vsi(struct ice_hw *hw, u16 vsi_handle); 192 ice_get_lan_q_ctx(struct ice_hw *hw, u16 vsi_handle, u8 tc, u16 q_handle);
|
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,
|
D | ice_common.c | 3869 u16 flags = 0, vsi_id, lut_type, lut_size, glob_lut_idx, vsi_handle; in __ice_aq_get_set_rss_lut() local 3878 vsi_handle = params->vsi_handle; in __ice_aq_get_set_rss_lut() 3881 if (!ice_is_vsi_valid(hw, vsi_handle) || !lut) in __ice_aq_get_set_rss_lut() 3887 vsi_id = ice_get_hw_vsi_num(hw, vsi_handle); in __ice_aq_get_set_rss_lut() 4027 ice_aq_get_rss_key(struct ice_hw *hw, u16 vsi_handle, in ice_aq_get_rss_key() argument 4030 if (!ice_is_vsi_valid(hw, vsi_handle) || !key) in ice_aq_get_rss_key() 4033 return __ice_aq_get_set_rss_key(hw, ice_get_hw_vsi_num(hw, vsi_handle), in ice_aq_get_rss_key() 4046 ice_aq_set_rss_key(struct ice_hw *hw, u16 vsi_handle, in ice_aq_set_rss_key() argument 4049 if (!ice_is_vsi_valid(hw, vsi_handle) || !keys) in ice_aq_set_rss_key() 4052 return __ice_aq_get_set_rss_key(hw, ice_get_hw_vsi_num(hw, vsi_handle), in ice_aq_set_rss_key() [all …]
|
D | ice_tc_lib.c | 688 rule_info.sw_act.vsi_handle = fltr->dest_vsi->idx; in ice_eswitch_add_tc_fltr() 727 fltr->dest_id = rule_added.vsi_handle; in ice_eswitch_add_tc_fltr() 801 rule_info.sw_act.vsi_handle = ch_vsi->idx; in ice_add_tc_flower_adv_fltr() 807 rule_info.sw_act.vsi_handle, lkups_cnt); in ice_add_tc_flower_adv_fltr() 846 tc_fltr->dest_id = rule_added.vsi_handle; in ice_add_tc_flower_adv_fltr() 857 rule_added.rule_id, rule_added.vsi_handle); in ice_add_tc_flower_adv_fltr() 1621 rule_rem.vsi_handle = fltr->dest_id; in ice_del_tc_fltr()
|
D | ice_lib.c | 1691 u16 vsi_handle = vsi->idx, vsi_num = vsi->vsi_num; in ice_vsi_set_rss_flow_fld() local 1704 status = ice_add_rss_cfg(hw, vsi_handle, ICE_FLOW_HASH_IPV4, in ice_vsi_set_rss_flow_fld() 1711 status = ice_add_rss_cfg(hw, vsi_handle, ICE_FLOW_HASH_IPV6, in ice_vsi_set_rss_flow_fld() 1718 status = ice_add_rss_cfg(hw, vsi_handle, ICE_HASH_TCP_IPV4, in ice_vsi_set_rss_flow_fld() 1725 status = ice_add_rss_cfg(hw, vsi_handle, ICE_HASH_UDP_IPV4, in ice_vsi_set_rss_flow_fld() 1732 status = ice_add_rss_cfg(hw, vsi_handle, ICE_FLOW_HASH_IPV4, in ice_vsi_set_rss_flow_fld() 1739 status = ice_add_rss_cfg(hw, vsi_handle, ICE_HASH_TCP_IPV6, in ice_vsi_set_rss_flow_fld() 1746 status = ice_add_rss_cfg(hw, vsi_handle, ICE_HASH_UDP_IPV6, in ice_vsi_set_rss_flow_fld() 1753 status = ice_add_rss_cfg(hw, vsi_handle, ICE_FLOW_HASH_IPV6, in ice_vsi_set_rss_flow_fld() 1759 status = ice_add_rss_cfg(hw, vsi_handle, ICE_FLOW_HASH_ESP_SPI, in ice_vsi_set_rss_flow_fld()
|
D | ice_type.h | 528 u16 vsi_handle; member 1030 u16 vsi_handle; /* software VSI handle */ member
|
D | ice_eswitch.c | 40 rule_info.sw_act.vsi_handle = ctrl_vsi->idx; in ice_eswitch_add_vf_mac_rule()
|
D | ice_main.c | 7445 params.vsi_handle = vsi->idx; in ice_set_rss_lut() 7498 params.vsi_handle = vsi->idx; in ice_get_rss_lut() 8286 rule.vsi_handle = fltr->dest_id; in ice_rem_all_chnl_fltrs()
|