Home
last modified time | relevance | path

Searched refs:psample_group (Results 1 – 18 of 18) sorted by relevance

/linux-6.1.9/net/sched/
Dact_sample.c43 struct psample_group *psample_group; in tcf_sample_init() local
93 psample_group = psample_group_get(net, psample_group_num); in tcf_sample_init()
94 if (!psample_group) { in tcf_sample_init()
105 psample_group = rcu_replace_pointer(s->psample_group, psample_group, in tcf_sample_init()
114 if (psample_group) in tcf_sample_init()
115 psample_group_put(psample_group); in tcf_sample_init()
131 struct psample_group *psample_group; in tcf_sample_cleanup() local
134 psample_group = rcu_dereference_protected(s->psample_group, 1); in tcf_sample_cleanup()
135 RCU_INIT_POINTER(s->psample_group, NULL); in tcf_sample_cleanup()
136 if (psample_group) in tcf_sample_cleanup()
[all …]
/linux-6.1.9/include/net/
Dpsample.h8 struct psample_group { struct
30 struct psample_group *psample_group_get(struct net *net, u32 group_num); argument
31 void psample_group_take(struct psample_group *group);
32 void psample_group_put(struct psample_group *group);
38 void psample_sample_packet(struct psample_group *group, struct sk_buff *skb,
43 static inline void psample_sample_packet(struct psample_group *group, in psample_sample_packet()
Dflow_offload.h257 struct psample_group *psample_group; member
Dact_api.h134 struct psample_group *
/linux-6.1.9/net/psample/
Dpsample.c40 struct psample_group *group, in psample_group_nl_fill()
74 struct psample_group *group; in psample_nl_cmd_get_group_dumpit()
122 static void psample_group_notify(struct psample_group *group, in psample_group_notify()
140 static struct psample_group *psample_group_create(struct net *net, in psample_group_create()
143 struct psample_group *group; in psample_group_create()
157 static void psample_group_destroy(struct psample_group *group) in psample_group_destroy()
164 static struct psample_group *
167 struct psample_group *group; in psample_group_lookup()
175 struct psample_group *psample_group_get(struct net *net, u32 group_num) in psample_group_get()
177 struct psample_group *group; in psample_group_get()
[all …]
/linux-6.1.9/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_acl_flex_actions.c196 struct psample_group *psample_group, in mlxsw_sp1_act_sampler_add() argument
228 struct psample_group *psample_group, in mlxsw_sp2_act_sampler_add() argument
244 params.psample_group = psample_group; in mlxsw_sp2_act_sampler_add()
Dcore_acl_flex_actions.h34 struct psample_group *psample_group, u32 rate,
105 struct psample_group *psample_group,
Dspectrum_matchall.c275 mall_entry->sample.params.psample_group = act->sample.psample_group; in mlxsw_sp_mall_replace()
Dcore_acl_flex_actions.c2143 struct psample_group *psample_group, u32 rate, in mlxsw_afa_sampler_create() argument
2155 psample_group, rate, trunc_size, in mlxsw_afa_sampler_create()
2186 struct psample_group *psample_group, in mlxsw_afa_block_append_sampler() argument
2199 sampler = mlxsw_afa_sampler_create(block, local_port, psample_group, in mlxsw_afa_block_append_sampler()
Dspectrum.h279 struct psample_group *psample_group; member
1053 struct psample_group *psample_group, u32 rate,
Dspectrum_acl.c769 struct psample_group *psample_group, u32 rate, in mlxsw_sp_acl_rulei_act_sample() argument
786 psample_group, rate, trunc_size, in mlxsw_sp_acl_rulei_act_sample()
Dspectrum_trap.c291 psample_sample_packet(params->psample_group, skb, params->rate, &md); in mlxsw_sp_rx_sample_listener()
341 psample_sample_packet(params->psample_group, skb, params->rate, &md); in mlxsw_sp_rx_sample_tx_listener()
377 psample_sample_packet(params->psample_group, skb, params->rate, &md); in mlxsw_sp_rx_sample_acl_listener()
Dspectrum_flower.c260 act->sample.psample_group, in mlxsw_sp_flower_parse_actions()
Dspectrum.c2889 if (trigger_node->params.psample_group != params->psample_group || in mlxsw_sp_sample_trigger_params_set()
/linux-6.1.9/include/net/tc_act/
Dtc_sample.h14 struct psample_group __rcu *psample_group; member
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/tc/
Dsample.c329 struct psample_group psample_group = {}; in mlx5e_tc_sample_skb() local
334 psample_group.group_num = mapped_obj->sample.group_id; in mlx5e_tc_sample_skb()
335 psample_group.net = &init_net; in mlx5e_tc_sample_skb()
338 psample_sample_packet(&psample_group, skb, mapped_obj->sample.rate, &md); in mlx5e_tc_sample_skb()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/
Dsample.c37 sample_attr->group_num = act->sample.psample_group->group_num; in tc_act_parse_sample()
/linux-6.1.9/drivers/net/netdevsim/
Dpsample.c26 struct psample_group *group;