From: Tony Nguyen <anthony.l.nguyen@intel.com>
To: davem@davemloft.net, kuba@kernel.org, pabeni@redhat.com,
	edumazet@google.com, andrew+netdev@lunn.ch,
	netdev@vger.kernel.org
Cc: Tony Nguyen <anthony.l.nguyen@intel.com>,
	jedrzej.jagielski@intel.com, przemyslaw.kitszel@intel.com,
	jiri@resnulli.us, horms@kernel.org, corbet@lwn.net,
	linux-doc@vger.kernel.org
Subject: [PATCH net-next v2 00/15][pull request] ixgbe: Add basic devlink support
Date: Tue, 15 Apr 2025 15:12:43 -0700	[thread overview]
Message-ID: <20250415221301.1633933-1-anthony.l.nguyen@intel.com> (raw)

Jedrzej Jagielski says:

Create devlink specific directory for more convenient future feature
development.

Flashing and reloading are supported only by E610 devices.

Introduce basic FW/NVM validation since devlink reload introduces
possibility of runtime NVM update. Check FW API version, FW recovery mode
and FW rollback mode. Introduce minimal recovery probe to let user to
reload the faulty FW when recovery mode is detected.
---
v2:
Patch 8
- Add devlink documentation for srev
Patch 10
- Report stored versions, using running version values, when no update is pending
- Move 'err' initialization from declaration, in ixgbe_set_ctx_dev_caps(),
  to group with its error check
- Introduce local vars in ixgbe_set_ctx_dev_caps() to avoid long lines.

v1: https://lore.kernel.org/netdev/20250407215122.609521-1-anthony.l.nguyen@intel.com/

IWL: https://lore.kernel.org/intel-wired-lan/20250313150346.356612-1-jedrzej.jagielski@intel.com/

The following are changes since commit e8a1bd8344054ce27bebf59f48e3f6bc10bc419b:
  net: ncsi: Fix GCPS 64-bit member variables
and are available in the git repository at:
  git://git.kernel.org/pub/scm/linux/kernel/git/tnguy/next-queue 10GbE

Andrii Staikov (1):
  ixgbe: add support for FW rollback mode

Jedrzej Jagielski (10):
  devlink: add value check to devlink_info_version_put()
  ixgbe: add initial devlink support
  ixgbe: add handler for devlink .info_get()
  ixgbe: add .info_get extension specific for E610 devices
  ixgbe: add E610 functions getting PBA and FW ver info
  ixgbe: extend .info_get() with stored versions
  ixgbe: add device flash update via devlink
  ixgbe: add support for devlink reload
  ixgbe: add FW API version check
  ixgbe: add E610 implementation of FW recovery mode

Przemek Kitszel (1):
  ixgbe: wrap netdev_priv() usage

Slawomir Mrozowicz (3):
  ixgbe: add E610 functions for acquiring flash data
  ixgbe: read the OROM version information
  ixgbe: read the netlist version information

 .../networking/devlink/devlink-info.rst       |    4 +
 Documentation/networking/devlink/index.rst    |    1 +
 Documentation/networking/devlink/ixgbe.rst    |  122 ++
 drivers/net/ethernet/intel/Kconfig            |    2 +
 drivers/net/ethernet/intel/ixgbe/Makefile     |    3 +-
 .../ethernet/intel/ixgbe/devlink/devlink.c    |  557 ++++++
 .../ethernet/intel/ixgbe/devlink/devlink.h    |   10 +
 drivers/net/ethernet/intel/ixgbe/ixgbe.h      |   21 +
 .../net/ethernet/intel/ixgbe/ixgbe_82598.c    |    1 +
 .../net/ethernet/intel/ixgbe/ixgbe_82599.c    |    1 +
 .../net/ethernet/intel/ixgbe/ixgbe_common.c   |    1 +
 .../net/ethernet/intel/ixgbe/ixgbe_dcb_nl.c   |   56 +-
 drivers/net/ethernet/intel/ixgbe/ixgbe_e610.c | 1512 +++++++++++++++--
 drivers/net/ethernet/intel/ixgbe/ixgbe_e610.h |   18 +
 .../net/ethernet/intel/ixgbe/ixgbe_ethtool.c  |   86 +-
 drivers/net/ethernet/intel/ixgbe/ixgbe_fcoe.c |   12 +-
 .../ethernet/intel/ixgbe/ixgbe_fw_update.c    |  707 ++++++++
 .../ethernet/intel/ixgbe/ixgbe_fw_update.h    |   12 +
 .../net/ethernet/intel/ixgbe/ixgbe_ipsec.c    |   10 +-
 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c |  269 ++-
 .../net/ethernet/intel/ixgbe/ixgbe_sriov.c    |   16 +-
 drivers/net/ethernet/intel/ixgbe/ixgbe_type.h |    5 +
 .../ethernet/intel/ixgbe/ixgbe_type_e610.h    |  161 +-
 drivers/net/ethernet/intel/ixgbe/ixgbe_x540.c |    1 +
 drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c |    1 +
 drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c  |    2 +-
 net/devlink/dev.c                             |    2 +-
 27 files changed, 3350 insertions(+), 243 deletions(-)
 create mode 100644 Documentation/networking/devlink/ixgbe.rst
 create mode 100644 drivers/net/ethernet/intel/ixgbe/devlink/devlink.c
 create mode 100644 drivers/net/ethernet/intel/ixgbe/devlink/devlink.h
 create mode 100644 drivers/net/ethernet/intel/ixgbe/ixgbe_fw_update.c
 create mode 100644 drivers/net/ethernet/intel/ixgbe/ixgbe_fw_update.h

-- 
2.47.1


             reply	other threads:[~2025-04-15 22:13 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-04-15 22:12 Tony Nguyen [this message]
2025-04-15 22:12 ` [PATCH net-next v2 01/15] devlink: add value check to devlink_info_version_put() Tony Nguyen
2025-04-15 22:12 ` [PATCH net-next v2 02/15] ixgbe: wrap netdev_priv() usage Tony Nguyen
2025-04-15 22:12 ` [PATCH net-next v2 03/15] ixgbe: add initial devlink support Tony Nguyen
2025-04-15 22:12 ` [PATCH net-next v2 04/15] ixgbe: add handler for devlink .info_get() Tony Nguyen
2025-04-15 22:12 ` [PATCH net-next v2 05/15] ixgbe: add E610 functions for acquiring flash data Tony Nguyen
2025-04-15 22:12 ` [PATCH net-next v2 06/15] ixgbe: read the OROM version information Tony Nguyen
2025-04-15 22:12 ` [PATCH net-next v2 07/15] ixgbe: read the netlist " Tony Nguyen
2025-04-15 22:12 ` [PATCH net-next v2 08/15] ixgbe: add .info_get extension specific for E610 devices Tony Nguyen
2025-04-15 22:12 ` [PATCH net-next v2 09/15] ixgbe: add E610 functions getting PBA and FW ver info Tony Nguyen
2025-04-15 22:12 ` [PATCH net-next v2 10/15] ixgbe: extend .info_get() with stored versions Tony Nguyen
2025-04-15 22:12 ` [PATCH net-next v2 11/15] ixgbe: add device flash update via devlink Tony Nguyen
2025-04-15 22:12 ` [PATCH net-next v2 12/15] ixgbe: add support for devlink reload Tony Nguyen
2025-04-15 22:12 ` [PATCH net-next v2 13/15] ixgbe: add FW API version check Tony Nguyen
2025-04-15 22:12 ` [PATCH net-next v2 14/15] ixgbe: add E610 implementation of FW recovery mode Tony Nguyen
2025-04-15 22:12 ` [PATCH net-next v2 15/15] ixgbe: add support for FW rollback mode Tony Nguyen
2025-04-17  2:10 ` [PATCH net-next v2 00/15][pull request] ixgbe: Add basic devlink support patchwork-bot+netdevbpf

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=20250415221301.1633933-1-anthony.l.nguyen@intel.com \
    --to=anthony.l.nguyen@intel.com \
    --cc=andrew+netdev@lunn.ch \
    --cc=corbet@lwn.net \
    --cc=davem@davemloft.net \
    --cc=edumazet@google.com \
    --cc=horms@kernel.org \
    --cc=jedrzej.jagielski@intel.com \
    --cc=jiri@resnulli.us \
    --cc=kuba@kernel.org \
    --cc=linux-doc@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    --cc=przemyslaw.kitszel@intel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.