diff options
author | Tariq Toukan <tariqt@nvidia.com> | 2024-02-15 06:08:13 +0300 |
---|---|---|
committer | Saeed Mahameed <saeedm@nvidia.com> | 2024-03-07 11:40:40 +0300 |
commit | ed29705e4ed1d5c1b2184fecc4684bd56c5d24ee (patch) | |
tree | d077f5b5e31d5eb387a6655b042cddd0538b68aa /include/linux/mlx5 | |
parent | d1a8b2c3e43418dd3449a068020f4f32068534cc (diff) | |
download | linux-ed29705e4ed1d5c1b2184fecc4684bd56c5d24ee.tar.xz |
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.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mlx5/driver.h b/include/linux/mlx5/driver.h index 41f03b352401..bf9324a31ae9 100644 --- a/include/linux/mlx5/driver.h +++ b/include/linux/mlx5/driver.h @@ -823,6 +823,7 @@ struct mlx5_core_dev { struct blocking_notifier_head macsec_nh; #endif u64 num_ipsec_offloads; + struct mlx5_sd *sd; }; struct mlx5_db { |