]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5: SF, Store and use start function id
authorParav Pandit <parav@nvidia.com>
Fri, 5 Mar 2021 06:51:10 +0000 (08:51 +0200)
committerSaeed Mahameed <saeedm@nvidia.com>
Sat, 24 Apr 2021 07:58:56 +0000 (00:58 -0700)
commitea6083c3ad23f56279bec8b660519d437656630f
tree803cfc871605a7c2c76a34b73bd2d7ab86225496
parenta80d486b4d1360baa385b5b51c00e254c87b3bee
net/mlx5: SF, Store and use start function id

SF ids in the device are in two different contiguous ranges. One for
the local controller and second for the external host controller.

Prepare code to handle multiple start function id by storing it in the
table.

Signed-off-by: Parav Pandit <parav@nvidia.com>
Reviewed-by: Vu Pham <vuhuong@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/sf/hw_table.c