From: Ferruh Yigit <ferruh.yigit@amd.com>
To: Chaoyong He <chaoyong.he@corigine.com>, dev@dpdk.org
Cc: oss-drivers@corigine.com, James Hershaw <james.hershaw@corigine.com>
Subject: Re: [PATCH v3 3/4] net/nfp: add support for EEPROM functions
Date: Sun, 3 Nov 2024 00:46:21 +0000 [thread overview]
Message-ID: <bcfa537f-034d-4592-a74d-c6a3bfd8c4cc@amd.com> (raw)
In-Reply-To: <20241101025713.290462-4-chaoyong.he@corigine.com>
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.hershaw@corigine.com>
> Signed-off-by: Chaoyong He <chaoyong.he@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"?
next prev parent reply other threads:[~2024-11-03 0:46 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-30 8:19 [PATCH 0/3] NFP PMD enhancement Chaoyong He
2024-10-30 8:19 ` [PATCH 1/3] net/nfp: extract function to check physical reprsentor Chaoyong He
2024-10-30 8:19 ` [PATCH 2/3] net/nfp: add support for EEPROM functions Chaoyong He
2024-10-30 8:19 ` [PATCH 3/3] net/nfp: add support for port identify Chaoyong He
2024-10-30 8:27 ` [PATCH 0/4] NFP PMD enhancement Chaoyong He
2024-10-30 8:27 ` [PATCH 1/4] net/nfp: fix port index problem Chaoyong He
2024-10-30 8:27 ` [PATCH 2/4] net/nfp: extract function to check physical reprsentor Chaoyong He
2024-10-30 8:27 ` [PATCH 3/4] net/nfp: add support for EEPROM functions Chaoyong He
2024-10-30 8:27 ` [PATCH 4/4] net/nfp: add support for port identify Chaoyong He
2024-11-01 2:57 ` [PATCH v3 0/4] NFP PMD enhancement Chaoyong He
2024-11-01 2:57 ` [PATCH v3 1/4] net/nfp: fix port index problem Chaoyong He
2024-11-01 3:44 ` Stephen Hemminger
2024-11-01 2:57 ` [PATCH v3 2/4] net/nfp: extract function to check physical reprsentor Chaoyong He
2024-11-01 2:57 ` [PATCH v3 3/4] net/nfp: add support for EEPROM functions Chaoyong He
2024-11-03 0:46 ` Ferruh Yigit [this message]
2024-11-01 2:57 ` [PATCH v3 4/4] net/nfp: add support for port identify Chaoyong He
2024-11-03 0:48 ` Ferruh Yigit
2024-11-04 1:34 ` [PATCH v4 0/4] NFP PMD enhancement Chaoyong He
2024-11-04 1:34 ` [PATCH v4 1/4] net/nfp: fix port index problem Chaoyong He
2024-11-04 1:34 ` [PATCH v4 2/4] net/nfp: extract function to check physical reprsentor Chaoyong He
2024-11-04 1:34 ` [PATCH v4 3/4] net/nfp: add support for EEPROM functions Chaoyong He
2024-11-04 1:34 ` [PATCH v4 4/4] net/nfp: add LED support Chaoyong He
2024-11-06 1:46 ` [PATCH v4 0/4] NFP PMD enhancement Ferruh Yigit
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=bcfa537f-034d-4592-a74d-c6a3bfd8c4cc@amd.com \
--to=ferruh.yigit@amd.com \
--cc=chaoyong.he@corigine.com \
--cc=dev@dpdk.org \
--cc=james.hershaw@corigine.com \
--cc=oss-drivers@corigine.com \
/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).