diff options
author | 2025-08-25 17:34:30 +0300 | |
---|---|---|
committer | 2025-08-26 18:00:26 -0700 | |
commit | 26e42ec7712d392d561964514b1f253b1a96f42d (patch) | |
tree | b0c1add4d3d903c507bd022323e54ec6fb5375b0 /tools/perf/scripts/python | |
parent | net/mlx5: Fix lockdep assertion on sync reset unload event (diff) | |
download | wireguard-linux-26e42ec7712d392d561964514b1f253b1a96f42d.tar.xz wireguard-linux-26e42ec7712d392d561964514b1f253b1a96f42d.zip |
net/mlx5: Nack sync reset when SFs are present
If PF (Physical Function) has SFs (Sub-Functions), since the SFs are not
taking part in the synchronization flow, sync reset can lead to fatal
error on the SFs, as the function will be closed unexpectedly from the
SF point of view.
Add a check to prevent sync reset when there are SFs on a PF device
which is not ECPF, as ECPF is teardowned gracefully before reset.
Fixes: 92501fa6e421 ("net/mlx5: Ack on sync_reset_request only if PF can do reset_now")
Signed-off-by: Moshe Shemesh <moshe@nvidia.com>
Reviewed-by: Parav Pandit <parav@nvidia.com>
Reviewed-by: Tariq Toukan <tariqt@nvidia.com>
Signed-off-by: Mark Bloch <mbloch@nvidia.com>
Link: https://patch.msgid.link/20250825143435.598584-8-mbloch@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions