/linux/net/sched/ |
A D | act_sample.c | 44 struct psample_group *psample_group; in tcf_sample_init() local 95 if (!psample_group) { in tcf_sample_init() 106 psample_group = rcu_replace_pointer(s->psample_group, psample_group, in tcf_sample_init() 115 if (psample_group) in tcf_sample_init() 132 struct psample_group *psample_group; in tcf_sample_cleanup() local 135 psample_group = rcu_dereference_protected(s->psample_group, 1); in tcf_sample_cleanup() 137 if (psample_group) in tcf_sample_cleanup() 161 struct psample_group *psample_group; in tcf_sample_act() local 169 psample_group = rcu_dereference_bh(s->psample_group); in tcf_sample_act() 268 static struct psample_group * [all …]
|
A D | cls_api.c | 3513 entry->sample.psample_group = in tcf_sample_get_group() 3515 entry->destructor_priv = entry->sample.psample_group; in tcf_sample_get_group()
|
/linux/include/net/ |
A D | psample.h | 8 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()
|
A D | flow_offload.h | 229 struct psample_group *psample_group; member
|
A D | act_api.h | 121 struct psample_group *
|
/linux/net/psample/ |
A D | psample.c | 40 struct psample_group *group, in psample_group_nl_fill() 74 struct psample_group *group; in psample_nl_cmd_get_group_dumpit() 121 static void psample_group_notify(struct psample_group *group, in psample_group_notify() 139 static struct psample_group *psample_group_create(struct net *net, in psample_group_create() 142 struct psample_group *group; in psample_group_create() 156 static void psample_group_destroy(struct psample_group *group) in psample_group_destroy() 163 static struct psample_group * 166 struct psample_group *group; in psample_group_lookup() 176 struct psample_group *group; in psample_group_get() 194 void psample_group_take(struct psample_group *group) in psample_group_take() [all …]
|
/linux/drivers/net/ethernet/mellanox/mlxsw/ |
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()
|
A D | core_acl_flex_actions.h | 34 struct psample_group *psample_group, u32 rate, 102 struct psample_group *psample_group,
|
A D | core_acl_flex_actions.c | 2065 struct psample_group *psample_group, u32 rate, in mlxsw_afa_sampler_create() argument 2077 psample_group, rate, trunc_size, in mlxsw_afa_sampler_create() 2108 struct psample_group *psample_group, in mlxsw_afa_block_append_sampler() argument 2121 sampler = mlxsw_afa_sampler_create(block, local_port, psample_group, in mlxsw_afa_block_append_sampler()
|
A D | spectrum_matchall.c | 275 mall_entry->sample.params.psample_group = act->sample.psample_group; in mlxsw_sp_mall_replace()
|
A D | spectrum.h | 268 struct psample_group *psample_group; member 992 struct psample_group *psample_group, u32 rate,
|
A D | spectrum_acl.c | 694 struct psample_group *psample_group, u32 rate, in mlxsw_sp_acl_rulei_act_sample() argument 711 psample_group, rate, trunc_size, in mlxsw_sp_acl_rulei_act_sample()
|
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()
|
A D | spectrum_flower.c | 221 act->sample.psample_group, in mlxsw_sp_flower_parse_actions()
|
A D | spectrum.c | 2703 if (trigger_node->params.psample_group != params->psample_group || in mlxsw_sp_sample_trigger_params_set()
|
/linux/include/net/tc_act/ |
A D | tc_sample.h | 14 struct psample_group __rcu *psample_group; member
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/tc/ |
A D | sample.c | 352 struct psample_group psample_group = {}; in mlx5e_tc_sample_skb() local 357 psample_group.group_num = mapped_obj->sample.group_id; in mlx5e_tc_sample_skb() 358 psample_group.net = &init_net; in mlx5e_tc_sample_skb() 361 psample_sample_packet(&psample_group, skb, mapped_obj->sample.rate, &md); in mlx5e_tc_sample_skb()
|
/linux/drivers/net/netdevsim/ |
A D | psample.c | 26 struct psample_group *group;
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
A D | en_tc.c | 4298 sample_attr.group_num = act->sample.psample_group->group_num; in parse_tc_fdb_actions()
|