lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Sat, 04 Apr 2015 23:55:24 +0100
From:	Ben Hutchings <ben@...adent.org.uk>
To:	Richard Cochran <richardcochran@...il.com>
Cc:	netdev@...r.kernel.org
Subject: Re: Configuring synchronous ethernet with ethtool?

On Sat, 2015-04-04 at 22:03 +0200, Richard Cochran wrote:
> On Sat, Apr 04, 2015 at 02:59:10PM +0100, Ben Hutchings wrote:
> > The 'manual' setting matches terminology in IEEE 802.3 (section 40.5.2).
> > There's no mention of 'preferred' there but perhaps this switch will
> > claim to be a single-port if you say it should prefer slave mode.
> 
> Thanks for the reference.  The switch I was talking about has control
> register 9 implemented exactly as described in 802.3, but the TRM
> description of bit 9.10 adds the word "prefer".
> 
> > So, I like the idea but it should not be tied to SyncE only.
> 
> Something like this?
> 
>    | ethtool property        | effect             |
>    |-------------------------+--------------------|
>    | synce-mode = none       | 9.12 = 0           |

That's not 'none', it's just not forced.  This would be used for both
asynchronous operation and for synchronous operation with negotiated
clock mode.

>    | synce-mode = master     | 9.12 = 1, 9.11 = 1 |
>    | synce-mode = slave      | 9.12 = 1, 9.11 = 0 |

So there are four different modes that should be selectable through
ethtool:

- Asynchronous [100BASE-T only]
- Synchronous, automatic
- Synchronous, master
- Synchronous, slave

>    | port-type = multiport   | 9.10 = 1           |
>    | port-type = single-port | 9.10 = 0           |

For backward compatibility ethtool would also need to be able to report
'unknown' when the kernel or driver doesn't support this.

Ben.

-- 
Ben Hutchings
The most exhausting thing in life is being insincere. - Anne Morrow Lindberg

Download attachment "signature.asc" of type "application/pgp-signature" (812 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ