Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/en/tc/
Dsample.c365 add_post_rule(struct mlx5_eswitch *esw, struct mlx5e_sample_flow *sample_flow, in add_post_rule() argument
397 sample_flow->post_attr = post_attr; in add_post_rule()
414 sample_flow->post_rule = mlx5_eswitch_add_offloaded_rule(esw, spec, post_attr); in add_post_rule()
415 if (IS_ERR(sample_flow->post_rule)) { in add_post_rule()
416 err = PTR_ERR(sample_flow->post_rule); in add_post_rule()
430 del_post_rule(struct mlx5_eswitch *esw, struct mlx5e_sample_flow *sample_flow, in del_post_rule() argument
436 mlx5_eswitch_del_offloaded_rule(esw, sample_flow->post_rule, sample_flow->post_attr); in del_post_rule()
437 kfree(sample_flow->post_attr); in del_post_rule()
501 struct mlx5e_sample_flow *sample_flow; in mlx5e_tc_sample_offload() local
519 sample_flow = kzalloc(sizeof(*sample_flow), GFP_KERNEL); in mlx5e_tc_sample_offload()
[all …]
Dsample.h19 struct mlx5e_sample_flow *sample_flow; member