From: Ben Hutchings <ben@decadent.org.uk>
To: Richard Cochran <richardcochran@gmail.com>
Cc: netdev@vger.kernel.org
Subject: Re: Configuring synchronous ethernet with ethtool?
Date: Sat, 04 Apr 2015 23:55:24 +0100 [thread overview]
Message-ID: <1428188124.11260.105.camel@decadent.org.uk> (raw)
In-Reply-To: <20150404200344.GA4271@localhost.localdomain>
[-- Attachment #1: Type: text/plain, Size: 1621 bytes --]
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
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 811 bytes --]
prev parent reply other threads:[~2015-04-04 22:55 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-17 16:11 Configuring synchronous ethernet with ethtool? Richard Cochran
2015-04-04 13:59 ` Ben Hutchings
2015-04-04 20:03 ` Richard Cochran
2015-04-04 22:55 ` Ben Hutchings [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1428188124.11260.105.camel@decadent.org.uk \
--to=ben@decadent.org.uk \
--cc=netdev@vger.kernel.org \
--cc=richardcochran@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).