Home
last modified time | relevance | path

Searched refs:sample_flow (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/en/tc/
Dsample.c342 add_post_rule(struct mlx5_eswitch *esw, struct mlx5e_sample_flow *sample_flow, in add_post_rule() argument
374 sample_flow->post_attr = post_attr; in add_post_rule()
391 sample_flow->post_rule = mlx5_eswitch_add_offloaded_rule(esw, spec, post_attr); in add_post_rule()
392 if (IS_ERR(sample_flow->post_rule)) { in add_post_rule()
393 err = PTR_ERR(sample_flow->post_rule); in add_post_rule()
407 del_post_rule(struct mlx5_eswitch *esw, struct mlx5e_sample_flow *sample_flow, in del_post_rule() argument
413 mlx5_eswitch_del_offloaded_rule(esw, sample_flow->post_rule, sample_flow->post_attr); in del_post_rule()
414 kfree(sample_flow->post_attr); in del_post_rule()
477 struct mlx5e_sample_flow *sample_flow; in mlx5e_tc_sample_offload() local
488 sample_flow = kzalloc(sizeof(*sample_flow), GFP_KERNEL); in mlx5e_tc_sample_offload()
[all …]
Dsample.h19 struct mlx5e_sample_flow *sample_flow; member