All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH net-next v2 00/15][pull request] ixgbe: Add basic devlink support
@ 2025-04-15 22:12 Tony Nguyen
  2025-04-15 22:12 ` [PATCH net-next v2 01/15] devlink: add value check to devlink_info_version_put() Tony Nguyen
                   ` (15 more replies)
  0 siblings, 16 replies; 17+ messages in thread
From: Tony Nguyen @ 2025-04-15 22:12 UTC (permalink / raw)
  To: davem, kuba, pabeni, edumazet, andrew+netdev, netdev
  Cc: Tony Nguyen, jedrzej.jagielski, przemyslaw.kitszel, jiri, horms,
	corbet, linux-doc

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


^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2025-04-17  2:09 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-15 22:12 [PATCH net-next v2 00/15][pull request] ixgbe: Add basic devlink support Tony Nguyen
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

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.