net/mlx5: Refactor mlx5_accel_esp_create_hw_context parameter list
[linux-2.6-microblaze.git] / drivers / net / ethernet / mellanox / mlx5 / core / accel / ipsec.h
index 530e428..f9b8e2a 100644 (file)
@@ -47,10 +47,7 @@ int mlx5_accel_ipsec_counters_read(struct mlx5_core_dev *mdev, u64 *counters,
                                   unsigned int count);
 
 void *mlx5_accel_esp_create_hw_context(struct mlx5_core_dev *mdev,
-                                      struct mlx5_accel_esp_xfrm *xfrm,
-                                      const __be32 saddr[4],
-                                      const __be32 daddr[4],
-                                      const __be32 spi, bool is_ipv6);
+                                      struct mlx5_accel_esp_xfrm *xfrm);
 void mlx5_accel_esp_free_hw_context(void *context);
 
 int mlx5_accel_ipsec_init(struct mlx5_core_dev *mdev);
@@ -63,10 +60,7 @@ void mlx5_accel_ipsec_cleanup(struct mlx5_core_dev *mdev);
 
 static inline void *
 mlx5_accel_esp_create_hw_context(struct mlx5_core_dev *mdev,
-                                struct mlx5_accel_esp_xfrm *xfrm,
-                                const __be32 saddr[4],
-                                const __be32 daddr[4],
-                                const __be32 spi, bool is_ipv6)
+                                struct mlx5_accel_esp_xfrm *xfrm)
 {
        return NULL;
 }