]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5: SF, Use helpers for allocation and free
authorParav Pandit <parav@nvidia.com>
Fri, 5 Mar 2021 07:35:21 +0000 (09:35 +0200)
committerSaeed Mahameed <saeedm@nvidia.com>
Sat, 24 Apr 2021 07:59:01 +0000 (00:59 -0700)
commita04cfbfc0a00d8a6cfa279a7a0ffd4f8b69cddc6
tree2c8c814cd77b85876452a29947dda4b65d140210
parent8c6207625187e40b2280b4e3d0ace6b6ee537241
net/mlx5: SF, Use helpers for allocation and free

Use helper routines for SF id and SF table allocation and free
so that subsequent patch can reuse it for multiple SF function
id range.

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