Lines Matching refs:new_fltr

3125 			struct ice_fltr_info *new_fltr)  in ice_add_update_vsi_list()  argument
3134 if ((new_fltr->fltr_act == ICE_FWD_TO_Q || in ice_add_update_vsi_list()
3135 new_fltr->fltr_act == ICE_FWD_TO_QGRP) && in ice_add_update_vsi_list()
3149 if (cur_fltr->fwd_id.hw_vsi_id == new_fltr->fwd_id.hw_vsi_id) in ice_add_update_vsi_list()
3153 vsi_handle_arr[1] = new_fltr->vsi_handle; in ice_add_update_vsi_list()
3156 new_fltr->lkup_type); in ice_add_update_vsi_list()
3160 tmp_fltr = *new_fltr; in ice_add_update_vsi_list()
3189 u16 vsi_handle = new_fltr->vsi_handle; in ice_add_update_vsi_list()
3207 new_fltr->lkup_type); in ice_add_update_vsi_list()
3291 struct ice_fltr_info *new_fltr, *cur_fltr; in ice_add_rule_internal() local
3304 new_fltr = &f_entry->fltr_info; in ice_add_rule_internal()
3305 if (new_fltr->flag & ICE_FLTR_RX) in ice_add_rule_internal()
3306 new_fltr->src = hw->port_info->lport; in ice_add_rule_internal()
3307 else if (new_fltr->flag & ICE_FLTR_TX) in ice_add_rule_internal()
3308 new_fltr->src = f_entry->fltr_info.fwd_id.hw_vsi_id; in ice_add_rule_internal()
3310 m_entry = ice_find_rule_entry(hw, recp_id, new_fltr); in ice_add_rule_internal()
3317 status = ice_add_update_vsi_list(hw, m_entry, cur_fltr, new_fltr); in ice_add_rule_internal()
3659 struct ice_fltr_info *new_fltr, *cur_fltr; in ice_add_vlan_internal() local
3670 new_fltr = &f_entry->fltr_info; in ice_add_vlan_internal()
3673 if (new_fltr->l_data.vlan.vlan_id > ICE_MAX_VLAN_ID) in ice_add_vlan_internal()
3676 if (new_fltr->src_id != ICE_SRC_ID_VSI) in ice_add_vlan_internal()
3679 new_fltr->src = new_fltr->fwd_id.hw_vsi_id; in ice_add_vlan_internal()
3680 lkup_type = new_fltr->lkup_type; in ice_add_vlan_internal()
3681 vsi_handle = new_fltr->vsi_handle; in ice_add_vlan_internal()
3684 v_list_itr = ice_find_rule_entry(hw, ICE_SW_LKUP_VLAN, new_fltr); in ice_add_vlan_internal()
3688 if (new_fltr->fltr_act == ICE_FWD_TO_VSI) { in ice_add_vlan_internal()
3707 new_fltr->fltr_act = ICE_FWD_TO_VSI_LIST; in ice_add_vlan_internal()
3708 new_fltr->fwd_id.vsi_list_id = vsi_list_id; in ice_add_vlan_internal()
3714 new_fltr); in ice_add_vlan_internal()
3735 new_fltr); in ice_add_vlan_internal()
4321 struct ice_fltr_info new_fltr; in ice_set_vsi_promisc() local
4332 memset(&new_fltr, 0, sizeof(new_fltr)); in ice_set_vsi_promisc()
4335 new_fltr.lkup_type = ICE_SW_LKUP_PROMISC_VLAN; in ice_set_vsi_promisc()
4336 new_fltr.l_data.mac_vlan.vlan_id = vid; in ice_set_vsi_promisc()
4339 new_fltr.lkup_type = ICE_SW_LKUP_PROMISC; in ice_set_vsi_promisc()
4386 mac_addr = new_fltr.l_data.mac.mac_addr; in ice_set_vsi_promisc()
4398 new_fltr.flag = 0; in ice_set_vsi_promisc()
4400 new_fltr.flag |= ICE_FLTR_TX; in ice_set_vsi_promisc()
4401 new_fltr.src = hw_vsi_id; in ice_set_vsi_promisc()
4403 new_fltr.flag |= ICE_FLTR_RX; in ice_set_vsi_promisc()
4404 new_fltr.src = hw->port_info->lport; in ice_set_vsi_promisc()
4407 new_fltr.fltr_act = ICE_FWD_TO_VSI; in ice_set_vsi_promisc()
4408 new_fltr.vsi_handle = vsi_handle; in ice_set_vsi_promisc()
4409 new_fltr.fwd_id.hw_vsi_id = hw_vsi_id; in ice_set_vsi_promisc()
4410 f_list_entry.fltr_info = new_fltr; in ice_set_vsi_promisc()
5916 struct ice_adv_rule_info *new_fltr) in ice_adv_add_update_vsi_list() argument
5926 if ((new_fltr->sw_act.fltr_act == ICE_FWD_TO_Q || in ice_adv_add_update_vsi_list()
5927 new_fltr->sw_act.fltr_act == ICE_FWD_TO_QGRP) && in ice_adv_add_update_vsi_list()
5942 new_fltr->sw_act.fwd_id.hw_vsi_id) in ice_adv_add_update_vsi_list()
5946 vsi_handle_arr[1] = new_fltr->sw_act.vsi_handle; in ice_adv_add_update_vsi_list()
5973 u16 vsi_handle = new_fltr->sw_act.vsi_handle; in ice_adv_add_update_vsi_list()