[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <116cc011-4e4a-12c9-0cba-3097c6e85e0d@gmail.com>
Date: Mon, 10 Feb 2025 14:50:18 +0000
From: Edward Cree <ecree.xilinx@...il.com>
To: Jiri Pirko <jiri@...nulli.us>
Cc: linux-net-drivers@....com, davem@...emloft.net, kuba@...nel.org,
edumazet@...gle.com, pabeni@...hat.com, horms@...nel.org,
andrew+netdev@...n.ch, habetsm.xilinx@...il.com, netdev@...r.kernel.org,
edward.cree@....com, Jacob Keller <jacob.e.keller@...el.com>
Subject: Re: [PATCH v2 net-next 4/4] sfc: document devlink flash support
On 10/02/2025 13:51, Jiri Pirko wrote:
> Mon, Feb 10, 2025 at 12:25:45PM +0100, edward.cree@....com wrote:
>> Info versions
>> =============
>> @@ -18,6 +18,10 @@ The ``sfc`` driver reports the following versions
>> * - Name
>> - Type
>> - Description
>> + * - ``fw.bundle_id``
>
> Why "id"? It is the bundle version, isn't it. In that case just "bundle"
> would be fine I guess...
bundle_id comes from DEVLINK_INFO_VERSION_GENERIC_FW_BUNDLE_ID in
include/net/devlink.h, which git blame tells me was added by Jacob
Keller in 2020 as a generalisation of a similar name in nfp.[1]
Its use in sfc was added[2] by Alejandro Lucero in 2023 but seems to
have been left out of the documentation at that time.
The present patch series is merely documenting the name that already
exists, not adding it. Changing it might break existing scripts, and
in any case would affect more drivers than just sfc (it is used by
i40e, ice, and nfp).
CCing Jacob in case he has anything to add on why that name was chosen.
[1]: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=c90977a3c227
[2]: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=14743ddd2495
Powered by blists - more mailing lists