net/mlx5: Separate between public and private API of sf.h
authorShay Drory <shayd@nvidia.com>
Tue, 11 May 2021 15:48:30 +0000 (18:48 +0300)
committerSaeed Mahameed <saeedm@nvidia.com>
Tue, 15 Jun 2021 03:58:00 +0000 (20:58 -0700)
commitc8ea212bfdff5152f1ca78400f297bfba75691e0
tree44060b34cf3f206c3b2f82be97d48819ed3974e2
parent3af26495a2473c95ada3674c6b4dfc658be0a6ec
net/mlx5: Separate between public and private API of sf.h

Move mlx5_sf_max_functions() and friends from the privete sf/sf.h
to the public lib/sf.h. This is done in order to have one direction
include paths.

Signed-off-by: Shay Drory <shayd@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/lib/sf.h [new file with mode: 0644]
drivers/net/ethernet/mellanox/mlx5/core/sf/sf.h