Commit dd44572a authored by Moni Shoua's avatar Moni Shoua Committed by Jason Gunthorpe

net/mlx5: Enable DC transport

Enable DC transport in the firmware to provide its functionality.
Signed-off-by: default avatarMoni Shoua <monis@mellanox.com>
Reviewed-by: default avatarYishai Hadas <yishaih@mellanox.com>
Signed-off-by: default avatarLeon Romanovsky <leon@kernel.org>
Signed-off-by: default avatarJason Gunthorpe <jgg@mellanox.com>
parent 57cda166
...@@ -552,6 +552,9 @@ static int handle_hca_cap(struct mlx5_core_dev *dev) ...@@ -552,6 +552,9 @@ static int handle_hca_cap(struct mlx5_core_dev *dev)
cache_line_128byte, cache_line_128byte,
cache_line_size() == 128 ? 1 : 0); cache_line_size() == 128 ? 1 : 0);
if (MLX5_CAP_GEN_MAX(dev, dct))
MLX5_SET(cmd_hca_cap, set_hca_cap, dct, 1);
err = set_caps(dev, set_ctx, set_sz, err = set_caps(dev, set_ctx, set_sz,
MLX5_SET_HCA_CAP_OP_MOD_GENERAL_DEVICE); MLX5_SET_HCA_CAP_OP_MOD_GENERAL_DEVICE);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment