[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20191009110445.23237-1-jiri@resnulli.us>
Date: Wed, 9 Oct 2019 13:04:41 +0200
From: Jiri Pirko <jiri@...nulli.us>
To: netdev@...r.kernel.org
Cc: davem@...emloft.net, jakub.kicinski@...ronome.com,
ayal@...lanox.com, moshe@...lanox.com, eranbe@...lanox.com,
mlxsw@...lanox.com
Subject: [patch net-next 0/4] netdevsim: add devlink health reporters support
From: Jiri Pirko <jiri@...lanox.com>
This patchset adds support for devlink health reporter interface
testing. First 2 patches are small dependencies of the last 2.
Jiri Pirko (4):
devlink: don't do reporter recovery if the state is healthy
devlink: propagate extack down to health reporter ops
netdevsim: implement couple of testing devlink health reporters
selftests: add netdevsim devlink health tests
.../net/ethernet/broadcom/bnxt/bnxt_devlink.c | 9 +-
.../mellanox/mlx5/core/en/reporter_rx.c | 6 +-
.../mellanox/mlx5/core/en/reporter_tx.c | 6 +-
.../net/ethernet/mellanox/mlx5/core/health.c | 12 +-
drivers/net/netdevsim/Makefile | 2 +-
drivers/net/netdevsim/dev.c | 17 +-
drivers/net/netdevsim/health.c | 315 ++++++++++++++++++
drivers/net/netdevsim/netdevsim.h | 14 +
include/net/devlink.h | 9 +-
net/core/devlink.c | 23 +-
.../drivers/net/netdevsim/devlink.sh | 124 ++++++-
11 files changed, 510 insertions(+), 27 deletions(-)
create mode 100644 drivers/net/netdevsim/health.c
--
2.21.0
Powered by blists - more mailing lists