diff options
| author | Raed Salem <raeds@mellanox.com> | 2019-11-18 14:30:20 +0200 |
|---|---|---|
| committer | Saeed Mahameed <saeedm@mellanox.com> | 2020-07-16 16:36:42 -0700 |
| commit | 9a6ad1ad71fbc5a52617e016a3608d71b91f62e8 (patch) | |
| tree | dc6e483aefc680064ac1eba2fbe68cc10e91fe72 /include/linux/mlx5/driver.h | |
| parent | ea2128fd632c5308569eb789842910aa14796d22 (diff) | |
| download | linux-next-9a6ad1ad71fbc5a52617e016a3608d71b91f62e8.tar.gz linux-next-9a6ad1ad71fbc5a52617e016a3608d71b91f62e8.zip | |
net/mlx5: Accel, Add core IPsec support for the Connect-X family
This to set the base for downstream patches to support
the new IPsec implementation of the Connect-X family.
Following modifications made:
- Remove accel layer dependency from MLX5_FPGA_IPSEC.
- Introduce accel_ipsec_ops, each IPsec device will
have to support these ops.
Signed-off-by: Raed Salem <raeds@mellanox.com>
Reviewed-by: Tariq Toukan <tariqt@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'include/linux/mlx5/driver.h')
| -rw-r--r-- | include/linux/mlx5/driver.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/mlx5/driver.h b/include/linux/mlx5/driver.h index 1e6ca716635a..6a97ad601991 100644 --- a/include/linux/mlx5/driver.h +++ b/include/linux/mlx5/driver.h @@ -708,6 +708,9 @@ struct mlx5_core_dev { #ifdef CONFIG_MLX5_FPGA struct mlx5_fpga_device *fpga; #endif +#ifdef CONFIG_MLX5_ACCEL + const struct mlx5_accel_ipsec_ops *ipsec_ops; +#endif struct mlx5_clock clock; struct mlx5_ib_clock_info *clock_info; struct mlx5_fw_tracer *tracer; |
