diff options
author | Russell King <rmk+kernel@armlinux.org.uk> | 2019-11-10 14:07:30 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-11-11 16:17:01 -0800 |
commit | e117be74c5593d8aef9d62833d637839f3eae4e7 (patch) | |
tree | 7b95b100c9cc1b5c04aa43ea6c7455df8267f4f9 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 73f5e847d83a2e1a06b47190291d2eebf6353499 (diff) |
net: sfp: allow sfp to probe slow to initialise GPON modules
Some GPON modules (e.g. Huawei MA5671A) take a significant amount of
time to start responding on the I2C bus, contary to the SFF
specifications.
Work around this by implementing a two-level timeout strategy, where
we initially quickly retry for the module, and then use a slower retry
after we exceed a maximum number of quick attempts.
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions