netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC PATCH iproute2-next V2] System specification exception API
@ 2018-09-26 11:52 Eran Ben Elisha
  2018-09-26 11:52 ` [RFC PATCH iproute2-next V2] man: Add devlink exception man page Eran Ben Elisha
  2018-09-27 12:47 ` [RFC PATCH iproute2-next V2] System specification exception API Jiri Pirko
  0 siblings, 2 replies; 8+ messages in thread
From: Eran Ben Elisha @ 2018-09-26 11:52 UTC (permalink / raw)
  To: netdev, Jakub Kicinski, Jiri Pirko, Stephen Hemminger,
	Andrew Lunn, Tobin C. Harding
  Cc: Ariel Almog, Tal Alon, Eran Ben Elisha

The exception spec is targeted for Real Time Alerting, in order to know when
something bad had happened to a PCI device
- Provide alert debug information
- Self healing
- If problem needs vendor support, provide a way to gather all needed debugging
  information.

The exception mechanism contains condition checkers which sense for malfunction. Upon a condition hit,
actions such as logs and correction can be taken.

The condition checkers are divided into the following groups
- Hardware - a checker which is triggered by the device due to
  malfunction.
- Software - a checker which is triggered by the software due to
  malfunction.
Both groups of condition checkers can be triggered due to error event or due to a periodic check.

Actions are the way to handle those events. Action can be in one of the
following groups:
- Dump -  SW trace, SW dump, HW trace, HW dump
- Reset - Surgical correction (e.g. modify Q, flush Q, reset of device, etc)
Actions can be performed by SW or HW.

User is allowed to enable or disable condition checkers and its action mapping.

This RFC man page patch describes the suggested API of devlink-exception in order
to control conditions and actions.

V2:
* Renaming terms:
	health -> exception
	sensor -> condition
* Remove reinit command and merge with action command.
* Consmetics in grammer.

Eran Ben Elisha (1):
  man: Add devlink exception man page

 man/man8/devlink-exception.8 | 158 +++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 158 insertions(+)
 create mode 100644 man/man8/devlink-exception.8

-- 
1.8.3.1

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

end of thread, other threads:[~2018-09-27 22:45 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-09-26 11:52 [RFC PATCH iproute2-next V2] System specification exception API Eran Ben Elisha
2018-09-26 11:52 ` [RFC PATCH iproute2-next V2] man: Add devlink exception man page Eran Ben Elisha
2018-09-27 14:32   ` Jiri Pirko
2018-09-27 16:26     ` David Ahern
2018-09-27 12:47 ` [RFC PATCH iproute2-next V2] System specification exception API Jiri Pirko
2018-09-27 14:02   ` Eran Ben Elisha
2018-09-27 14:34     ` Jiri Pirko
2018-09-27 15:04       ` Eran Ben Elisha

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).