Searched refs:sample_flow (Results 1 – 2 of 2) sorted by relevance
345 add_post_rule(struct mlx5_eswitch *esw, struct mlx5e_sample_flow *sample_flow, in add_post_rule() argument377 sample_flow->post_attr = post_attr; in add_post_rule()394 sample_flow->post_rule = mlx5_eswitch_add_offloaded_rule(esw, spec, post_attr); in add_post_rule()395 if (IS_ERR(sample_flow->post_rule)) { in add_post_rule()396 err = PTR_ERR(sample_flow->post_rule); in add_post_rule()410 del_post_rule(struct mlx5_eswitch *esw, struct mlx5e_sample_flow *sample_flow, in del_post_rule() argument416 mlx5_eswitch_del_offloaded_rule(esw, sample_flow->post_rule, sample_flow->post_attr); in del_post_rule()417 kfree(sample_flow->post_attr); in del_post_rule()480 struct mlx5e_sample_flow *sample_flow; in mlx5e_tc_sample_offload() local491 sample_flow = kzalloc_obj(*sample_flow); in mlx5e_tc_sample_offload()[all …]
19 struct mlx5e_sample_flow *sample_flow; member