net/mlx5: Enable SD feature
authorTariq Toukan <tariqt@nvidia.com>
Thu, 15 Feb 2024 03:08:13 +0000 (19:08 -0800)
committerSaeed Mahameed <saeedm@nvidia.com>
Thu, 7 Mar 2024 08:40:40 +0000 (00:40 -0800)
commited29705e4ed1d5c1b2184fecc4684bd56c5d24ee
treed077f5b5e31d5eb387a6655b042cddd0538b68aa
parentd1a8b2c3e43418dd3449a068020f4f32068534cc
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>
drivers/net/ethernet/mellanox/mlx5/core/lib/mlx5.h
include/linux/mlx5/driver.h