# Re: \[RFC PATCH V5 net-next 0/5\] ethtool: Extend module EEPROM dump API

- From: Moshe Shemesh \<hidden\>
- Date: 2021-03-26 12:42:44 
- List: netdev
- Page: https://ratatoskr.run/netdev/2021/03/11199899
- Thread: https://ratatoskr.run/netdev/2021/03/11199752/t.md

```text

On 3/26/2021 1:41 AM, Andrew Lunn wrote:
> External email: Use caution opening links or attachments
>
>
> On Thu, Mar 25, 2021 at 04:56:50PM +0200, Moshe Shemesh wrote:
>> Ethtool supports module EEPROM dumps via the `ethtool -m <dev>` command.
>> But in current state its functionality is limited - offset and length
>> parameters, which are used to specify a linear desired region of EEPROM
>> data to dump, is not enough, considering emergence of complex module
>> EEPROM layouts such as CMIS 4.0.
>> Moreover, CMIS 4.0 extends the amount of pages that may be accessible by
>> introducing another parameter for page addressing - banks.
> This is looking much better.
>
> Do you have a version of ethtool using this new API? WIP code is
> O.K. I will add basic support to sfp.c and test it out on the devices
> i have.
Sure.
>    Andrew
```
