Lines Matching refs:flow_act

1043 	struct mlx5_flow_act flow_act = {};  in add_op_fc_rules()  local
1139 flow_act.action = in add_op_fc_rules()
1144 &flow_act, &dst, 1); in add_op_fc_rules()
1228 struct mlx5_flow_act flow_act = {}; in mlx5_ib_fs_add_op_fc() local
1318 flow_act.action = in mlx5_ib_fs_add_op_fc()
1323 &flow_act, &dst, 1); in mlx5_ib_fs_add_op_fc()
1516 struct mlx5_flow_act flow_act = {}; in _create_flow_rule() local
1544 ib_flow, flow_attr, &flow_act, in _create_flow_rule()
1553 if (dst && !(flow_act.action & MLX5_FLOW_CONTEXT_ACTION_DROP)) { in _create_flow_rule()
1575 if (flow_act.action & MLX5_FLOW_CONTEXT_ACTION_COUNT) { in _create_flow_rule()
1578 err = mlx5_ib_flow_counters_set_data(flow_act.counters, ucmd); in _create_flow_rule()
1582 mcounters = to_mcounters(flow_act.counters); in _create_flow_rule()
1583 handler->ibcounters = flow_act.counters; in _create_flow_rule()
1591 if (flow_act.action & MLX5_FLOW_CONTEXT_ACTION_DROP) { in _create_flow_rule()
1596 flow_act.action |= in _create_flow_rule()
1599 flow_act.action |= MLX5_FLOW_CONTEXT_ACTION_ALLOW; in _create_flow_rule()
1601 flow_act.action |= MLX5_FLOW_CONTEXT_ACTION_FWD_DEST; in _create_flow_rule()
1613 &flow_act, in _create_flow_rule()
2039 struct mlx5_flow_act *flow_act, in _create_raw_flow_rule() argument
2064 flow_act, dst, dst_num); in _create_raw_flow_rule()
2125 struct mlx5_flow_context *flow_context, struct mlx5_flow_act *flow_act, in raw_fs_rule_add() argument
2160 flow_act->action |= MLX5_FLOW_CONTEXT_ACTION_FWD_DEST; in raw_fs_rule_add()
2165 flow_act->action |= MLX5_FLOW_CONTEXT_ACTION_FWD_DEST; in raw_fs_rule_add()
2169 flow_act->action |= MLX5_FLOW_CONTEXT_ACTION_ALLOW; in raw_fs_rule_add()
2175 if (flow_act->action & MLX5_FLOW_CONTEXT_ACTION_COUNT) { in raw_fs_rule_add()
2186 fs_matcher, flow_context, flow_act, in raw_fs_rule_add()
2449 struct mlx5_flow_act flow_act = {}; in UVERBS_HANDLER() local
2469 flow_act.action |= MLX5_FLOW_CONTEXT_ACTION_FWD_NEXT_NS; in UVERBS_HANDLER()
2472 flow_act.action |= MLX5_FLOW_CONTEXT_ACTION_DROP; in UVERBS_HANDLER()
2503 flow_act.action |= MLX5_FLOW_CONTEXT_ACTION_COUNT; in UVERBS_HANDLER()
2523 ret = parse_flow_flow_action(maction, false, &flow_act); in UVERBS_HANDLER()
2541 raw_fs_rule_add(dev, fs_matcher, &flow_context, &flow_act, in UVERBS_HANDLER()
2691 struct mlx5_flow_act flow_act = {}; in steering_anchor_create_rule_drop() local
2697 flow_act.fg = ft_prio->anchor.fg_drop; in steering_anchor_create_rule_drop()
2698 flow_act.action = MLX5_FLOW_CONTEXT_ACTION_DROP; in steering_anchor_create_rule_drop()
2700 handle = mlx5_add_flow_rules(ft_prio->anchor.ft, NULL, &flow_act, in steering_anchor_create_rule_drop()
2722 struct mlx5_flow_act flow_act = {}; in steering_anchor_create_rule_goto_table() local
2728 flow_act.action = MLX5_FLOW_CONTEXT_ACTION_FWD_DEST; in steering_anchor_create_rule_goto_table()
2729 flow_act.flags |= FLOW_ACT_IGNORE_FLOW_LEVEL; in steering_anchor_create_rule_goto_table()
2730 flow_act.fg = ft_prio->anchor.fg_goto_table; in steering_anchor_create_rule_goto_table()
2735 handle = mlx5_add_flow_rules(ft_prio->anchor.ft, NULL, &flow_act, in steering_anchor_create_rule_goto_table()