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)
commit3f3ab178c71b12295b5950792b72d2198f0e77c7
tree0994e077d45f4e6fe94840e3929616019bbb78b2
parent5ffb4d858b7051720f20bcbb92dce0b433e60d88
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