Home
last modified time | relevance | path

Searched refs:f_rule (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/drivers/net/ethernet/marvell/prestera/
Dprestera_flower.c143 struct flow_rule *f_rule = flow_cls_offload_flow_rule(f); in prestera_flower_parse_meta() local
150 flow_rule_match_meta(f_rule, &match); in prestera_flower_parse_meta()
189 struct flow_rule *f_rule = flow_cls_offload_flow_rule(f); in prestera_flower_parse() local
190 struct flow_dissector *dissector = f_rule->match.dissector; in prestera_flower_parse()
215 if (flow_rule_match_key(f_rule, FLOW_DISSECTOR_KEY_META)) { in prestera_flower_parse()
221 if (flow_rule_match_key(f_rule, FLOW_DISSECTOR_KEY_CONTROL)) { in prestera_flower_parse()
224 flow_rule_match_control(f_rule, &match); in prestera_flower_parse()
228 if (flow_rule_match_key(f_rule, FLOW_DISSECTOR_KEY_BASIC)) { in prestera_flower_parse()
231 flow_rule_match_basic(f_rule, &match); in prestera_flower_parse()
248 if (flow_rule_match_key(f_rule, FLOW_DISSECTOR_KEY_ETH_ADDRS)) { in prestera_flower_parse()
[all …]
/linux-6.1.9/drivers/net/ethernet/intel/ice/
Dice_ethtool_fdir.c235 struct ice_fdir_fltr *f_rule; in ice_get_fdir_fltr_ids() local
244 list_for_each_entry(f_rule, &hw->fdir_list_head, fltr_node) { in ice_get_fdir_fltr_ids()
249 rule_locs[cnt] = f_rule->fltr_id; in ice_get_fdir_fltr_ids()
1452 struct ice_fdir_fltr *f_rule; in ice_fdir_replay_fltrs() local
1455 list_for_each_entry(f_rule, &hw->fdir_list_head, fltr_node) { in ice_fdir_replay_fltrs()
1456 int err = ice_fdir_write_all_fltr(pf, f_rule, true); in ice_fdir_replay_fltrs()
1460 err, f_rule->fltr_id); in ice_fdir_replay_fltrs()
1500 struct ice_fdir_fltr *f_rule, *tmp; in ice_fdir_del_all_fltrs() local
1504 list_for_each_entry_safe(f_rule, tmp, &hw->fdir_list_head, fltr_node) { in ice_fdir_del_all_fltrs()
1505 ice_fdir_write_all_fltr(pf, f_rule, false); in ice_fdir_del_all_fltrs()
[all …]