]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: Take DCBNL-related definitions into dedicated files
authorTariq Toukan <tariqt@mellanox.com>
Wed, 23 Oct 2019 12:00:52 +0000 (15:00 +0300)
committerSaeed Mahameed <saeedm@mellanox.com>
Fri, 15 May 2020 22:44:36 +0000 (15:44 -0700)
commit03ca66bb7ef47707a8ca787ec54f3e16e6601bec
tree0994e077d45f4e6fe94840e3929616019bbb78b2
parentd969a9ba17dc6d7d99a585ad9b70f62dc4862344
net/mlx5e: Take DCBNL-related definitions into dedicated files

Take DCBNL-related definitions out of the common en.h header,
Use a dedicated header file for exposing them.
Some need not to be exposed, use them locally in the .c file.
Use stubs to eliminate use of CONFIG_MLX5_CORE_EN_DCB in the
generic control flows.

Signed-off-by: Tariq Toukan <tariqt@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en.h
drivers/net/ethernet/mellanox/mlx5/core/en/dcbnl.h [new file with mode: 0644]
drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c
drivers/net/ethernet/mellanox/mlx5/core/en_main.c
drivers/net/ethernet/mellanox/mlx5/core/en_rep.c