netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH iwl-next 0/3] idpf: add devlink info support with selftest
@ 2026-08-14 17:49 Paul Greenwalt
  2026-08-14 17:49 ` [PATCH iwl-next 1/3] idpf: clear drvdata on probe error path Paul Greenwalt
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Paul Greenwalt @ 2026-08-14 17:49 UTC (permalink / raw)
  To: intel-wired-lan; +Cc: netdev, Paul Greenwalt

Add initial devlink info support for idpf and a matching selftest.

Patch 1 fixes probe unwind by clearing drvdata on the error path.

Patch 2 introduces an idpf devlink instance and reports:
  - serial_number: device serial number for NIPA CI identification
  - fw.mgmt.api (running): driver-device communication protocol version

This follows a phased approach and reports stable, readily-available
information. Firmware version support will be added in future patches as it
becomes available through virtchnl.

Patch 3 adds a hardware selftest that validates basic devlink info
reporting and matches test patterns used by NIPA CI.

Paul Greenwalt (3):
  idpf: clear drvdata on probe error path
  idpf: add devlink info support
  selftests: net: hw: add devlink info test

 Documentation/networking/devlink/idpf.rst     |  29 +++++
 Documentation/networking/devlink/index.rst    |   1 +
 drivers/net/ethernet/intel/idpf/Makefile      |   1 +
 .../net/ethernet/intel/idpf/idpf_devlink.c    |  79 ++++++++++++
 .../net/ethernet/intel/idpf/idpf_devlink.h    |  45 +++++++
 drivers/net/ethernet/intel/idpf/idpf_main.c   |  13 +-
 .../testing/selftests/drivers/net/hw/Makefile |   1 +
 .../selftests/drivers/net/hw/devlink_info.sh  | 119 ++++++++++++++++++
 8 files changed, 285 insertions(+), 3 deletions(-)
 create mode 100644 Documentation/networking/devlink/idpf.rst
 create mode 100644 drivers/net/ethernet/intel/idpf/idpf_devlink.c
 create mode 100644 drivers/net/ethernet/intel/idpf/idpf_devlink.h
 create mode 100755 tools/testing/selftests/drivers/net/hw/devlink_info.sh

-- 
2.52.0


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

end of thread, other threads:[~2026-08-15  1:26 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-14 17:49 [PATCH iwl-next 0/3] idpf: add devlink info support with selftest Paul Greenwalt
2026-08-14 17:49 ` [PATCH iwl-next 1/3] idpf: clear drvdata on probe error path Paul Greenwalt
2026-08-14 17:49 ` [PATCH iwl-next 2/3] idpf: add devlink info support Paul Greenwalt
2026-08-14 17:49 ` [PATCH iwl-next 3/3] selftests: net: hw: add devlink info test Paul Greenwalt

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).