On 11/1/2024 2:57 AM, Chaoyong He wrote:
> Add support for the following EEPROM function callbacks:
> 
> .get_eeprom_len
> Get the maximum size of the device EEPROM data.
> 
> .get_eeprom
> Get the device EEPROM data at a certain offset and length.
> 
> .set_eeprom
> Set the device EEPROM data at a certain offset and length.
> 
> Note that for an nfp NIC, the "device EEPROM" is simply a field in the
> hwinfo that is used to store a 6B mac address associated with a physical
> port.
> 
> .get_module_info
> Get information regarding the type and size of the plugin module EEPROM
> for a specific port.
> 
> .get_module_eeprom
> Get the data stored in the plugin module EEPROM for a specific port.
> 
> Signed-off-by: James Hershaw <james.hers...@corigine.com>
> Signed-off-by: Chaoyong He <chaoyong...@corigine.com>
> ---
>  .../net/nfp/flower/nfp_flower_representor.c   |  76 ++++++
>  drivers/net/nfp/nfp_ethdev.c                  |   5 +
>  drivers/net/nfp/nfp_net_common.c              | 256 ++++++++++++++++++
>  drivers/net/nfp/nfp_net_common.h              |   6 +
>  drivers/net/nfp/nfpcore/nfp_nsp.c             |  96 +++++++
>  drivers/net/nfp/nfpcore/nfp_nsp.h             |   9 +
>  6 files changed, 448 insertions(+)
>

Can you please update nfp.ini to add "EEPROM dump" & "Module EEPROM dump"?

Reply via email to