Home
last modified time | relevance | path

Searched refs:trunc_size (Results 1 – 20 of 20) sorted by relevance

/linux/drivers/net/netdevsim/
A Dpsample.c29 u32 trunc_size; member
85 md->trunc_size = psample->trunc_size ? psample->trunc_size : len; in nsim_dev_psample_md_prepare()
224 psample->trunc_size = 0; in nsim_dev_psample_init()
226 &psample->trunc_size); in nsim_dev_psample_init()
/linux/include/net/tc_act/
A Dtc_sample.h13 u32 trunc_size; member
41 return to_sample(a)->trunc_size; in tcf_sample_trunc_size()
/linux/drivers/net/ethernet/mellanox/mlxsw/
A Dspectrum_acl_flex_actions.c197 u32 rate, u32 trunc_size, bool truncate, in mlxsw_sp1_act_sampler_add() argument
229 u32 rate, u32 trunc_size, bool truncate, in mlxsw_sp2_act_sampler_add() argument
245 params.trunc_size = trunc_size; in mlxsw_sp2_act_sampler_add()
A Dcore_acl_flex_actions.h35 u32 trunc_size, bool truncate, bool ingress,
103 u32 rate, u32 trunc_size, bool truncate,
A Dspectrum_trap.c241 bool truncate, u32 trunc_size) in mlxsw_sp_psample_md_init() argument
246 md->trunc_size = truncate ? trunc_size : skb->len; in mlxsw_sp_psample_md_init()
290 params->trunc_size); in mlxsw_sp_rx_sample_listener()
340 params->trunc_size); in mlxsw_sp_rx_sample_tx_listener()
376 params->trunc_size); in mlxsw_sp_rx_sample_acl_listener()
A Dspectrum_matchall.c277 mall_entry->sample.params.trunc_size = act->sample.trunc_size; in mlxsw_sp_mall_replace()
A Dcore_acl_flex_actions.c2066 u32 trunc_size, bool truncate, bool ingress, in mlxsw_afa_sampler_create() argument
2077 psample_group, rate, trunc_size, in mlxsw_afa_sampler_create()
2109 u32 rate, u32 trunc_size, bool truncate, in mlxsw_afa_block_append_sampler() argument
2122 rate, trunc_size, truncate, ingress, in mlxsw_afa_block_append_sampler()
A Dspectrum_acl.c695 u32 trunc_size, bool truncate, in mlxsw_sp_acl_rulei_act_sample() argument
711 psample_group, rate, trunc_size, in mlxsw_sp_acl_rulei_act_sample()
A Dspectrum.h269 u32 trunc_size; member
993 u32 trunc_size, bool truncate,
A Dspectrum_flower.c223 act->sample.trunc_size, in mlxsw_sp_flower_parse_actions()
A Dspectrum.c2706 trigger_node->params.trunc_size != params->trunc_size) { in mlxsw_sp_sample_trigger_params_set()
/linux/net/sched/
A Dact_sample.c111 s->trunc_size = nla_get_u32(tb[TCA_SAMPLE_TRUNC_SIZE]); in tcf_sample_init()
184 md.trunc_size = s->truncate ? s->trunc_size : skb->len; in tcf_sample_act()
229 if (nla_put_u32(skb, TCA_SAMPLE_TRUNC_SIZE, s->trunc_size)) in tcf_sample_dump()
A Dcls_api.c3652 entry->sample.trunc_size = tcf_sample_trunc_size(act); in tc_setup_flow_action()
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/tc/
A Dsample.c351 u32 trunc_size = mapped_obj->sample.trunc_size; in mlx5e_tc_sample_skb() local
355 md.trunc_size = trunc_size ? min(trunc_size, skb->len) : skb->len; in mlx5e_tc_sample_skb()
553 restore_obj.sample.trunc_size = sample_attr->trunc_size; in mlx5e_tc_sample_offload()
A Dsample.h16 u32 trunc_size; member
/linux/include/net/
A Dpsample.h18 u32 trunc_size; member
A Dflow_offload.h231 u32 trunc_size; member
/linux/net/psample/
A Dpsample.c365 u32 trunc_size = md->trunc_size; in psample_sample_packet() local
393 data_len = min(skb->len, trunc_size); in psample_sample_packet()
/linux/drivers/net/ethernet/mellanox/mlx5/core/
A Deswitch.h64 u32 trunc_size; member
A Den_tc.c4300 sample_attr.trunc_size = act->sample.trunc_size; in parse_tc_fdb_actions()

Completed in 60 milliseconds