diff options
author | 2024-11-07 21:43:46 +0200 | |
---|---|---|
committer | 2024-11-11 19:28:17 -0800 | |
commit | ab85ebf437231ceaf359c2a4679bebd7e8d6bdb2 (patch) | |
tree | 036d87e4aef7ccc60dbc7ca3e3e7c74631727759 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | net: ipv4: Cache pmtu for all packet paths if multipath enabled (diff) | |
download | wireguard-linux-ab85ebf437231ceaf359c2a4679bebd7e8d6bdb2.tar.xz wireguard-linux-ab85ebf437231ceaf359c2a4679bebd7e8d6bdb2.zip |
net/mlx5: E-switch, refactor eswitch mode change
The E-switch mode was previously updated before removing and re-adding the
IB device, which could cause a temporary mismatch between the E-switch mode
and the IB device configuration.
To prevent this discrepancy, the IB device is now removed first, then
the E-switch mode is updated, and finally, the IB device is re-added.
This sequence ensures consistent alignment between the E-switch mode and
the IB device whenever the mode changes, regardless of the new mode value.
Signed-off-by: Patrisious Haddad <phaddad@nvidia.com>
Reviewed-by: Mark Bloch <mbloch@nvidia.com>
Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Link: https://patch.msgid.link/20241107194357.683732-2-tariqt@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions