Commit a6f3b62
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: aba2527 ("net/mlx5e: Add TX reporter support")
Signed-off-by: Michael Guralnik <[email protected]>
Signed-off-by: Saeed Mahameed <[email protected]>1 parent 99cda45 commit a6f3b62
1 file changed
+9
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1193 | 1193 | | |
1194 | 1194 | | |
1195 | 1195 | | |
| 1196 | + | |
| 1197 | + | |
| 1198 | + | |
| 1199 | + | |
| 1200 | + | |
| 1201 | + | |
1196 | 1202 | | |
1197 | 1203 | | |
1198 | 1204 | | |
| |||
1210 | 1216 | | |
1211 | 1217 | | |
1212 | 1218 | | |
| 1219 | + | |
| 1220 | + | |
| 1221 | + | |
1213 | 1222 | | |
1214 | 1223 | | |
1215 | 1224 | | |
| |||
1347 | 1356 | | |
1348 | 1357 | | |
1349 | 1358 | | |
1350 | | - | |
1351 | | - | |
1352 | | - | |
1353 | | - | |
1354 | 1359 | | |
1355 | 1360 | | |
1356 | 1361 | | |
1357 | 1362 | | |
1358 | 1363 | | |
1359 | 1364 | | |
1360 | 1365 | | |
1361 | | - | |
1362 | | - | |
1363 | | - | |
1364 | 1366 | | |
1365 | 1367 | | |
1366 | 1368 | | |
| |||
0 commit comments