diff options
author | Parav Pandit <parav@nvidia.com> | 2021-03-08 12:18:53 +0300 |
---|---|---|
committer | Saeed Mahameed <saeedm@nvidia.com> | 2021-04-24 10:58:51 +0300 |
commit | 1d7979352f9f0d32743528fb72425f4ff29efcb9 (patch) | |
tree | 168c2a97d58f1dbd0b7be4b7e99742e556ecf529 /fs/sync.c | |
parent | 87bd418ea7515d904a3dc69de2479396f5cbd7a4 (diff) | |
download | linux-1d7979352f9f0d32743528fb72425f4ff29efcb9.tar.xz |
net/mlx5: SF, Rely on hw table for SF devlink port allocation
Supporting SF allocation is currently checked at two places:
(a) SF devlink port allocator and
(b) SF HW table handler.
Both layers are using HCA CAP to identify it using helper routine
mlx5_sf_supported() and mlx5_sf_max_functions().
Instead, rely on the HW table handler to check if SF is supported
or not.
Signed-off-by: Parav Pandit <parav@nvidia.com>
Reviewed-by: Vu Pham <vuhuong@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'fs/sync.c')
0 files changed, 0 insertions, 0 deletions