Searched refs:fl_act (Results 1 – 6 of 6) sorted by relevance
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/ |
D | police.c | 75 struct flow_offload_action *fl_act, in tc_act_police_offload() argument 82 err = mlx5e_policer_validate(&fl_act->action, act, fl_act->extack); in tc_act_police_offload() 99 NL_SET_ERR_MSG_MOD(fl_act->extack, "Failed to get flow meter"); in tc_act_police_offload() 109 struct flow_offload_action *fl_act) in tc_act_police_destroy() argument 114 params.index = fl_act->index; in tc_act_police_destroy() 117 NL_SET_ERR_MSG_MOD(fl_act->extack, "Failed to get flow meter"); in tc_act_police_destroy() 129 struct flow_offload_action *fl_act) in tc_act_police_stats() argument 135 params.index = fl_act->index; in tc_act_police_stats() 138 NL_SET_ERR_MSG_MOD(fl_act->extack, "Failed to get flow meter"); in tc_act_police_stats() 144 flow_stats_update(&fl_act->stats, bytes, packets, drops, lastuse, in tc_act_police_stats()
|
D | act.h | 55 struct flow_offload_action *fl_act, 59 struct flow_offload_action *fl_act); 62 struct flow_offload_action *fl_act);
|
/linux-6.1.9/drivers/net/ethernet/netronome/nfp/flower/ |
D | qos_conf.c | 688 nfp_act_install_actions(struct nfp_app *app, struct flow_offload_action *fl_act, in nfp_act_install_actions() argument 691 struct flow_action_entry *paction = &fl_act->action.entries[0]; in nfp_act_install_actions() 692 u32 action_num = fl_act->action.num_entries; in nfp_act_install_actions() 712 err = nfp_policer_validate(&fl_act->action, action, extack, false); in nfp_act_install_actions() 746 nfp_act_remove_actions(struct nfp_app *app, struct flow_offload_action *fl_act, in nfp_act_remove_actions() argument 756 if (fl_act->id != FLOW_ACTION_POLICE) { in nfp_act_remove_actions() 762 meter_id = fl_act->index; in nfp_act_remove_actions() 822 nfp_act_stats_actions(struct nfp_app *app, struct flow_offload_action *fl_act, in nfp_act_stats_actions() argument 830 if (fl_act->id != FLOW_ACTION_POLICE) { in nfp_act_stats_actions() 837 meter_entry = nfp_flower_search_meter_entry(app, fl_act->index); in nfp_act_stats_actions() [all …]
|
D | main.h | 699 struct flow_offload_action *fl_act);
|
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/rep/ |
D | tc.c | 517 struct flow_offload_action *fl_act) in mlx5e_rep_indr_replace_act() argument 531 if (!flow_offload_has_one_action(&fl_act->action)) in mlx5e_rep_indr_replace_act() 539 flow_action_for_each(i, action, &fl_act->action) { in mlx5e_rep_indr_replace_act() 547 if (!act->offload_action(priv, fl_act, action)) in mlx5e_rep_indr_replace_act() 556 struct flow_offload_action *fl_act) in mlx5e_rep_indr_destroy_act() argument 568 act = mlx5e_tc_act_get(fl_act->id, ns_type); in mlx5e_rep_indr_destroy_act() 572 return act->destroy_action(priv, fl_act); in mlx5e_rep_indr_destroy_act() 577 struct flow_offload_action *fl_act) in mlx5e_rep_indr_stats_act() argument 590 act = mlx5e_tc_act_get(fl_act->id, ns_type); in mlx5e_rep_indr_stats_act() 594 return act->stats_action(priv, fl_act); in mlx5e_rep_indr_stats_act() [all …]
|
/linux-6.1.9/net/sched/ |
D | act_api.c | 206 static int tcf_action_offload_cmd_ex(struct flow_offload_action *fl_act, in tcf_action_offload_cmd_ex() argument 212 fl_act, NULL, NULL); in tcf_action_offload_cmd_ex() 222 static int tcf_action_offload_cmd_cb_ex(struct flow_offload_action *fl_act, in tcf_action_offload_cmd_cb_ex() argument 229 err = cb(NULL, NULL, cb_priv, TC_SETUP_ACT, NULL, fl_act, NULL); in tcf_action_offload_cmd_cb_ex() 239 static int tcf_action_offload_cmd(struct flow_offload_action *fl_act, in tcf_action_offload_cmd() argument 244 return cb ? tcf_action_offload_cmd_cb_ex(fl_act, hw_count, in tcf_action_offload_cmd() 246 tcf_action_offload_cmd_ex(fl_act, hw_count); in tcf_action_offload_cmd() 306 struct flow_offload_action fl_act = {}; in tcf_action_update_hw_stats() local 312 err = offload_action_init(&fl_act, action, FLOW_ACT_STATS, NULL); in tcf_action_update_hw_stats() 316 err = tcf_action_offload_cmd(&fl_act, NULL, NULL, NULL); in tcf_action_update_hw_stats() [all …]
|