diff options
| author | Shay Drory <shayd@nvidia.com> | 2026-09-15 14:34:59 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-09-17 17:54:31 -0700 |
| commit | bae23d1ae62092c7f0ec6d5f7e1be5d164822638 (patch) | |
| tree | e88a160afeb6815d170c9cf5f7362e9d3fc79ef9 /tools/perf/scripts/python/stackcollapse.py | |
| parent | e1e29ada2b938b13ba689a06a8bd8604564da2b3 (diff) | |
| download | linux-bae23d1ae62092c7f0ec6d5f7e1be5d164822638.tar.gz linux-bae23d1ae62092c7f0ec6d5f7e1be5d164822638.zip | |
net/mlx5: LAG, reload IB reps of LAG master before the rest
In a shared-FDB LAG the master device creates the bond IB device; the
other LAG members do not create their own, they populate a port inside
the master's IB device. mlx5_lag_reload_ib_reps_unlocked() reloaded the
members' IB reps in iteration order, with no guarantee the master is
reloaded first. When a non-master member is reloaded before the master,
it tries to populate its port in an IB device that has not been
recreated yet.
Hence, reload the master's IB reps first, then every other member.
Fixes: 2b204cdb1206 ("net/mlx5: LAG, use xa_alloc to manage LAG device indices")
Signed-off-by: Shay Drory <shayd@nvidia.com>
Reviewed-by: Akiva Goldberger <agoldberger@nvidia.com>
Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Link: https://patch.msgid.link/20260915113459.3934760-4-tariqt@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
