netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Andrew Lunn <andrew@lunn.ch>
To: Tanjeff Moos <tanjeff@cccmz.de>
Cc: Networking <netdev@vger.kernel.org>
Subject: Re: How to operate 10Gbit SFP+ module if driver doesn't support SFP+?
Date: Fri, 24 Apr 2020 20:56:10 +0200	[thread overview]
Message-ID: <20200424185610.GE1088354@lunn.ch> (raw)
In-Reply-To: <25058311-191c-055a-5966-aeb14440db2b@cccmz.de>

On Fri, Apr 24, 2020 at 06:41:18PM +0200, Tanjeff Moos wrote:
> Hello netdev list,
> 
> I hope that I'm at the right mailinglist for my question. If not, let me
> know.
> 
> 
> Abstract
> --------
> 
> I'm trying to get a 10GBASE-SR SFP+ module running on a self-made board.
> The MAC driver doesn't support phylink (i.e. no I²C accesses to the SFP+
> registers), therefore I want to use PHY-less mode. On the other hand,
> the "fixed-link" mode supports only up to 1 Gbit. The "in-band-status"
> mode is said to not work with my setup. Thus I'm running out of options.
> I ask you if there are further options to get things running.
> 
> 
> About the hardware
> ------------------
> 
> My company built an access point containing an NXP QorIQ T1023 Soc. This
> SoC includes a MAC which is connected to an SFP+ cage. We use XFI for
> the connection between MAC and SFP+. In addition, the SFP+ module is
> connected to the SoC via I²C to access its registers.
> 
> 
> About the software
> ------------------
> 
> I am running OpenWRT with a Linux 4.14.137 kernel. There are patches on
> that kernel (mostly from the OpenWRT project, some by us).
 
Hi Tanjeff

Most kernel hackers don't care about such old kernels.

> Details about the problem
> -------------------------
> 
> For the MAC, I use the DPAA driver.

Is this dpaa2? If so, a modern kernel supports PHYLINK. That solves
most of your problems. The kernel SFP code should work so long as you
have access the i2c via a standard linux I2C bus.

     Andrew

      reply	other threads:[~2020-04-24 18:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-24 16:41 How to operate 10Gbit SFP+ module if driver doesn't support SFP+? Tanjeff Moos
2020-04-24 18:56 ` Andrew Lunn [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=20200424185610.GE1088354@lunn.ch \
    --to=andrew@lunn.ch \
    --cc=netdev@vger.kernel.org \
    --cc=tanjeff@cccmz.de \
    /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).