/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/ |
H A D | police.c | 117 struct flow_offload_action *fl_act, in tc_act_police_offload() argument 124 err = police_act_validate(act, fl_act->extack); in tc_act_police_offload() 141 NL_SET_ERR_MSG_MOD(fl_act->extack, "Failed to get flow meter"); in tc_act_police_offload() 151 struct flow_offload_action *fl_act) in tc_act_police_destroy() argument 156 params.index = fl_act->index; in tc_act_police_destroy() 159 NL_SET_ERR_MSG_MOD(fl_act->extack, "Failed to get flow meter"); in tc_act_police_destroy() 171 struct flow_offload_action *fl_act) in tc_act_police_stats() argument 177 params.index = fl_act->index; in tc_act_police_stats() 180 NL_SET_ERR_MSG_MOD(fl_act->extack, "Failed to get flow meter"); in tc_act_police_stats() 185 flow_stats_update(&fl_act->stats, bytes, packets, drops, lastuse, in tc_act_police_stats()
|
H A D | act.h | 60 struct flow_offload_action *fl_act, 64 struct flow_offload_action *fl_act); 67 struct flow_offload_action *fl_act);
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/rep/ |
H A D | tc.c | 535 struct flow_offload_action *fl_act) in mlx5e_rep_indr_replace_act() argument 565 if (!act->offload_action(priv, fl_act, action)) in mlx5e_rep_indr_replace_act() 574 struct flow_offload_action *fl_act) in mlx5e_rep_indr_destroy_act() argument 586 act = mlx5e_tc_act_get(fl_act->id, ns_type); in mlx5e_rep_indr_destroy_act() 590 return act->destroy_action(priv, fl_act); in mlx5e_rep_indr_destroy_act() 595 struct flow_offload_action *fl_act) in mlx5e_rep_indr_stats_act() argument 608 act = mlx5e_tc_act_get(fl_act->id, ns_type); in mlx5e_rep_indr_stats_act() 612 return act->stats_action(priv, fl_act); in mlx5e_rep_indr_stats_act() 617 struct flow_offload_action *fl_act) in mlx5e_rep_indr_setup_act() argument 619 switch (fl_act->command) { in mlx5e_rep_indr_setup_act() [all …]
|
/openbmc/linux/drivers/net/ethernet/netronome/nfp/flower/ |
H A D | qos_conf.c | 697 struct flow_action_entry *paction = &fl_act->action.entries[0]; in nfp_act_install_actions() 698 u32 action_num = fl_act->action.num_entries; in nfp_act_install_actions() 762 if (fl_act->id != FLOW_ACTION_POLICE) { in nfp_act_remove_actions() 768 meter_id = fl_act->index; in nfp_act_remove_actions() 836 if (fl_act->id != FLOW_ACTION_POLICE) { in nfp_act_stats_actions() 869 struct flow_offload_action *fl_act) in nfp_setup_tc_act_offload() argument 871 struct netlink_ext_ack *extack = fl_act->extack; in nfp_setup_tc_act_offload() 877 switch (fl_act->command) { in nfp_setup_tc_act_offload() 879 return nfp_act_install_actions(app, fl_act, extack); in nfp_setup_tc_act_offload() 881 return nfp_act_remove_actions(app, fl_act, extack); in nfp_setup_tc_act_offload() [all …]
|
H A D | main.h | 720 struct flow_offload_action *fl_act);
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/tc/ |
H A D | act_stats.c | 168 struct flow_offload_action *fl_act) in mlx5e_tc_act_stats_fill_stats() argument 176 item = rhashtable_lookup(ht, &fl_act->cookie, act_counters_ht_params); in mlx5e_tc_act_stats_fill_stats() 186 flow_stats_update(&fl_act->stats, in mlx5e_tc_act_stats_fill_stats()
|
H A D | act_stats.h | 25 struct flow_offload_action *fl_act);
|
/openbmc/linux/net/sched/ |
H A D | act_api.c | 209 fl_act, NULL, NULL); in tcf_action_offload_cmd_ex() 241 return cb ? tcf_action_offload_cmd_cb_ex(fl_act, hw_count, in tcf_action_offload_cmd() 243 tcf_action_offload_cmd_ex(fl_act, hw_count); in tcf_action_offload_cmd() 303 struct flow_offload_action fl_act = {}; in tcf_action_update_hw_stats() local 310 err = tcf_action_offload_cmd(&fl_act, NULL, NULL, NULL); in tcf_action_update_hw_stats() 313 tcf_action_stats_update(action, fl_act.stats.bytes, in tcf_action_update_hw_stats() 314 fl_act.stats.pkts, in tcf_action_update_hw_stats() 315 fl_act.stats.drops, in tcf_action_update_hw_stats() 316 fl_act.stats.lastused, in tcf_action_update_hw_stats() 319 action->used_hw_stats = fl_act.stats.used_hw_stats; in tcf_action_update_hw_stats() [all …]
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | en_tc.h | 200 struct flow_offload_action *fl_act);
|
H A D | en_tc.c | 4808 struct flow_offload_action *fl_act) in mlx5e_tc_fill_action_stats() argument 4810 return mlx5e_tc_act_stats_fill_stats(get_act_stats_handle(priv), fl_act); in mlx5e_tc_fill_action_stats()
|