summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorIvan Bornyakov <i.bornyakov@metrotek.ru>2023-04-06 16:08:33 +0300
committerDavid S. Miller <davem@davemloft.net>2023-04-09 16:01:28 +0100
commitbef227c1537cb8005311c0842bc5449e8c7a5973 (patch)
treeab9b924053b727145b72e3d46401acee71c16496 /tools/perf/scripts/python/export-to-postgresql.py
parent813c2dd78618f108fdcf9cd726ea90f081ee2881 (diff)
net: sfp: avoid EEPROM read of absent SFP module
If SFP module is not present, it is sensible to fail sfp_module_eeprom() and sfp_module_eeprom_by_page() early to avoid excessive I2C transfers which are garanteed to fail. Suggested-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: Ivan Bornyakov <i.bornyakov@metrotek.ru> Reviewed-by: Andrew Lunn <andrew@lunn.ch> 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