diff options
author | Ido Schimmel <[email protected]> | 2024-04-18 15:46:08 +0200 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2024-04-19 20:43:15 -0700 |
commit | 773501d01e6bc3f2557882a25679392d982d5f3e (patch) | |
tree | 93edc3d2dafbe3efe1399c41839b4da12107728a /tools/perf/scripts/python/net_dropmonitor.py | |
parent | 7e2050a8366315aeaf0316b3d362e67cf58f3ea8 (diff) |
mlxsw: pci: Fix driver initialization with old firmware
The driver queries the Management Capabilities Mask (MCAM) register
during initialization to understand if a new and deeper reset flow is
supported.
However, not all firmware versions support this register, leading to the
driver failing to load.
Fix by treating an error in the register query as an indication that the
feature is not supported.
Fixes: f257c73e5356 ("mlxsw: pci: Add support for new reset flow")
Reported-by: Tim 'mithro' Ansell <[email protected]>
Signed-off-by: Ido Schimmel <[email protected]>
Reviewed-by: Petr Machata <[email protected]>
Reviewed-by: Simon Horman <[email protected]>
Reviewed-by: Kalesh AP <[email protected]>
Signed-off-by: Petr Machata <[email protected]>
Link: https://lore.kernel.org/r/ee968c49d53bac96a4c66d1b09ebbd097d81aca5.1713446092.git.petrm@nvidia.com
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions