OSDN Git Service

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)
commit7e6ccbc1878413b2a2dca717a1ae450eb19e1537
tree803cfc871605a7c2c76a34b73bd2d7ab86225496
parenta1ab3e4554b5342b34845df452601ebd5a310d0a
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