summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorIdo Schimmel <idosch@mellanox.com>2016-07-15 11:14:58 +0200
committerDavid S. Miller <davem@davemloft.net>2016-07-15 14:49:50 -0700
commit6277d46b10a0b35c83656f085cf8e32ded6fdd60 (patch)
tree91f0c0eac6986005cfa02e33bb879a86c6b199df /tools/perf/scripts/python/export-to-postgresql.py
parentdd79cf7dd10028d00f99d332d5a0d04734908282 (diff)
mlxsw: spectrum: Force link training according to admin state
When setting a new speed we need to disable and enable the port for the changes to take effect. We currently only do that if the operational state of the port is up. However, setting a new speed following link training failure will require us to explicitly set the port down and then up. Instead, disable and enable the port based on its administrative state. Fixes: 56ade8fe3fe1 ("mlxsw: spectrum: Add initial support for Spectrum ASIC") 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