[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <f5713f16-d004-4794-9cfd-dad4bd4a1f4e@linux.dev>
Date: Wed, 5 Nov 2025 13:36:42 +0000
From: Vadim Fedorenko <vadim.fedorenko@...ux.dev>
To: Jakub Kicinski <kuba@...nel.org>
Cc: Manish Chopra <manishc@...vell.com>,
Marco Crivellari <marco.crivellari@...e.com>,
Andrew Lunn <andrew+netdev@...n.ch>, "David S. Miller"
<davem@...emloft.net>, Eric Dumazet <edumazet@...gle.com>,
Paolo Abeni <pabeni@...hat.com>, Sunil Goutham <sgoutham@...vell.com>,
Richard Cochran <richardcochran@...il.com>,
Russell King <linux@...linux.org.uk>,
Vladimir Oltean <vladimir.oltean@....com>, Simon Horman <horms@...nel.org>,
Jacob Keller <jacob.e.keller@...el.com>,
Kory Maincent <kory.maincent@...tlin.com>,
linux-arm-kernel@...ts.infradead.org, netdev@...r.kernel.org
Subject: Re: [PATCH net-next v2 7/7] qede: convert to use ndo_hwtstamp
callbacks
On 05/11/2025 01:43, Jakub Kicinski wrote:
> On Mon, 3 Nov 2025 15:09:52 +0000 Vadim Fedorenko wrote:
>> ptp->hw_ts_ioctl_called = 1;
>> - ptp->tx_type = config.tx_type;
>> - ptp->rx_filter = config.rx_filter;
>> + ptp->tx_type = config->tx_type;
>> + ptp->rx_filter = config->rx_filter;
>>
>> rc = qede_ptp_cfg_filters(edev);
>> - if (rc)
>> + if (rc) {
>> + NL_SET_ERR_MSG_MOD(extack,
>> + "One-step timestamping is not supported");
>> return rc;
>> + }
>> +
>> + config->rx_filter = ptp->rx_filter;
>
> Same story as the first patch.
> I suppose these drives may predate the advanced tx config options.
> Simple fix would be to move the tx_filter validation here instead.
>
> I'll apply 2-6.
Got it. I'll send fixed versions of patch 1 and patch 7, thanks!
Powered by blists - more mailing lists