From: Chaoyong He <chaoyong.he@corigine.com>
To: dev@dpdk.org
Cc: oss-drivers@corigine.com, Chaoyong He <chaoyong.he@corigine.com>
Subject: [PATCH 0/3] reload the firmware as needed
Date: Tue, 27 Feb 2024 19:15:48 +0800 [thread overview]
Message-ID: <20240227111551.3773862-1-chaoyong.he@corigine.com> (raw)
Add the necessary logic to get firmware version from firmware file, and
only reload the firmware when the firmware version changed.
Also add a device argument which can force reload the firmware and
ignore the firmware version.
Peng Zhang (3):
net/nfp: add the elf module
net/nfp: reload the firmware only when firmware changed
net/nfp: add force reload firmware option
drivers/net/nfp/meson.build | 1 +
drivers/net/nfp/nfp_ethdev.c | 177 ++++-
drivers/net/nfp/nfp_net_common.c | 17 +
drivers/net/nfp/nfp_net_common.h | 10 +
drivers/net/nfp/nfpcore/nfp_elf.c | 1079 +++++++++++++++++++++++++++++
drivers/net/nfp/nfpcore/nfp_elf.h | 13 +
drivers/net/nfp/nfpcore/nfp_mip.c | 30 +-
drivers/net/nfp/nfpcore/nfp_mip.h | 70 +-
8 files changed, 1355 insertions(+), 42 deletions(-)
create mode 100644 drivers/net/nfp/nfpcore/nfp_elf.c
create mode 100644 drivers/net/nfp/nfpcore/nfp_elf.h
--
2.39.1
next reply other threads:[~2024-02-27 11:16 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-27 11:15 Chaoyong He [this message]
2024-02-27 11:15 ` [PATCH 1/3] net/nfp: add the elf module Chaoyong He
2024-02-28 16:50 ` Ferruh Yigit
2024-03-01 2:38 ` Chaoyong He
2024-02-28 22:18 ` Stephen Hemminger
2024-03-01 17:22 ` Ferruh Yigit
2024-03-04 1:13 ` Chaoyong He
2024-03-04 8:50 ` Ferruh Yigit
2024-02-27 11:15 ` [PATCH 2/3] net/nfp: reload the firmware only when firmware changed Chaoyong He
2024-02-27 11:15 ` [PATCH 3/3] net/nfp: add force reload firmware option Chaoyong He
2024-02-28 16:53 ` Ferruh Yigit
2024-03-01 2:06 ` Chaoyong He
2024-03-01 8:42 ` [PATCH v2 0/3] reload the firmware as needed Chaoyong He
2024-03-01 8:42 ` [PATCH v2 1/3] net/nfp: add the elf module Chaoyong He
2024-03-01 8:42 ` [PATCH v2 2/3] net/nfp: reload the firmware only when firmware changed Chaoyong He
2024-03-01 8:42 ` [PATCH v2 3/3] net/nfp: add force reload firmware option Chaoyong He
2024-03-04 13:28 ` [PATCH v2 0/3] reload the firmware as needed 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=20240227111551.3773862-1-chaoyong.he@corigine.com \
--to=chaoyong.he@corigine.com \
--cc=dev@dpdk.org \
--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).