[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <437c2cc9-37ce-40f1-91a2-cbfeb667da5c@kernel.org>
Date: Fri, 21 Nov 2025 12:18:29 -0700
From: David Ahern <dsahern@...nel.org>
To: Justin Iurman <justin.iurman@...ege.be>, davem@...emloft.net
Cc: netdev@...r.kernel.org, Jakub Kicinski <kuba@...nel.org>,
Paolo Abeni <pabeni@...hat.com>
Subject: Re: [PATCH net] uapi: ioam6: adjust the maximum size of a schema
On 11/21/25 11:55 AM, Justin Iurman wrote:
>
> You're right, it might be too risky. Besides, the current code (i.e.,
> IOAM6_MAX_SCHEMA_DATA_LEN=1020) doesn't break anything per se, it was
> mainly for convenience. Do you think it would be OK to introduce a new
> constant in the uapi, as suggested above? Or did your comment also apply
> to that part?
You cannot break any existing implementation which means kernel side you
have to allow the current DATA_LEN. Given that there is little point in
trying to change it now. If the spec has a 240B limit, you could return
a warning message telling users when they exceed it. UAPI wise I think
we are stuck with what exists.
Powered by blists - more mailing lists