net/mlx5: Added new parameters to reformat context
[sfrench/cifs-2.6.git] / include / linux / mlx5 / fs.h
index 1f51f4c3b1afbde3765296bb866fe5d575b5d57b..f69f68fba9469021ededc708cfcba942f5f68fac 100644 (file)
@@ -254,10 +254,16 @@ struct mlx5_modify_hdr *mlx5_modify_header_alloc(struct mlx5_core_dev *dev,
 void mlx5_modify_header_dealloc(struct mlx5_core_dev *dev,
                                struct mlx5_modify_hdr *modify_hdr);
 
+struct mlx5_pkt_reformat_params {
+       int type;
+       u8 param_0;
+       u8 param_1;
+       size_t size;
+       void *data;
+};
+
 struct mlx5_pkt_reformat *mlx5_packet_reformat_alloc(struct mlx5_core_dev *dev,
-                                                    int reformat_type,
-                                                    size_t size,
-                                                    void *reformat_data,
+                                                    struct mlx5_pkt_reformat_params *params,
                                                     enum mlx5_flow_namespace_type ns_type);
 void mlx5_packet_reformat_dealloc(struct mlx5_core_dev *dev,
                                  struct mlx5_pkt_reformat *reformat);