]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita4a499769c079542036cd58df9898d7e6c7e461f
tree44060b34cf3f206c3b2f82be97d48819ed3974e2
parent9179ce079e9e278f89830d321bae9076b92b5019
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