/linux/net/sched/ |
H A D | act_sample.c | 44 struct psample_group *psample_group; in tcf_sample_init() local 101 psample_group = psample_group_get(net, psample_group_num); in tcf_sample_init() 102 if (!psample_group) { in tcf_sample_init() 113 psample_group = rcu_replace_pointer(s->psample_group, psample_group, in tcf_sample_init() 122 if (psample_group) in tcf_sample_init() 123 psample_group_put(psample_group); in tcf_sample_init() 139 struct psample_group *psample_group; in tcf_sample_cleanup() local 142 psample_group = rcu_dereference_protected(s->psample_group, 1); in tcf_sample_cleanup() 143 RCU_INIT_POINTER(s->psample_group, NULL); in tcf_sample_cleanup() 144 if (psample_group) in tcf_sample_cleanup() [all …]
|
/linux/include/net/ |
H A D | psample.h | 8 struct psample_group { struct 33 struct psample_group *psample_group_get(struct net *net, u32 group_num); argument 34 void psample_group_take(struct psample_group *group); 35 void psample_group_put(struct psample_group *group); 41 void psample_sample_packet(struct psample_group *group, 47 static inline void psample_sample_packet(struct psample_group *group, in psample_sample_packet()
|
/linux/net/psample/ |
H A D | psample.c | 41 struct psample_group *group, in psample_group_nl_fill() 75 struct psample_group *group; in psample_nl_cmd_get_group_dumpit() 123 static void psample_group_notify(struct psample_group *group, in psample_group_notify() 141 static struct psample_group *psample_group_create(struct net *net, in psample_group_create() 144 struct psample_group *group; in psample_group_create() 158 static void psample_group_destroy(struct psample_group *group) in psample_group_destroy() 165 static struct psample_group * 168 struct psample_group *group; in psample_group_lookup() 176 struct psample_group *psample_group_get(struct net *net, u32 group_num) in psample_group_get() 178 struct psample_group *group; in psample_group_get() [all …]
|
/linux/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_acl_flex_actions.c | 196 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()
|
H A D | core_acl_flex_actions.h | 34 struct psample_group *psample_group, u32 rate, 107 struct psample_group *psample_group,
|
H A D | core_acl_flex_actions.c | 2183 struct psample_group *psample_group, u32 rate, in mlxsw_afa_sampler_create() argument 2195 psample_group, rate, trunc_size, in mlxsw_afa_sampler_create() 2226 struct psample_group *psample_group, in mlxsw_afa_block_append_sampler() argument 2239 sampler = mlxsw_afa_sampler_create(block, local_port, psample_group, in mlxsw_afa_block_append_sampler()
|
H A D | spectrum_matchall.c | 275 mall_entry->sample.params.psample_group = act->sample.psample_group; in mlxsw_sp_mall_replace()
|
H A D | spectrum.h | 278 struct psample_group *psample_group; member 1061 struct psample_group *psample_group, u32 rate,
|
H A D | spectrum_acl.c | 791 struct psample_group *psample_group, u32 rate, in mlxsw_sp_acl_rulei_act_sample() argument 808 psample_group, rate, trunc_size, in mlxsw_sp_acl_rulei_act_sample()
|
H A D | spectrum_trap.c | 291 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()
|
H A D | spectrum_flower.c | 270 act->sample.psample_group, in mlxsw_sp_flower_parse_actions()
|
H A D | spectrum.c | 2941 if (trigger_node->params.psample_group != params->psample_group || in mlxsw_sp_sample_trigger_params_set()
|
/linux/include/net/tc_act/ |
H A D | tc_sample.h | 14 struct psample_group __rcu *psample_group; member
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/tc/ |
H A D | sample.c | 329 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/drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/ |
H A D | sample.c | 18 sample_attr->group_num = act->sample.psample_group->group_num; in tc_act_parse_sample()
|
/linux/net/openvswitch/ |
H A D | actions.c | 1325 struct psample_group psample_group = {}; in execute_psample() local 1334 psample_group.group_num = nla_get_u32(a); in execute_psample() 1344 psample_group.net = ovs_dp_get_net(dp); in execute_psample() 1351 psample_sample_packet(&psample_group, skb, rate, &md); in execute_psample()
|
/linux/drivers/net/netdevsim/ |
H A D | psample.c | 26 struct psample_group *group;
|