[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <7e3eb464-054d-404e-91aa-eb50d5640099@lunn.ch>
Date: Tue, 25 Mar 2025 19:00:10 +0100
From: Andrew Lunn <andrew@...n.ch>
To: Michal Kubecek <mkubecek@...e.cz>
Cc: Eliyah Havemann <eliyah@...idepacket.com>, netdev@...r.kernel.org,
Russell King <rmk+kernel@...linux.org.uk>
Subject: Re: ethtool read EEPROM
On Tue, Mar 25, 2025 at 06:03:42PM +0100, Michal Kubecek wrote:
> On Tue, Mar 25, 2025 at 05:16:52PM +0200, Eliyah Havemann wrote:
> > Hi Michael,
> >
> > You seem to be the current maintainer and top contributor to the
> > ethtool project. First of all: Thank you for your contribution to OSS!
> >
> > I ran into an issue with a whitebox switch with 100G and 400G QSFP
> > slots, that I was hoping ethtool could solve and I want to ask you for
> > assistance. It’s pretty simple: I need to read EEPROM binary data from
> > these QSFP transceivers, but they are not associated with any linux
> > interface. This is because vpp is controlling them directly. The
> > ethtool has a function to output the EEPROM of an interface, but I
> > can’t feed it the file back to it to read it. The file it outputs has
> > the exact same format of the file the whitebox switch provides. I
> > created a small python script to read the file and it gives reasonable
> > output, but I don’t have a way to test this against a big collection
> > of SFPs and I know that this work was already done in ethtool.
> >
> > My questions:
> > 1. Do you know of a tool that can read these files that ethtool
> > outputs? Maybe it exists, and I just didn’t find it…
Russell King has a collection of SFP dumps from various devices. You
could ask him for his collection. He might also have an extended
version of ethtool which can read from a file.
Andrew
Powered by blists - more mailing lists