[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <af871f69-9459-c65c-015b-6f7bbb2ac44d@huawei.com>
Date: Thu, 26 Aug 2021 19:22:00 +0800
From: "huangguangbin (A)" <huangguangbin2@...wei.com>
To: Michal Kubecek <mkubecek@...e.cz>
CC: <davem@...emloft.net>, <kuba@...nel.org>, <amitc@...lanox.com>,
<idosch@...sch.org>, <andrew@...n.ch>, <o.rempel@...gutronix.de>,
<f.fainelli@...il.com>, <jacob.e.keller@...el.com>,
<mlxsw@...lanox.com>, <netdev@...r.kernel.org>,
<lipeng321@...wei.com>
Subject: Re: [PATCH V2 ethtool-next 1/2] update UAPI header copies
On 2021/8/26 17:45, Michal Kubecek wrote:
> On Wed, Aug 25, 2021 at 03:45:12PM +0800, Guangbin Huang wrote:
>> Update to kernel commit 5b4ecc3d4c4a.
>>
>> Signed-off-by: Guangbin Huang <huangguangbin2@...wei.com>
>> ---
>> uapi/linux/ethtool.h | 2 ++
>> 1 file changed, 2 insertions(+)
>>
>> diff --git a/uapi/linux/ethtool.h b/uapi/linux/ethtool.h
>> index c6ec1111ffa3..bd1f09b23cf5 100644
>> --- a/uapi/linux/ethtool.h
>> +++ b/uapi/linux/ethtool.h
>> @@ -637,6 +637,8 @@ enum ethtool_link_ext_substate_link_logical_mismatch {
>> enum ethtool_link_ext_substate_bad_signal_integrity {
>> ETHTOOL_LINK_EXT_SUBSTATE_BSI_LARGE_NUMBER_OF_PHYSICAL_ERRORS = 1,
>> ETHTOOL_LINK_EXT_SUBSTATE_BSI_UNSUPPORTED_RATE,
>> + ETHTOOL_LINK_EXT_SUBSTATE_BSI_SERDES_REFERENCE_CLOCK_LOST,
>> + ETHTOOL_LINK_EXT_SUBSTATE_BSI_SERDES_ALOS,
>> };
>>
>> /* More information in addition to ETHTOOL_LINK_EXT_STATE_CABLE_ISSUE. */
>> --
>> 2.8.1
>>
>
> I replaced this commit with a full update of uapi headers. The point is
> that if we keep cherry picking only specific changes in the headers, it
> will become harder and harder to check if something is missing or if we
> diverged from kernel. This is why an update of uapi headers should
> always update all of them to the state of the same kernel commit
> (usually current master or net-next tree).
>
> I added the link to ethtool-import-uapi script to devel documentation on
> the ethtool web page make things easier.
>
> Michal
>
Ok, thanks!
Powered by blists - more mailing lists