mirror-linux/drivers/net/ethernet/intel/ice/devlink
Shahar Shitrit d2b0073745 devlink: Move graceful period parameter to reporter ops
Move the default graceful period from a parameter to
devlink_health_reporter_create() to a field in the
devlink_health_reporter_ops structure.

This change improves consistency, as the graceful period is inherently
tied to the reporter's behavior and recovery policy. It simplifies the
signature of devlink_health_reporter_create() and its internal helper
functions. It also centralizes the reporter configuration at the ops
structure, preparing the groundwork for a downstream patch that will
introduce a devlink health reporter burst period attribute whose
default value will similarly be provided by the driver via the ops
structure.

Signed-off-by: Shahar Shitrit <shshitrit@nvidia.com>
Reviewed-by: Jiri Pirko <jiri@nvidia.com>
Signed-off-by: Mark Bloch <mbloch@nvidia.com>
Link: https://patch.msgid.link/20250824084354.533182-2-mbloch@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2025-08-26 17:24:16 -07:00
..
devlink.c ice: use libie_aq_str 2025-07-24 09:40:49 -07:00
devlink.h ice: allocate devlink for subfunction 2024-09-06 11:01:24 -07:00
health.c devlink: Move graceful period parameter to reporter ops 2025-08-26 17:24:16 -07:00
health.h ice: add fw and port health reporters 2025-01-14 14:37:34 -08:00
port.c ice: add 40G speed to Admin Command GET PORT OPTION 2025-07-18 09:02:28 -07:00
port.h net: Fix typos 2025-07-25 10:29:07 -07:00