Lines Matching refs:post_attr
48 struct mlx5_flow_attr *post_attr;
350 struct mlx5_flow_attr *post_attr;
369 post_attr = mlx5_alloc_flow_attr(MLX5_FLOW_NAMESPACE_FDB);
370 if (!post_attr) {
374 sample_flow->post_attr = post_attr;
375 memcpy(post_attr, attr, attr_sz);
379 post_attr->chain = 0;
380 post_attr->prio = 0;
381 post_attr->ft = default_tbl;
382 post_attr->flags = MLX5_ATTR_FLAG_NO_IN_PORT;
391 sample_flow->post_rule = mlx5_eswitch_add_offloaded_rule(esw, spec, post_attr);
399 kfree(post_attr);
413 mlx5_eswitch_del_offloaded_rule(esw, sample_flow->post_rule, sample_flow->post_attr);
414 kfree(sample_flow->post_attr);