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 smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (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 88DBCC77B73 for ; Sun, 21 May 2023 07:27:36 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id 13622404F8; Sun, 21 May 2023 07:27:36 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp2.osuosl.org 13622404F8 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=osuosl.org; s=default; t=1684654056; bh=d64m0H0DKlwzP4PRPU9TLDzNWeOTgp+Q457i2lQ1U+4=; h=Date:To:References:From:In-Reply-To:Subject:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: Cc:From; b=CPBuhGxPqypgh97ajkiTNbZsMYQlFet/LolbhYAPOi5RUrYoXFfXNIT059jL75EDr Z1EjvdnvxzhriIYGD0vOwhYxzcRz3uZWulisNu6hI7vDqQJ98OlM5K7ctIqJlKa3Mi h4BJCuNLOjhcM9XsTRtQjoR+HTtvtOrsWwAGhIDGMCdDyU90GhU54csaiJhiYNgCEe x8i8Mcf3eKeg0LFuhqVNv4tpMN03RcWBzJcUpHco9555fOjrnUIJQ1ia7W6A7TZrdt dcKuv75c8CR87exHALiKb3udCqRu1jKfEJMXqPkwWkJMMCNKnZXk1ku/mksOpRMGyH y9mNdjp3B7cVw== X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Jy_vKjDGh9Yz; Sun, 21 May 2023 07:27:35 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp2.osuosl.org (Postfix) with ESMTP id 26B9F403CA; Sun, 21 May 2023 07:27:35 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp2.osuosl.org 26B9F403CA Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 577E11BF3D9 for ; Sun, 21 May 2023 07:27:33 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 2871982BED for ; Sun, 21 May 2023 07:27:33 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org 2871982BED X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jfNTAXTHJUFC for ; Sun, 21 May 2023 07:27:32 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.8.0 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org 4A73D82B21 Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by smtp1.osuosl.org (Postfix) with ESMTPS id 4A73D82B21 for ; Sun, 21 May 2023 07:27:32 +0000 (UTC) X-IronPort-AV: E=McAfee;i="6600,9927,10716"; a="439033731" X-IronPort-AV: E=Sophos;i="6.00,181,1681196400"; d="scan'208";a="439033731" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 May 2023 00:27:31 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10716"; a="827307804" X-IronPort-AV: E=Sophos;i="6.00,181,1681196400"; d="scan'208";a="827307804" Received: from naamamex-mobl.ger.corp.intel.com (HELO [10.13.12.21]) ([10.13.12.21]) by orsmga004-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 May 2023 00:27:30 -0700 Message-ID: Date: Sun, 21 May 2023 10:27:27 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.10.1 Content-Language: en-US To: Vinicius Costa Gomes , intel-wired-lan@lists.osuosl.org References: <20230511230731.105152-1-vinicius.gomes@intel.com> <20230511230731.105152-4-vinicius.gomes@intel.com> From: "naamax.meir" In-Reply-To: <20230511230731.105152-4-vinicius.gomes@intel.com> X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1684654052; x=1716190052; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=b9e4Jileh3D9NvORQp8WJJb58vpCelIULR+4+/CLNrU=; b=AxYQJBSbjBVYuIRqVk96JptM6xXycPOjZPNWefgfqYeoJQK6sOIxGbDp KWQ8drmrQdjTbrvlXBxQlMLN1s0dlfaUXF1gM8P7IhJUXpuxxN5qkbimp 5Ynm26Lpl+aWND8GOD39NuLD56Kp34jC29mgq85I1Z9+y1ICKSUdBSxCS 5NpD3bdsI9VbaAkIH54ZilTRud9ZX73t2jYCoS6OeDyXZ8ZsMwG9yJ+Js T4hBQhJvsH4GqKTu+r/mZZcyFGEYuoaOu9HGyR/x80ydpLtAs9CNhpyuZ 7Q8f9jfKTEHBWWkCUfszluCFIjpWXxyF+uQryasTKxosqHdFyRjl49kBV A==; X-Mailman-Original-Authentication-Results: smtp1.osuosl.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=AxYQJBSb Subject: Re: [Intel-wired-lan] [PATCH iwl-net v2 3/4] igc: Retrieve TX timestamp during interrupt handling X-BeenThere: intel-wired-lan@osuosl.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel Wired Ethernet Linux Kernel Driver Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: vladimir.oltean@nxp.com, kurt@linutronix.de, anthony.l.nguyen@intel.com Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: intel-wired-lan-bounces@osuosl.org Sender: "Intel-wired-lan" On 5/12/2023 02:07, Vinicius Costa Gomes wrote: > When the interrupt is handled, the TXTT_0 bit in the TSYNCTXCTL > register should already be set and the timestamp value already loaded > in the appropriate register. > > This simplifies the handling, and reduces the latency for retrieving > the TX timestamp, which increase the amount of TX timestamps that can > be handled in a given time period. > > Signed-off-by: Vinicius Costa Gomes > Reviewed-by: Kurt Kanzenbach > --- > drivers/net/ethernet/intel/igc/igc.h | 2 +- > drivers/net/ethernet/intel/igc/igc_main.c | 2 +- > drivers/net/ethernet/intel/igc/igc_ptp.c | 9 ++------- > 3 files changed, 4 insertions(+), 9 deletions(-) Tested-by: Naama Meir _______________________________________________ Intel-wired-lan mailing list Intel-wired-lan@osuosl.org https://lists.osuosl.org/mailman/listinfo/intel-wired-lan