aboutsummaryrefslogtreecommitdiffstats
path: root/net/core
diff options
context:
space:
mode:
authorParav Pandit <parav@nvidia.com>2021-03-08 11:18:53 +0200
committerSaeed Mahameed <saeedm@nvidia.com>2021-04-24 00:58:51 -0700
commit1d7979352f9f0d32743528fb72425f4ff29efcb9 (patch)
tree168c2a97d58f1dbd0b7be4b7e99742e556ecf529 /net/core
parentnet/mlx5: E-Switch, Consider SF ports of host PF (diff)
downloadlinux-dev-1d7979352f9f0d32743528fb72425f4ff29efcb9.tar.xz
linux-dev-1d7979352f9f0d32743528fb72425f4ff29efcb9.zip
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 'net/core')
0 files changed, 0 insertions, 0 deletions