Searched refs:trunc_size (Results 1 – 14 of 14) sorted by relevance
/drivers/net/netdevsim/ |
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()
|
/drivers/net/ethernet/mellanox/mlxsw/ |
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()
|
D | core_acl_flex_actions.h | 35 u32 trunc_size, bool truncate, bool ingress, 103 u32 rate, u32 trunc_size, bool truncate,
|
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()
|
D | spectrum_matchall.c | 277 mall_entry->sample.params.trunc_size = act->sample.trunc_size; in mlxsw_sp_mall_replace()
|
D | core_acl_flex_actions.c | 2066 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()
|
D | spectrum_acl.c | 695 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()
|
D | spectrum.h | 267 u32 trunc_size; member 989 u32 trunc_size, bool truncate,
|
D | spectrum_flower.c | 223 act->sample.trunc_size, in mlxsw_sp_flower_parse_actions()
|
D | spectrum.c | 2684 trigger_node->params.trunc_size != params->trunc_size) { in mlxsw_sp_sample_trigger_params_set()
|
/drivers/net/ethernet/mellanox/mlx5/core/en/tc/ |
D | sample.c | 352 u32 trunc_size = mapped_obj->sample.trunc_size; in mlx5e_tc_sample_skb() local 356 md.trunc_size = trunc_size ? min(trunc_size, skb->len) : skb->len; in mlx5e_tc_sample_skb() 560 restore_obj.sample.trunc_size = sample_attr->trunc_size; in mlx5e_tc_sample_offload()
|
D | sample.h | 16 u32 trunc_size; member
|
/drivers/net/ethernet/mellanox/mlx5/core/ |
D | eswitch.h | 63 u32 trunc_size; member
|
D | en_tc.c | 4144 sample_attr.trunc_size = act->sample.trunc_size; in parse_tc_fdb_actions()
|