diff options
author | Michael Guralnik <michaelgur@mellanox.com> | 2019-11-20 11:43:49 +0200 |
---|---|---|
committer | Saeed Mahameed <saeedm@mellanox.com> | 2020-01-06 15:30:04 -0800 |
commit | a6f3b62386a02c1e94bfa22c543f82d63f5e631b (patch) | |
tree | c944bcdb1d0c5115bf2526db8ddffeb9149ab5ce /drivers/net/ethernet/mellanox/mlx5/core/fs_core.h | |
parent | 99cda45426c9a2c59bb2f7cb886a405440282455 (diff) | |
download | linux-a6f3b62386a02c1e94bfa22c543f82d63f5e631b.tar.bz2 |
net/mlx5: Move devlink registration before interfaces load
Register devlink before interfaces are added.
This will allow interfaces to use devlink while initalizing. For example,
call mlx5_is_roce_enabled.
Fixes: aba25279c100 ("net/mlx5e: Add TX reporter support")
Signed-off-by: Michael Guralnik <michaelgur@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx5/core/fs_core.h')
0 files changed, 0 insertions, 0 deletions