Lines Matching refs:fltr_info
2637 if (m_ent->fltr_info.lkup_type != ICE_SW_LKUP_MAC) in ice_add_marker_act()
2661 id = (m_ent->vsi_count > 1) ? m_ent->fltr_info.fwd_id.vsi_list_id : in ice_add_marker_act()
2662 m_ent->fltr_info.fwd_id.hw_vsi_id; in ice_add_marker_act()
2687 ice_fill_sw_rule(hw, &m_ent->fltr_info, rx_tx, in ice_add_marker_act()
2699 rx_tx->index = cpu_to_le16(m_ent->fltr_info.fltr_rule_id); in ice_add_marker_act()
2866 fm_entry->fltr_info = f_entry->fltr_info; in ice_create_pkt_fwd_rule()
2874 ice_fill_sw_rule(hw, &fm_entry->fltr_info, s_rule, in ice_create_pkt_fwd_rule()
2885 f_entry->fltr_info.fltr_rule_id = le16_to_cpu(s_rule->index); in ice_create_pkt_fwd_rule()
2886 fm_entry->fltr_info.fltr_rule_id = le16_to_cpu(s_rule->index); in ice_create_pkt_fwd_rule()
2891 l_type = fm_entry->fltr_info.lkup_type; in ice_create_pkt_fwd_rule()
2952 struct ice_fltr_info *fi = &fm_entry->fltr_info; in ice_update_sw_rule_bridge_mode()
3109 if (!memcmp(&f_info->l_data, &list_itr->fltr_info.l_data, in ice_find_rule_entry()
3111 f_info->flag == list_itr->fltr_info.flag) { in ice_find_rule_entry()
3170 if (!ice_is_vsi_valid(hw, f_entry->fltr_info.vsi_handle)) in ice_add_rule_internal()
3172 f_entry->fltr_info.fwd_id.hw_vsi_id = in ice_add_rule_internal()
3173 ice_get_hw_vsi_num(hw, f_entry->fltr_info.vsi_handle); in ice_add_rule_internal()
3178 new_fltr = &f_entry->fltr_info; in ice_add_rule_internal()
3182 new_fltr->src = f_entry->fltr_info.fwd_id.hw_vsi_id; in ice_add_rule_internal()
3190 cur_fltr = &m_entry->fltr_info; in ice_add_rule_internal()
3247 if (fm_list->fltr_info.fltr_act != ICE_FWD_TO_VSI_LIST || in ice_rem_update_vsi_list()
3255 lkup_type = fm_list->fltr_info.lkup_type; in ice_rem_update_vsi_list()
3256 vsi_list_id = fm_list->fltr_info.fwd_id.vsi_list_id; in ice_rem_update_vsi_list()
3267 struct ice_fltr_info tmp_fltr_info = fm_list->fltr_info; in ice_rem_update_vsi_list()
3296 fm_list->fltr_info = tmp_fltr_info; in ice_rem_update_vsi_list()
3337 if (!ice_is_vsi_valid(hw, f_entry->fltr_info.vsi_handle)) in ice_remove_rule_internal()
3339 f_entry->fltr_info.fwd_id.hw_vsi_id = in ice_remove_rule_internal()
3340 ice_get_hw_vsi_num(hw, f_entry->fltr_info.vsi_handle); in ice_remove_rule_internal()
3344 list_elem = ice_find_rule_entry(hw, recp_id, &f_entry->fltr_info); in ice_remove_rule_internal()
3350 if (list_elem->fltr_info.fltr_act != ICE_FWD_TO_VSI_LIST) { in ice_remove_rule_internal()
3369 vsi_handle = f_entry->fltr_info.vsi_handle; in ice_remove_rule_internal()
3390 ice_fill_sw_rule(hw, &list_elem->fltr_info, s_rule, in ice_remove_rule_internal()
3440 struct ice_fltr_info *f_info = &entry->fltr_info; in ice_vlan_fltr_exist()
3496 u8 *add = &m_list_itr->fltr_info.l_data.mac.mac_addr[0]; in ice_add_mac()
3500 m_list_itr->fltr_info.flag = ICE_FLTR_TX; in ice_add_mac()
3501 vsi_handle = m_list_itr->fltr_info.vsi_handle; in ice_add_mac()
3505 m_list_itr->fltr_info.fwd_id.hw_vsi_id = hw_vsi_id; in ice_add_mac()
3507 if (m_list_itr->fltr_info.src_id != ICE_SRC_ID_VSI) in ice_add_mac()
3509 m_list_itr->fltr_info.src = hw_vsi_id; in ice_add_mac()
3510 if (m_list_itr->fltr_info.lkup_type != ICE_SW_LKUP_MAC || in ice_add_mac()
3539 if (!ice_is_vsi_valid(hw, f_entry->fltr_info.vsi_handle)) in ice_add_vlan_internal()
3542 f_entry->fltr_info.fwd_id.hw_vsi_id = in ice_add_vlan_internal()
3543 ice_get_hw_vsi_num(hw, f_entry->fltr_info.vsi_handle); in ice_add_vlan_internal()
3544 new_fltr = &f_entry->fltr_info; in ice_add_vlan_internal()
3607 cur_fltr = &v_list_itr->fltr_info; in ice_add_vlan_internal()
3647 tmp_fltr = v_list_itr->fltr_info; in ice_add_vlan_internal()
3648 tmp_fltr.fltr_rule_id = v_list_itr->fltr_info.fltr_rule_id; in ice_add_vlan_internal()
3664 v_list_itr->fltr_info.fwd_id.vsi_list_id = vsi_list_id; in ice_add_vlan_internal()
3689 if (v_list_itr->fltr_info.lkup_type != ICE_SW_LKUP_VLAN) in ice_add_vlan()
3691 v_list_itr->fltr_info.flag = ICE_FLTR_TX; in ice_add_vlan()
3717 em_list_itr->fltr_info.lkup_type; in ice_add_eth_mac()
3745 em_list_itr->fltr_info.lkup_type; in ice_remove_eth_mac()
3839 f_list_entry.fltr_info = f_info; in ice_cfg_dflt_vsi()
3859 return ((fm_entry->fltr_info.fltr_act == ICE_FWD_TO_VSI && in ice_vsi_uses_fltr()
3860 fm_entry->fltr_info.vsi_handle == vsi_handle) || in ice_vsi_uses_fltr()
3861 (fm_entry->fltr_info.fltr_act == ICE_FWD_TO_VSI_LIST && in ice_vsi_uses_fltr()
3927 enum ice_sw_lkup_type l_type = list_itr->fltr_info.lkup_type; in ice_remove_mac()
3933 vsi_handle = list_itr->fltr_info.vsi_handle; in ice_remove_mac()
3937 list_itr->fltr_info.fwd_id.hw_vsi_id = in ice_remove_mac()
3962 enum ice_sw_lkup_type l_type = v_list_itr->fltr_info.lkup_type; in ice_remove_vlan()
4002 tmp->fltr_info = *fi; in ice_add_entry_to_vsi_fltr_list()
4009 tmp->fltr_info.fltr_act = ICE_FWD_TO_VSI; in ice_add_entry_to_vsi_fltr_list()
4010 tmp->fltr_info.vsi_handle = vsi_handle; in ice_add_entry_to_vsi_fltr_list()
4011 tmp->fltr_info.fwd_id.hw_vsi_id = ice_get_hw_vsi_num(hw, vsi_handle); in ice_add_entry_to_vsi_fltr_list()
4049 &fm_entry->fltr_info); in ice_add_to_vsi_fltr_list()
4144 struct ice_fltr_info *fltr_info; in ice_clear_vsi_promisc() local
4149 fltr_info = &itr->fltr_info; in ice_clear_vsi_promisc()
4152 vid != fltr_info->l_data.mac_vlan.vlan_id) in ice_clear_vsi_promisc()
4155 fltr_promisc_mask |= ice_determine_promisc_mask(fltr_info); in ice_clear_vsi_promisc()
4163 fltr_info); in ice_clear_vsi_promisc()
4283 f_list_entry.fltr_info = new_fltr; in ice_set_vsi_promisc()
4330 list_itr->fltr_info.l_data.vlan.tpid == 0) in ice_set_vlan_vsi_promisc()
4333 vlan_id = list_itr->fltr_info.l_data.vlan.vlan_id; in ice_set_vlan_vsi_promisc()
6309 f_entry.fltr_info = itr->fltr_info; in ice_replay_vsi_fltr()
6311 itr->fltr_info.vsi_handle == vsi_handle) { in ice_replay_vsi_fltr()
6313 if (f_entry.fltr_info.src_id == ICE_SRC_ID_VSI) in ice_replay_vsi_fltr()
6314 f_entry.fltr_info.src = hw_vsi_id; in ice_replay_vsi_fltr()
6325 f_entry.fltr_info.vsi_handle = vsi_handle; in ice_replay_vsi_fltr()
6326 f_entry.fltr_info.fltr_act = ICE_FWD_TO_VSI; in ice_replay_vsi_fltr()
6328 if (f_entry.fltr_info.src_id == ICE_SRC_ID_VSI) in ice_replay_vsi_fltr()
6329 f_entry.fltr_info.src = hw_vsi_id; in ice_replay_vsi_fltr()