diff options
author | Michael Guralnik <michaelgur@mellanox.com> | 2019-11-20 12:43:49 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-01-12 14:21:50 +0300 |
commit | 0ce3f9f1fdea65ada400c2c45f76a719c5b9f4a4 (patch) | |
tree | 324d6098e70b03d4bcc0e805bc1b2e24a90999bc /drivers/atm/nicstarmac.c | |
parent | f479506e5164cb9eff4c60531bd48026dd433e4a (diff) | |
download | linux-0ce3f9f1fdea65ada400c2c45f76a719c5b9f4a4.tar.xz |
net/mlx5: Move devlink registration before interfaces load
[ Upstream commit a6f3b62386a02c1e94bfa22c543f82d63f5e631b ]
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/atm/nicstarmac.c')
0 files changed, 0 insertions, 0 deletions