aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/c++/clang.cpp
diff options
context:
space:
mode:
authorTal Bar <[email protected]>2018-03-21 09:34:06 +0200
committerDavid S. Miller <[email protected]>2018-03-22 13:13:36 -0400
commit8e1ed7392c1b19db43c2b47998371cbea9babb3c (patch)
treee344b657badf170d2ccb3638c32fc6fb8775e42d /tools/perf/util/c++/clang.cpp
parent1c6e1037800ed70448befd0f9143e0dd57db9105 (diff)
mlxsw: spectrum: Add support for auto-negotiation disable mode
In 'auto-neg off' the device have sent AN (auto-negotiation) frames with the forced speed. Thus, fix it using an_disable_admin field in Port type and speed (PTYS) register. This field indicates if speed negotiation frames would be send by the port or not. Add the field and enable/disable it for 'auto-neg on/off', make the port to start/stop sending AN (auto-negotiation) frames. Note that for SwitchX2 the behavior doesn't change (i.e support only AN enabled with forced speed). Signed-off-by: Tal Bar <[email protected]> Reviewed-by: Jiri Pirko <[email protected]> Signed-off-by: Ido Schimmel <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/util/c++/clang.cpp')
0 files changed, 0 insertions, 0 deletions