Searched refs:sample_flow (Results 1 – 2 of 2) sorted by relevance
342 add_post_rule(struct mlx5_eswitch *esw, struct mlx5e_sample_flow *sample_flow, in add_post_rule() argument374 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() argument413 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() local488 sample_flow = kzalloc(sizeof(*sample_flow), GFP_KERNEL); in mlx5e_tc_sample_offload()[all …]
19 struct mlx5e_sample_flow *sample_flow; member