diff options
| author | Shay Drory <shayd@nvidia.com> | 2026-09-15 14:34:58 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-09-17 17:54:31 -0700 |
| commit | e1e29ada2b938b13ba689a06a8bd8604564da2b3 (patch) | |
| tree | 4f534f5908dfa3f235431237e88efa0633e4c111 /tools/perf/scripts/python | |
| parent | d09e8f64653c93da5793c16be19330968f2a32e6 (diff) | |
| download | linux-e1e29ada2b938b13ba689a06a8bd8604564da2b3.tar.gz linux-e1e29ada2b938b13ba689a06a8bd8604564da2b3.zip | |
net/mlx5: SD, unload reps on shared FDB create error path
mlx5_lag_shared_fdb_create() sets sd_fdb_active on every group member
before reloading the representors, so mlx5_lag_is_active() is already
true and the guard in mlx5_esw_offloads_rep_load() does not skip the
VF/SF reps. If the reload then fails, the error path clears
sd_fdb_active and destroys the shared FDB, leaving the reps loaded
while SD LAG is inactive - the state cited commit was written
to prevent.
Unload the reps in the error path as well.
Fixes: 68c2dd59a6c7 ("net/mlx5: E-Switch, Tie rep load/unload to SD LAG state")
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-3-tariqt@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
