Lines Matching refs:fm_entry

2852 	struct ice_fltr_mgmt_list_entry *fm_entry;  in ice_create_pkt_fwd_rule()  local
2863 fm_entry = devm_kzalloc(ice_hw_to_dev(hw), sizeof(*fm_entry), in ice_create_pkt_fwd_rule()
2865 if (!fm_entry) { in ice_create_pkt_fwd_rule()
2870 fm_entry->fltr_info = f_entry->fltr_info; in ice_create_pkt_fwd_rule()
2873 fm_entry->vsi_count = 1; in ice_create_pkt_fwd_rule()
2874 fm_entry->lg_act_idx = ICE_INVAL_LG_ACT_INDEX; in ice_create_pkt_fwd_rule()
2875 fm_entry->sw_marker_id = ICE_INVAL_SW_MARKER_ID; in ice_create_pkt_fwd_rule()
2876 fm_entry->counter_index = ICE_INVAL_COUNTER_ID; in ice_create_pkt_fwd_rule()
2878 ice_fill_sw_rule(hw, &fm_entry->fltr_info, s_rule, in ice_create_pkt_fwd_rule()
2885 devm_kfree(ice_hw_to_dev(hw), fm_entry); in ice_create_pkt_fwd_rule()
2890 fm_entry->fltr_info.fltr_rule_id = le16_to_cpu(s_rule->index); in ice_create_pkt_fwd_rule()
2895 l_type = fm_entry->fltr_info.lkup_type; in ice_create_pkt_fwd_rule()
2897 list_add(&fm_entry->list_entry, &recp->filt_rules); in ice_create_pkt_fwd_rule()
2946 struct ice_fltr_mgmt_list_entry *fm_entry; in ice_update_sw_rule_bridge_mode() local
2955 list_for_each_entry(fm_entry, rule_head, list_entry) { in ice_update_sw_rule_bridge_mode()
2956 struct ice_fltr_info *fi = &fm_entry->fltr_info; in ice_update_sw_rule_bridge_mode()
3861 ice_vsi_uses_fltr(struct ice_fltr_mgmt_list_entry *fm_entry, u16 vsi_handle) in ice_vsi_uses_fltr() argument
3863 return ((fm_entry->fltr_info.fltr_act == ICE_FWD_TO_VSI && in ice_vsi_uses_fltr()
3864 fm_entry->fltr_info.vsi_handle == vsi_handle) || in ice_vsi_uses_fltr()
3865 (fm_entry->fltr_info.fltr_act == ICE_FWD_TO_VSI_LIST && in ice_vsi_uses_fltr()
3866 fm_entry->vsi_list_info && in ice_vsi_uses_fltr()
3867 (test_bit(vsi_handle, fm_entry->vsi_list_info->vsi_map)))); in ice_vsi_uses_fltr()
3883 struct ice_fltr_mgmt_list_entry *fm_entry; in ice_check_if_dflt_vsi() local
3898 list_for_each_entry(fm_entry, rule_head, list_entry) { in ice_check_if_dflt_vsi()
3899 if (ice_vsi_uses_fltr(fm_entry, vsi_handle)) { in ice_check_if_dflt_vsi()
4040 struct ice_fltr_mgmt_list_entry *fm_entry; in ice_add_to_vsi_fltr_list() local
4047 list_for_each_entry(fm_entry, lkup_list_head, list_entry) { in ice_add_to_vsi_fltr_list()
4048 if (!ice_vsi_uses_fltr(fm_entry, vsi_handle)) in ice_add_to_vsi_fltr_list()
4053 &fm_entry->fltr_info); in ice_add_to_vsi_fltr_list()
4125 struct ice_fltr_list_entry *fm_entry, *tmp; in ice_clear_vsi_promisc() local
4178 list_for_each_entry_safe(fm_entry, tmp, &remove_list_head, list_entry) { in ice_clear_vsi_promisc()
4179 list_del(&fm_entry->list_entry); in ice_clear_vsi_promisc()
4180 devm_kfree(ice_hw_to_dev(hw), fm_entry); in ice_clear_vsi_promisc()
4367 struct ice_fltr_list_entry *fm_entry; in ice_remove_vsi_lkup_fltr() local
4406 list_for_each_entry_safe(fm_entry, tmp, &remove_list_head, list_entry) { in ice_remove_vsi_lkup_fltr()
4407 list_del(&fm_entry->list_entry); in ice_remove_vsi_lkup_fltr()
4408 devm_kfree(ice_hw_to_dev(hw), fm_entry); in ice_remove_vsi_lkup_fltr()