diff options
| author | Tal Bar <[email protected]> | 2018-03-21 07:34:06 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2018-03-22 17:13:36 +0000 |
| commit | 8e1ed7392c1b19db43c2b47998371cbea9babb3c (patch) | |
| tree | e344b657badf170d2ccb3638c32fc6fb8775e42d /net/tipc/socket.c | |
| parent | mlxsw: spectrum: Update the supported firmware to version 13.1620.192 (diff) | |
| download | kernel-8e1ed7392c1b19db43c2b47998371cbea9babb3c.tar.gz kernel-8e1ed7392c1b19db43c2b47998371cbea9babb3c.zip | |
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 'net/tipc/socket.c')
0 files changed, 0 insertions, 0 deletions
