netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH iwl-next v3 0/6] ice: add support for devlink health events
@ 2024-08-21 13:37 Przemek Kitszel
  2024-08-21 13:37 ` [PATCH iwl-next v3 1/6] checkpatch: don't complain on _Generic() use Przemek Kitszel
                   ` (5 more replies)
  0 siblings, 6 replies; 13+ messages in thread
From: Przemek Kitszel @ 2024-08-21 13:37 UTC (permalink / raw)
  To: intel-wired-lan, Jiri Pirko, Tony Nguyen
  Cc: netdev, David S. Miller, Eric Dumazet, Paolo Abeni,
	Jakub Kicinski, nex.sw.ncis.osdt.itp.upstreaming, apw, joe,
	dwaipayanray1, lukas.bulwahn, akpm, willemb, Przemek Kitszel

Reports for two kinds of events are implemented, Malicious Driver
Detection (MDD) and Tx hang.

Patches 1, 2, 3: core improvements (checkpatch.pl, devlink extension)
Patches 3, 4, 5: ice devlink health infra + reporters

Mateusz did good job caring for this series, and hardening the code,
but he's on long vacation now :)

---
v3: - extracted devlink_fmsg_dump_skb(), and thus removed ugly copy-pasta
      present in v2 (Jakub);
    - tx hang reported is now called from service_task, to resolve calling
      it from atomic (watchog) context - patch 4

v2: patch 3 (patch 4 in v3)
    - added additional cast to long in ice_tx_hang_reporter_dump()
    - removed size_mul() in devlink_fmsg_binary_pair_put() call
https://lore.kernel.org/netdev/20240712093251.18683-1-mateusz.polchlopek@intel.com

v1:
https://lore.kernel.org/netdev/20240703125922.5625-1-mateusz.polchlopek@intel.com
---

Ben Shelton (1):
  ice: Add MDD logging via devlink health

Mateusz Polchlopek (1):
  devlink: add devlink_fmsg_dump_skb() function

Przemek Kitszel (4):
  checkpatch: don't complain on _Generic() use
  devlink: add devlink_fmsg_put() macro
  ice: add Tx hang devlink health reporter
  ice: dump ethtool stats and skb by Tx hang devlink health reporter

 drivers/net/ethernet/intel/ice/Makefile       |   1 +
 scripts/checkpatch.pl                         |   2 +
 .../intel/ice/devlink/devlink_health.h        |  59 ++++
 drivers/net/ethernet/intel/ice/ice.h          |   2 +
 drivers/net/ethernet/intel/ice/ice_ethtool.h  |   2 +
 .../ethernet/intel/ice/ice_ethtool_common.h   |  19 ++
 include/net/devlink.h                         |  13 +
 .../intel/ice/devlink/devlink_health.c        | 302 ++++++++++++++++++
 drivers/net/ethernet/intel/ice/ice_ethtool.c  |  10 +-
 drivers/net/ethernet/intel/ice/ice_main.c     |  24 +-
 net/devlink/health.c                          |  67 ++++
 11 files changed, 491 insertions(+), 10 deletions(-)
 create mode 100644 drivers/net/ethernet/intel/ice/devlink/devlink_health.h
 create mode 100644 drivers/net/ethernet/intel/ice/ice_ethtool_common.h
 create mode 100644 drivers/net/ethernet/intel/ice/devlink/devlink_health.c


base-commit: 5c820c0d09067ec782a6a84b5362e899662eafea
-- 
2.39.3


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

end of thread, other threads:[~2024-08-29 14:36 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-21 13:37 [PATCH iwl-next v3 0/6] ice: add support for devlink health events Przemek Kitszel
2024-08-21 13:37 ` [PATCH iwl-next v3 1/6] checkpatch: don't complain on _Generic() use Przemek Kitszel
2024-08-21 13:37 ` [PATCH iwl-next v3 2/6] devlink: add devlink_fmsg_put() macro Przemek Kitszel
2024-08-29 14:30   ` [Intel-wired-lan] " Pucha, HimasekharX Reddy
2024-08-21 13:37 ` [PATCH iwl-next v3 3/6] devlink: add devlink_fmsg_dump_skb() function Przemek Kitszel
2024-08-22 10:40   ` Simon Horman
2024-08-29 14:31   ` [Intel-wired-lan] " Pucha, HimasekharX Reddy
2024-08-21 13:37 ` [PATCH iwl-next v3 4/6] ice: add Tx hang devlink health reporter Przemek Kitszel
2024-08-29 14:33   ` [Intel-wired-lan] " Pucha, HimasekharX Reddy
2024-08-21 13:37 ` [PATCH iwl-next v3 5/6] ice: dump ethtool stats and skb by " Przemek Kitszel
2024-08-29 14:34   ` [Intel-wired-lan] " Pucha, HimasekharX Reddy
2024-08-21 13:37 ` [PATCH iwl-next v3 6/6] ice: Add MDD logging via devlink health Przemek Kitszel
2024-08-29 14:36   ` [Intel-wired-lan] " Pucha, HimasekharX Reddy

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