net/mlx5: Introduce modify header structures, commands and steering action definitions
[sfrench/cifs-2.6.git] / drivers / net / ethernet / mellanox / mlx5 / core / fs_cmd.c
index b64a781c7e855fd1d38cb7303d26a27073626435..20d1fd516d0328a30218bc69e46d062b1a039fa0 100644 (file)
@@ -249,6 +249,7 @@ static int mlx5_cmd_set_fte(struct mlx5_core_dev *dev,
        MLX5_SET(flow_context, in_flow_context, flow_tag, fte->flow_tag);
        MLX5_SET(flow_context, in_flow_context, action, fte->action);
        MLX5_SET(flow_context, in_flow_context, encap_id, fte->encap_id);
+       MLX5_SET(flow_context, in_flow_context, modify_header_id, fte->modify_id);
        in_match_value = MLX5_ADDR_OF(flow_context, in_flow_context,
                                      match_value);
        memcpy(in_match_value, &fte->val, MLX5_ST_SZ_BYTES(fte_match_param));