aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/mlx5
diff options
context:
space:
mode:
authorTariq Toukan <tariqt@nvidia.com>2023-12-05 23:54:21 +0200
committerSaeed Mahameed <saeedm@nvidia.com>2023-12-20 16:54:27 -0800
commitc88c49ac9c18fb7c3fa431126de1d8f8f555e912 (patch)
tree796807f6febd08caea9b59af71bcdeaa48f10a99 /include/linux/mlx5
parentnet/mlx5e: Block TLS device offload on combined SD netdev (diff)
downloadwireguard-linux-c88c49ac9c18fb7c3fa431126de1d8f8f555e912.tar.xz
wireguard-linux-c88c49ac9c18fb7c3fa431126de1d8f8f555e912.zip
net/mlx5: Enable SD feature
Have an actual mlx5_sd instance in the core device, and fix the getter accordingly. This allows SD stuff to flow, the feature becomes supported only here. Signed-off-by: Tariq Toukan <tariqt@nvidia.com> Reviewed-by: Gal Pressman <gal@nvidia.com> Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'include/linux/mlx5')
-rw-r--r--include/linux/mlx5/driver.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mlx5/driver.h b/include/linux/mlx5/driver.h
index aafb36c9e5d9..cd286b681970 100644
--- a/include/linux/mlx5/driver.h
+++ b/include/linux/mlx5/driver.h
@@ -822,6 +822,7 @@ struct mlx5_core_dev {
struct blocking_notifier_head macsec_nh;
#endif
u64 num_ipsec_offloads;
+ struct mlx5_sd *sd;
};
struct mlx5_db {