From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id D3A48E85367 for ; Fri, 3 Apr 2026 13:10:44 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 999C38105C; Fri, 3 Apr 2026 13:10:44 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id edy000Db8ZJN; Fri, 3 Apr 2026 13:10:43 +0000 (UTC) X-Comment: SPF check N/A for local connections - client-ip=140.211.166.142; helo=lists1.osuosl.org; envelope-from=intel-wired-lan-bounces@osuosl.org; receiver= DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org 34E3581076 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=osuosl.org; s=default; t=1775221843; bh=Xl1F/s/LeF6gY33sWIYrV1tyk5Hv/eVwrr0xQ8Hg1rs=; h=Date:From:To:Cc:References:In-Reply-To:Subject:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=BklRFfKG/ZtFvgSTl3/A02VrQc2VBALY7VGMIYPGVHYzNKvnKwfeVKptllNyhTH6V OmFB++gUwbriaZ2aAJzthgGqGtDAvTKHNY8y44GLFSu0DYXSWcKDQ38VVAS+1yDHcF TAbruM79kzlnwhY0DwQuY/MxQ6uoVXXyCAlNyldBvfJ2GjP/Of0rv5KPCpx+chf9WU dcf5vlPDEPwDkxDtHlPjg9KfiyfeWOVA8BDefzpEUSMjX2rQg3RdanAIHJMYUpgfoV t/WaMGNUx1grQ3aVy1L6sMZ5IfZDN/+GGZu6yiBbafbpnW+i8e2xjCPkh2BbWYrKwR qfgyw/cWOc/rQ== Received: from lists1.osuosl.org (lists1.osuosl.org [140.211.166.142]) by smtp1.osuosl.org (Postfix) with ESMTP id 34E3581076; Fri, 3 Apr 2026 13:10:43 +0000 (UTC) Received: from smtp4.osuosl.org (smtp4.osuosl.org [IPv6:2605:bc80:3010::137]) by lists1.osuosl.org (Postfix) with ESMTP id 70B3A1A9 for ; Fri, 3 Apr 2026 13:10:41 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id 62B55408F8 for ; Fri, 3 Apr 2026 13:10:41 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id lyxZKgbt-tDK for ; Fri, 3 Apr 2026 13:10:40 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=2600:3c04:e001:324:0:1991:8:25; helo=tor.source.kernel.org; envelope-from=horms@kernel.org; receiver= DMARC-Filter: OpenDMARC Filter v1.4.2 smtp4.osuosl.org BAF5D408F1 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org BAF5D408F1 Received: from tor.source.kernel.org (tor.source.kernel.org [IPv6:2600:3c04:e001:324:0:1991:8:25]) by smtp4.osuosl.org (Postfix) with ESMTPS id BAF5D408F1 for ; Fri, 3 Apr 2026 13:10:40 +0000 (UTC) Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by tor.source.kernel.org (Postfix) with ESMTP id 1B9ED60008; Fri, 3 Apr 2026 13:10:39 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 823C9C4CEF7; Fri, 3 Apr 2026 13:10:37 +0000 (UTC) Date: Fri, 3 Apr 2026 14:10:35 +0100 From: Simon Horman To: Aleksandr Loktionov Cc: intel-wired-lan@lists.osuosl.org, anthony.l.nguyen@intel.com, netdev@vger.kernel.org, Jacob Keller , Marcin Szycik Message-ID: <20260403131035.GA113102@horms.kernel.org> References: <20260327073046.134085-1-aleksandr.loktionov@intel.com> <20260327073046.134085-5-aleksandr.loktionov@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20260327073046.134085-5-aleksandr.loktionov@intel.com> X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1775221838; bh=kX1ZLLnNrXtxT9XzO6HLHCPmLKJ95wUEtz1Qqso24CA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=HLlUuMOOV6xftx9qURwiD5IAf7HeNUpZcBNuEiOaMkoWTNmYMEK+7Ok06z38rm3wQ jbYJNii/Rw2Zse/9LSTlTHr31pr5VLDC0keE+9s9j/U6xGUZDC65O3cEZ9wJfEYgib 8qo+3aHSKfWrlKNhBOJyhpoHLksSSQsO4kg28htTHOVedCupqLuLmflTe7aDKlbjeH 6qsX+yf1guAiGGA1QsDuEZiJYEyB6pmbl+PUAHcZNRKgARhScgI/H+zXF/K7eSJGCN IHMJ8Tw+SZQ5q1Qz2Jee2c7PXOQhZAehfuiuqbtfftHqNCpPY2HKUf/nADvgwvoLNH l6n7VpcwLE0ng== X-Mailman-Original-Authentication-Results: smtp4.osuosl.org; dmarc=pass (p=quarantine dis=none) header.from=kernel.org X-Mailman-Original-Authentication-Results: smtp4.osuosl.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20201202 header.b=HLlUuMOO Subject: Re: [Intel-wired-lan] [PATCH iwl-next] ixgbe: use ktime_get_real_ns() in ixgbe_ptp_reset() X-BeenThere: intel-wired-lan@osuosl.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Intel Wired Ethernet Linux Kernel Driver Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-wired-lan-bounces@osuosl.org Sender: "Intel-wired-lan" On Fri, Mar 27, 2026 at 08:30:39AM +0100, Aleksandr Loktionov wrote: > From: Jacob Keller > > Replace ktime_to_ns(ktime_get_real()) with the direct equivalent > ktime_get_real_ns() in ixgbe_ptp_reset(). Using the combined helper > avoids the unnecessary intermediate ktime_t variable and makes the > intent clearer. > > Signed-off-by: Jacob Keller > Signed-off-by: Aleksandr Loktionov > Reviewed-by: Marcin Szycik Reviewed-by: Simon Horman FWIIW, this pattern also seems to exist in e1000e, ixgbe and igb (twice).