netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next v1 0/8] devlink: retain error in struct devlink_fmsg
@ 2023-10-10 10:43 Przemek Kitszel
  2023-10-10 10:43 ` [PATCH net-next v1 1/8] " Przemek Kitszel
                   ` (7 more replies)
  0 siblings, 8 replies; 15+ messages in thread
From: Przemek Kitszel @ 2023-10-10 10:43 UTC (permalink / raw)
  To: Jiri Pirko, netdev, David S . Miller, Eric Dumazet,
	Jakub Kicinski, Paolo Abeni, Shannon Nelson, Michael Chan,
	Edwin Peer, Cai Huoqing, Luo bin, George Cherian,
	Danielle Ratson, Moshe Shemesh, Saeed Mahameed
  Cc: Brett Creeley, Vasundhara Volam, Sunil Goutham, Linu Cherian,
	Geetha sowjanya, Jerin Jacob, hariprasad, Subbaraya Sundeep,
	Ido Schimmel, Petr Machata, Eran Ben Elisha, Aya Levin,
	Leon Romanovsky, Przemek Kitszel

Extend devlink fmsg to retain error, and return it at each subsequent call
(patch 1), so drivers could omit all but last error checks (the rest of
the patches).

I would be happy to re-send patches 3-8 as separate to their vendors
maintainers, to don't block merge of 1st one (as they are kind of
illustration here).

Especially mlx5 is massive thanks to custom fmsg API wrappers,
thus it's last.

Przemek Kitszel (8):
  devlink: retain error in struct devlink_fmsg
  netdevsim: devlink health: use retained error fmsg API
  pds_core: devlink health: use retained error fmsg API
  bnxt_en: devlink health: use retained error fmsg API
  hinic: devlink health: use retained error fmsg API
  octeontx2-af: devlink health: use retained error fmsg API
  mlxsw: core: devlink health: use retained error fmsg API
  net/mlx5: devlink health: use retained error fmsg API

 drivers/net/ethernet/amd/pds_core/devlink.c   |  27 +-
 .../net/ethernet/broadcom/bnxt/bnxt_devlink.c |  59 +--
 .../net/ethernet/huawei/hinic/hinic_devlink.c | 181 ++-----
 .../marvell/octeontx2/af/rvu_devlink.c        | 462 +++++-------------
 .../mellanox/mlx5/core/diag/fw_tracer.c       |  32 +-
 .../mellanox/mlx5/core/diag/reporter_vnic.c   | 108 ++--
 .../ethernet/mellanox/mlx5/core/en/health.c   | 144 +-----
 .../mellanox/mlx5/core/en/reporter_rx.c       | 357 +++-----------
 .../mellanox/mlx5/core/en/reporter_tx.c       | 275 +++--------
 .../net/ethernet/mellanox/mlx5/core/health.c  |  85 +---
 drivers/net/ethernet/mellanox/mlxsw/core.c    | 140 ++----
 drivers/net/netdevsim/health.c                | 103 +---
 net/devlink/health.c                          | 255 ++++------
 13 files changed, 561 insertions(+), 1667 deletions(-)

-- 
2.40.1


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

end of thread, other threads:[~2023-10-12 11:34 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-10 10:43 [PATCH net-next v1 0/8] devlink: retain error in struct devlink_fmsg Przemek Kitszel
2023-10-10 10:43 ` [PATCH net-next v1 1/8] " Przemek Kitszel
2023-10-10 11:34   ` Jiri Pirko
2023-10-10 13:36     ` Przemek Kitszel
2023-10-10 14:03       ` Jiri Pirko
2023-10-10 10:43 ` [PATCH net-next v1 2/8] netdevsim: devlink health: use retained error fmsg API Przemek Kitszel
2023-10-10 10:43 ` [PATCH net-next v1 3/8] pds_core: " Przemek Kitszel
2023-10-10 16:53   ` Nelson, Shannon
2023-10-12 11:30     ` Przemek Kitszel
2023-10-10 10:43 ` [PATCH net-next v1 4/8] bnxt_en: " Przemek Kitszel
2023-10-12 11:34   ` Przemek Kitszel
2023-10-10 10:43 ` [PATCH net-next v1 5/8] hinic: " Przemek Kitszel
2023-10-10 10:43 ` [PATCH net-next v1 6/8] octeontx2-af: " Przemek Kitszel
2023-10-10 10:43 ` [PATCH net-next v1 7/8] mlxsw: core: " Przemek Kitszel
2023-10-10 10:43 ` [PATCH net-next v1 8/8] net/mlx5: " Przemek Kitszel

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