/linux/drivers/net/netdevsim/ |
H A D | psample.c | 29 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/ |
H A D | tc_sample.h | 13 u32 trunc_size; member 41 return to_sample(a)->trunc_size; in tcf_sample_trunc_size()
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/ |
H A D | sample.c | 21 sample_attr->trunc_size = act->sample.trunc_size; in tc_act_parse_sample()
|
/linux/net/sched/ |
H A D | act_sample.c | 118 s->trunc_size = nla_get_u32(tb[TCA_SAMPLE_TRUNC_SIZE]); in tcf_sample_init() 204 md.trunc_size = s->truncate ? s->trunc_size : skb->len; in tcf_sample_act() 249 if (nla_put_u32(skb, TCA_SAMPLE_TRUNC_SIZE, s->trunc_size)) in tcf_sample_dump() 304 entry->sample.trunc_size = tcf_sample_trunc_size(act); in tcf_sample_offload_act_setup()
|
/linux/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_acl_flex_actions.c | 197 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()
|
H A D | core_acl_flex_actions.h | 35 u32 trunc_size, bool truncate, bool ingress, 108 u32 rate, u32 trunc_size, bool truncate,
|
H A D | spectrum_trap.c | 241 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()
|
H A D | spectrum_matchall.c | 277 mall_entry->sample.params.trunc_size = act->sample.trunc_size; in mlxsw_sp_mall_replace()
|
H A D | core_acl_flex_actions.c | 2184 u32 trunc_size, bool truncate, bool ingress, in mlxsw_afa_sampler_create() argument 2195 psample_group, rate, trunc_size, in mlxsw_afa_sampler_create() 2227 u32 rate, u32 trunc_size, bool truncate, in mlxsw_afa_block_append_sampler() argument 2240 rate, trunc_size, truncate, ingress, in mlxsw_afa_block_append_sampler()
|
H A D | spectrum_acl.c | 792 u32 trunc_size, bool truncate, 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.h | 279 u32 trunc_size; member 1062 u32 trunc_size, bool truncate,
|
H A D | spectrum_flower.c | 272 act->sample.trunc_size, in mlxsw_sp_flower_parse_actions()
|
H A D | spectrum.c | 2944 trigger_node->params.trunc_size != params->trunc_size) { in mlxsw_sp_sample_trigger_params_set()
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/tc/ |
H A D | sample.c | 328 u32 trunc_size = mapped_obj->sample.trunc_size; in mlx5e_tc_sample_skb() local 332 md.trunc_size = trunc_size ? min(trunc_size, skb->len) : skb->len; in mlx5e_tc_sample_skb() 523 restore_obj.sample.trunc_size = sample_attr->trunc_size; in mlx5e_tc_sample_offload()
|
H A D | sample.h | 16 u32 trunc_size; member
|
/linux/include/net/ |
H A D | psample.h | 18 u32 trunc_size; member
|
/linux/net/psample/ |
H A D | psample.c | 370 u32 trunc_size = md->trunc_size; in psample_sample_packet() local 406 data_len = min(skb->len, trunc_size); in psample_sample_packet()
|
/linux/tools/testing/selftests/net/mptcp/ |
H A D | mptcp_join.sh | 964 local trunc_size="" 972 trunc_size=${test_linkfail} 1053 check_transfer $sinfail $cout "file received by client" $trunc_size 1055 check_transfer $sin $cout "file received by client" $trunc_size 1059 check_transfer $cin $sout "file received by server" $trunc_size 1061 check_transfer $cinsent $sout "file received by server" $trunc_size
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | eswitch.h | 66 u32 trunc_size; member
|
/linux/net/openvswitch/ |
H A D | actions.c | 1346 md.trunc_size = skb->len - OVS_CB(skb)->cutlen; in execute_psample()
|