diff options
author | 2016-09-12 13:26:25 +0200 | |
---|---|---|
committer | 2016-09-13 12:16:33 -0400 | |
commit | 0213424adad63bfea08ef19cd6c997648ddcf44e (patch) | |
tree | 826d03f6de40f21477519decf985049563413625 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | mlxsw: spectrum: Report link partner's advertised speeds (diff) | |
download | linux-dev-0213424adad63bfea08ef19cd6c997648ddcf44e.tar.xz linux-dev-0213424adad63bfea08ef19cd6c997648ddcf44e.zip |
mlxsw: spectrum: Report port type according to operational speed
In case port isn't operational we shouldn't report the port type, but
instead return PORT_OTHER. This is consistent with most other drivers
that return PORT_OTHER when media type can't be determined.
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
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