public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH net-next v2 0/3] Devlink health auto attributes refactor
@ 2020-03-29 11:05 Eran Ben Elisha
  2020-03-29 11:05 ` [PATCH net-next v2 1/3] netdevsim: Change dummy reporter auto recover default Eran Ben Elisha
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Eran Ben Elisha @ 2020-03-29 11:05 UTC (permalink / raw)
  To: netdev, Jakub Kicinski, Jiri Pirko, Michael Chan, David S. Miller,
	Saeed Mahameed
  Cc: Eran Ben Elisha

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.

For that, patch 0001 changes the auto-recover default value of 
netdevsim dummy reporter.

After reporter registration, both flags can be altered be administrator
only.

Changes since v1:
- Change default behaviour of netdevsim dummy reporter
- Move initialization of DEVLINK_ATTR_HEALTH_REPORTER_AUTO_DUMP 

Eran Ben Elisha (3):
  netdevsim: Change dummy reporter auto recover default
  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 +++++++++++++------
 .../drivers/net/netdevsim/devlink.sh          |  5 +++
 9 files changed, 42 insertions(+), 21 deletions(-)

-- 
2.17.1


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

end of thread, other threads:[~2020-03-30 18:12 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-03-29 11:05 [PATCH net-next v2 0/3] Devlink health auto attributes refactor Eran Ben Elisha
2020-03-29 11:05 ` [PATCH net-next v2 1/3] netdevsim: Change dummy reporter auto recover default Eran Ben Elisha
2020-03-30 13:35   ` Jiri Pirko
2020-03-29 11:05 ` [PATCH net-next v2 2/3] devlink: Implicitly set auto recover flag when registering health reporter Eran Ben Elisha
2020-03-29 11:05 ` [PATCH net-next v2 3/3] devlink: Add auto dump flag to " Eran Ben Elisha
2020-03-30 18:12 ` [PATCH net-next v2 0/3] Devlink health auto attributes refactor David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox