Lines Matching refs:adv_fltr
6050 struct ice_adv_fltr_mgmt_list_entry *m_entry, *adv_fltr = NULL; in ice_add_adv_rule() local
6236 adv_fltr = devm_kzalloc(ice_hw_to_dev(hw), in ice_add_adv_rule()
6239 if (!adv_fltr) { in ice_add_adv_rule()
6244 adv_fltr->lkups = devm_kmemdup(ice_hw_to_dev(hw), lkups, in ice_add_adv_rule()
6246 if (!adv_fltr->lkups) { in ice_add_adv_rule()
6251 adv_fltr->lkups_cnt = lkups_cnt; in ice_add_adv_rule()
6252 adv_fltr->rule_info = *rinfo; in ice_add_adv_rule()
6253 adv_fltr->rule_info.fltr_rule_id = le16_to_cpu(s_rule->index); in ice_add_adv_rule()
6259 adv_fltr->vsi_count = 1; in ice_add_adv_rule()
6262 list_add(&adv_fltr->list_entry, rule_head); in ice_add_adv_rule()
6265 added_entry->rule_id = adv_fltr->rule_info.fltr_rule_id; in ice_add_adv_rule()
6269 if (status && adv_fltr) { in ice_add_adv_rule()
6270 devm_kfree(ice_hw_to_dev(hw), adv_fltr->lkups); in ice_add_adv_rule()
6271 devm_kfree(ice_hw_to_dev(hw), adv_fltr); in ice_add_adv_rule()
6583 struct ice_adv_fltr_mgmt_list_entry *adv_fltr; in ice_replay_vsi_adv_rule() local
6588 list_for_each_entry(adv_fltr, list_head, list_entry) { in ice_replay_vsi_adv_rule()
6589 struct ice_adv_rule_info *rinfo = &adv_fltr->rule_info; in ice_replay_vsi_adv_rule()
6590 u16 lk_cnt = adv_fltr->lkups_cnt; in ice_replay_vsi_adv_rule()
6594 status = ice_add_adv_rule(hw, adv_fltr->lkups, lk_cnt, rinfo, in ice_replay_vsi_adv_rule()