net/mlx5: Add a no-append flow insertion mode
[sfrench/cifs-2.6.git] / drivers / net / ethernet / mellanox / mlx5 / core / fpga / ipsec.c
index 5645a4facad2f3e5cc1a4a48553e6f83142e72dc..28aa8c968a80ddfb0513ab4d70300790dd87b0b1 100644 (file)
@@ -650,7 +650,7 @@ static bool mlx5_is_fpga_egress_ipsec_rule(struct mlx5_core_dev *dev,
            (match_criteria_enable &
             ~(MLX5_MATCH_OUTER_HEADERS | MLX5_MATCH_MISC_PARAMETERS)) ||
            (flow_act->action & ~(MLX5_FLOW_CONTEXT_ACTION_ENCRYPT | MLX5_FLOW_CONTEXT_ACTION_ALLOW)) ||
-            flow_act->has_flow_tag)
+            (flow_act->flags & FLOW_ACT_HAS_TAG))
                return false;
 
        return true;