[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200728085859.899-1-irusskikh@marvell.com>
Date: Tue, 28 Jul 2020 11:58:48 +0300
From: Igor Russkikh <irusskikh@...vell.com>
To: <netdev@...r.kernel.org>
CC: "David S . Miller" <davem@...emloft.net>,
Jakub Kicinski <kuba@...nel.org>,
Ariel Elior <aelior@...vell.com>,
Michal Kalderon <mkalderon@...vell.com>,
Igor Russkikh <irusskikh@...vell.com>
Subject: [PATCH v2 net-next 00/11] qed: introduce devlink health support
This is a followup implementation after series
https://patchwork.ozlabs.org/project/netdev/cover/20200514095727.1361-1-irusskikh@marvell.com/
This is an implementation of devlink health infrastructure.
With this we are now able to report HW errors to devlink, and it'll take
its own actions depending on user configuration to capture and store the
dump at the bad moment, and to request the driver to recover the device.
So far we do not differentiate global device failures or specific PCI
function failures. This means that some errors specific to one physical
function will affect an entire device. This is not yet fully designed
and verified, will followup in future.
Solution was verified with artificial HW errors generated, existing
tools for dump analysis could be used.
v2: fix #include issue from kbuild test robot.
Igor Russkikh (11):
qed: move out devlink logic into a new file
qed/qede: make devlink survive recovery
qed: swap param init and publish
qed: fix kconfig help entries
qed: implement devlink info request
qed: health reporter init deinit seq
qed: use devlink logic to report errors
qed*: make use of devlink recovery infrastructure
qed: implement devlink dump
qed: align adjacent indent
qede: make driver reliable on unload after failures
drivers/net/ethernet/qlogic/Kconfig | 5 +-
drivers/net/ethernet/qlogic/qed/Makefile | 1 +
drivers/net/ethernet/qlogic/qed/qed.h | 3 +-
drivers/net/ethernet/qlogic/qed/qed_dev.c | 10 +
drivers/net/ethernet/qlogic/qed/qed_devlink.c | 256 ++++++++++++++++++
drivers/net/ethernet/qlogic/qed/qed_devlink.h | 20 ++
drivers/net/ethernet/qlogic/qed/qed_main.c | 116 +-------
drivers/net/ethernet/qlogic/qede/qede.h | 2 +
drivers/net/ethernet/qlogic/qede/qede_main.c | 35 ++-
include/linux/qed/qed_if.h | 23 +-
10 files changed, 342 insertions(+), 129 deletions(-)
create mode 100644 drivers/net/ethernet/qlogic/qed/qed_devlink.c
create mode 100644 drivers/net/ethernet/qlogic/qed/qed_devlink.h
--
2.17.1
Powered by blists - more mailing lists