[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <871pwcoc43.fsf@nvidia.com>
Date: Wed, 5 Feb 2025 12:32:49 +0100
From: Petr Machata <petrm@...dia.com>
To: Jakub Kicinski <kuba@...nel.org>
CC: Danielle Ratson <danieller@...dia.com>, <netdev@...r.kernel.org>,
<mkubecek@...e.cz>, <matt@...verse.com.au>, <daniel.zahka@...il.com>,
<amcohen@...dia.com>, <nbu-mlxsw@...hange.nvidia.com>
Subject: Re: [PATCH ethtool-next v3 10/16] qsfp: Add JSON output handling to
--module-info in SFF8636 modules
Jakub Kicinski <kuba@...nel.org> writes:
> I think the description fields need to either be concatenated, or an
> array.
Yep.
https://www.rfc-editor.org/rfc/rfc8259#section-4 :
The names within an object SHOULD be unique.
An object whose names are all unique is interoperable in the sense
that all software implementations receiving that object will agree on
the name-value mappings. When the names within an object are not
unique, the behavior of software that receives such an object is
unpredictable. Many implementations report the last name/value pair
only. Other implementations report an error or fail to parse the
object, and some implementations report all of the name/value pairs,
including duplicates.
Powered by blists - more mailing lists