]> 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)
commit6221a4de38a67d06883c674b7ce906a41487bb84
tree803cfc871605a7c2c76a34b73bd2d7ab86225496
parent1fa92f2b59b0c54896c4e6bf4d70d785f47ba699
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