diff options
author | Karsten Graul <kgraul@linux.ibm.com> | 2020-10-07 22:57:43 +0200 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2020-10-09 18:15:47 -0700 |
commit | f29fa003996da1b9a133713db9fb5a344eaada4f (patch) | |
tree | c0af2487bb98530e54e8401d2cdc72bac1815233 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 9047a617dc2f8ea0575ef80c38e57ed52b712a1f (diff) |
net/smc: restore smcd_version when all ISM V2 devices failed to init
Field ini->smcd_version is set to SMC_V2 before calling
smc_listen_ism_init(). This clears the V1 bit that may be set. When all
matching ISM V2 devices fail to initialize then the smcd_version field
needs to get restored to allow any possible V1 devices to initialize.
And be consistent, always go to the not_found label when no device was
found.
Signed-off-by: Karsten Graul <kgraul@linux.ibm.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions