diff options
author | Tal Bar <talb@mellanox.com> | 2018-03-21 03:34:06 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-03-22 13:13:36 -0400 |
commit | 8e1ed7392c1b19db43c2b47998371cbea9babb3c (patch) | |
tree | e344b657badf170d2ccb3638c32fc6fb8775e42d /net/tipc/socket.c | |
parent | 1c6e1037800ed70448befd0f9143e0dd57db9105 (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 <talb@mellanox.com>
Reviewed-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tipc/socket.c')
0 files changed, 0 insertions, 0 deletions