[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20221114212718.76bd6c8b@kernel.org>
Date: Mon, 14 Nov 2022 21:27:18 -0800
From: Jakub Kicinski <kuba@...nel.org>
To: Vincent Mailhol <mailhol.vincent@...adoo.fr>
Cc: "David S. Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>,
Paolo Abeni <pabeni@...hat.com>, netdev@...r.kernel.org,
Andrew Lunn <andrew@...n.ch>,
Oleksij Rempel <linux@...pel-privat.de>,
Dan Williams <dan.j.williams@...el.com>,
Petr Machata <petrm@...dia.com>,
Hao Chen <chenhao288@...ilicon.com>,
Amit Cohen <amcohen@...dia.com>,
"Gustavo A. R. Silva" <gustavoars@...nel.org>,
Sean Anderson <sean.anderson@...o.com>,
linux-kernel@...r.kernel.org,
Leon Romanovsky <leonro@...lanox.com>,
Leon Romanovsky <leonro@...dia.com>
Subject: Re: [PATCH net-next v3] ethtool: doc: clarify what drivers can
implement in their get_drvinfo()
On Sun, 13 Nov 2022 17:34:04 +0900 Vincent Mailhol wrote:
> - * Drivers should set at most @driver, @version, @fw_version and
> - * @bus_info in their get_drvinfo() implementation. The ethtool
> - * core fills in the other fields using other driver operations.
> + * Drivers should set at most @fw_version and @erom_version in their
> + * get_drvinfo() implementation. The ethtool core fills in the other
> + * fields using other driver operations.
Can I still nit pick the working on v3? :)
Almost half of the fields are not filled in by other operations,
so how about we cut deeper? Even @erom_version is only filled in by
a single driver, and pretty much deprecated (devlink is much more
flexible for all FW version reporting and flashing).
How about:
* Majority of the drivers should no longer implement this callback.
* Most fields are correctly filled in by the core using system
* information, or populated using other driver operations.
Powered by blists - more mailing lists