[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1585142784-10517-1-git-send-email-eranbe@mellanox.com>
Date: Wed, 25 Mar 2020 15:26:22 +0200
From: Eran Ben Elisha <eranbe@...lanox.com>
To: netdev@...r.kernel.org, Jakub Kicinski <kuba@...nel.org>,
Jiri Pirko <jiri@...lanox.com>,
Michael Chan <michael.chan@...adcom.com>,
"David S. Miller" <davem@...emloft.net>,
Saeed Mahameed <saeedm@...lanox.com>
Cc: Eran Ben Elisha <eranbe@...lanox.com>
Subject: [PATCH net-next 0/2] Devlink health auto attributes refactor
This patchset refactors the auto-recover health reporter flag to be
explicitly set by the devlink core.
In addition, add another flag to control auto-dump attribute, also
to be explicitly set by the devlink core.
After reporter registration, both flags can be altered be administrator
only.
Eran Ben Elisha (2):
devlink: Implicitly set auto recover flag when registering health
reporter
devlink: Add auto dump flag to health reporter
.../net/ethernet/broadcom/bnxt/bnxt_devlink.c | 6 ++--
.../mellanox/mlx5/core/en/reporter_rx.c | 2 +-
.../mellanox/mlx5/core/en/reporter_tx.c | 2 +-
.../net/ethernet/mellanox/mlx5/core/health.c | 4 +--
drivers/net/netdevsim/health.c | 4 +--
include/net/devlink.h | 3 +-
include/uapi/linux/devlink.h | 2 ++
net/core/devlink.c | 35 +++++++++++++------
8 files changed, 37 insertions(+), 21 deletions(-)
--
2.17.1
Powered by blists - more mailing lists