All of lore.kernel.org
 help / color / mirror / Atom feed
From: Richard Cochran <richardcochran@gmail.com>
To: Ben Hutchings <ben@decadent.org.uk>
Cc: netdev@vger.kernel.org
Subject: Re: Configuring synchronous ethernet with ethtool?
Date: Sat, 4 Apr 2015 22:03:44 +0200	[thread overview]
Message-ID: <20150404200344.GA4271@localhost.localdomain> (raw)
In-Reply-To: <1428155950.11260.66.camel@decadent.org.uk>

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           |
   | synce-mode = master     | 9.12 = 1, 9.11 = 1 |
   | synce-mode = slave      | 9.12 = 1, 9.11 = 0 |
   |                         |                    |
   | port-type = multiport   | 9.10 = 1           |
   | port-type = single-port | 9.10 = 0           |

Thanks,
Richard
   

  reply	other threads:[~2015-04-04 20:03 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 [this message]
2015-04-04 22:55     ` Ben Hutchings

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=20150404200344.GA4271@localhost.localdomain \
    --to=richardcochran@gmail.com \
    --cc=ben@decadent.org.uk \
    --cc=netdev@vger.kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.