diff options
| author | Leon Romanovsky <leonro@nvidia.com> | 2022-04-04 15:08:16 +0300 |
|---|---|---|
| committer | Leon Romanovsky <leonro@nvidia.com> | 2022-04-06 10:00:36 +0300 |
| commit | e59437aa7ae6757111e633d02acb9868c1a7ec03 (patch) | |
| tree | e2b09b7f6ed754ee5a1a09a46121bce4813cd6f5 /include/linux | |
| parent | 40379a0084c2f65eb62c102f5bbf5cdc14a50410 (diff) | |
| download | cachepc-linux-e59437aa7ae6757111e633d02acb9868c1a7ec03.tar.gz cachepc-linux-e59437aa7ae6757111e633d02acb9868c1a7ec03.zip | |
net/mlx5: Reliably return TLS device capabilities
The capabilities returned from the FW are independent to the compiled
kernel and traditionally rely on the relevant CAPs bit only.
The mlx5_accel_is_ktls_*() functions are compiled out if CONFIG_MLX5_TLS
is not set, which "hides" from the user the information that TLS can be
enabled on this device.
Link: https://lore.kernel.org/r/a333ce541fb9497d04126b11c4a0052f9807d141.1649073691.git.leonro@nvidia.com
Reviewed-by: Tariq Toukan <tariqt@nvidia.com>
Reviewed-by: Saeed Mahameed <saeedm@nvidia.com>
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
