From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net [23.128.96.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id EBD00D532 for ; Tue, 18 Jul 2023 14:07:13 +0000 (UTC) Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.154.123]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AE5161995; Tue, 18 Jul 2023 07:07:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1689689229; x=1721225229; h=message-id:subject:from:to:cc:date:in-reply-to: references:content-transfer-encoding:mime-version; bh=iwfQy+D3lFiClOhmhcONxSk2bmidb43y8zeZMhjVWhU=; b=zWqIbSNysrpknBi1xi0rQvQS1MDH9QIVQq3m+UiT6Q5cPluB6MVj411A aVMbyla+gVeZHyk+kxhKOO4LatDpP0vFQZVl3wqtpuWo/SYlPtwudkzeI 1IatbRXVRiGiIAMLGjnac7sroyw0h8hjwGOTdyHEvUOF8ketpRtsjsVuW nljyKvoGJ6UR9+0zK+/GI4yHeIlYoeig8U/A0Tu45OfqO2n6tg1ht9ml2 yFPzjtz3G6h/zJ3qfMNwm2PH+5qZesX5I280kOGTRo7nJZ8WuRAdGKxy+ kMxpXE4qDiQtA1A2JUcmQNX8d4OKk2Tct+LOMwPfu/RpyWnBWQANyV2OT Q==; X-IronPort-AV: E=Sophos;i="6.01,214,1684825200"; d="scan'208";a="225243545" X-Amp-Result: SKIPPED(no attachment in message) Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa2.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 18 Jul 2023 07:07:07 -0700 Received: from chn-vm-ex03.mchp-main.com (10.10.85.151) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.21; Tue, 18 Jul 2023 07:07:05 -0700 Received: from den-dk-m31857.microchip.com (10.10.115.15) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server id 15.1.2507.21 via Frontend Transport; Tue, 18 Jul 2023 07:06:59 -0700 Message-ID: Subject: Re: [PATCH v8 net-next 08/12] net: sparx5: convert to ndo_hwtstamp_get() and ndo_hwtstamp_set() From: Steen Hegelund To: Vladimir Oltean , CC: "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Andrew Lunn , Florian Fainelli , Maxim Georgiev , Horatiu Vultur , =?ISO-8859-1?Q?K=F6ry?= Maincent , Maxime Chevallier , Richard Cochran , Vadim Fedorenko , Gerhard Engleder , Hangbin Liu , "Russell King" , Heiner Kallweit , "Jacob Keller" , Jay Vosburgh , "Andy Gospodarek" , Wei Fang , Shenwei Wang , Clark Wang , NXP Linux Team , , Lars Povlsen , Daniel Machon , Simon Horman , Casper Andersson , Sergey Organov , Michal Kubecek , , Date: Tue, 18 Jul 2023 16:06:58 +0200 In-Reply-To: <20230717152709.574773-9-vladimir.oltean@nxp.com> References: <20230717152709.574773-1-vladimir.oltean@nxp.com> <20230717152709.574773-9-vladimir.oltean@nxp.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.48.4 Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL, SPF_HELO_PASS,SPF_NONE,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Hi Vladimir, On Mon, 2023-07-17 at 18:27 +0300, Vladimir Oltean wrote: > EXTERNAL EMAIL: Do not click links or open attachments unless you know th= e > content is safe >=20 > The hardware timestamping through ndo_eth_ioctl() is going away. > Convert the sparx5 driver to the new API before that can be removed. >=20 > After removing the timestamping logic from sparx5_port_ioctl(), the rest > is equivalent to phy_do_ioctl(). >=20 > Signed-off-by: Vladimir Oltean > Reviewed-by: Jacob Keller > --- > Changes in v8: > - Use phy_do_ioctl() > Changes in v7: > - Patch is new >=20 >=20 ...[snip]... > =C2=A0static void sparx5_ptp_classify(struct sparx5_port *port, struct sk= _buff > *skb, > -- > 2.34.1 >=20 Reviewed-by: Steen Hegelund BR Steen