Thread (9 messages) 9 messages, 5 authors, 2025-06-10

Re: [PATCH ethtool 1/2] module_common: always print per-lane status in JSON

From: Ido Schimmel <hidden>
Date: 2025-05-29 15:53:05

On Thu, May 29, 2025 at 07:20:32AM -0700, Jakub Kicinski wrote:
The JSON output type changes when loss of signal / fault is
detected. When there is no problem we print single bool, eg:

  "rx_loss_of_signal": false,

but when there's a problem we print an array:

  "rx_loss_of_signal": ["No", "Yes", "No", "No"],

This appears to be a mirror of the human-readable output,
but it's a pain to parse / unmarshall for user space.

Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Reviewed-by: Ido Schimmel <idosch@nvidia.com>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help