diff options
| author | Shay Drory <shayd@nvidia.com> | 2026-11-04 20:47:56 +0200 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-11-10 13:01:00 -0800 |
| commit | 4777203cc9af51db5ae647920c14ee9451e783d7 (patch) | |
| tree | 27e02619be1463e1b646cb7a8e5cd78b335d9be1 /tools/perf/scripts/python/bin | |
| parent | fdca4b030c78fa2773a94fda3a6dc3ce5558a727 (diff) | |
net/mlx5: E-switch, Restore host PF enable for ECPF that isn't E-switch manager
The cited commit breaks host PF enable_hca when the ECPF isn't E-switch
manager. For example, when the link layer is infiniband, the ECPF isn't
E-switch manager, so after the cited commit enable_hca is never issued
for the host PF, it stays in initializing state and fails to probe.
Fix it by checking esw_allowed() only for vport bookkeeping
Fixes: 0e6c95c98829 ("net/mlx5: Support devlink port state for host PF")
Signed-off-by: Shay Drory <shayd@nvidia.com>
Reviewed-by: Moshe Shemesh <moshe@nvidia.com>
Reviewed-by: Mark Bloch <mbloch@nvidia.com>
Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Link: https://patch.msgid.link/20261104184756.773910-1-tariqt@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
