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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1B9C9C77B7A for ; Mon, 17 Apr 2023 18:50:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229800AbjDQSuI (ORCPT ); Mon, 17 Apr 2023 14:50:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51208 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229575AbjDQSuH (ORCPT ); Mon, 17 Apr 2023 14:50:07 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D68438F; Mon, 17 Apr 2023 11:50:06 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 46BCA620BE; Mon, 17 Apr 2023 18:50:06 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B9596C433EF; Mon, 17 Apr 2023 18:50:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1681757405; bh=/SYyLnfM82MmE33YFZCDJXYlbvQSEgvgV14fp98uexE=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=oXrHVDg2ba3fKunDg88Fyb82QGklmMqoMwObeUyGwXoO78uAk+srLuf2KLzqZ6ZJm JBPV/Y2NYMQTNLEZcQc6bJHDCSqLDfKfrtyxk2ihTQLkvg4hFTOpU4gbJAIDh1UJxE IiRli5a/Q/hCmFRpE8ERVr45SZEPX5gmLI7XQDGNig7c7f2dkmJz62cEijFOiA01qy kPEvx7f6D6kNXjovR8vmKYvaMRojpp5rxn0848rZPzQHzVin+4N+lcWm3tl7PnIsAf HKLjvktaoQsne9EW3vECUV/W7qfPfBGEHfm8zXyMiOkvdpbV7z3QW2ScC8b7tCjM7G CNMJUt50vFSKw== Date: Mon, 17 Apr 2023 11:50:03 -0700 From: Jakub Kicinski To: "Zulkifli, Muhammad Husaini" Cc: "Song, Yoong Siang" , "Bezdeka, Florian" , "Brandeburg, Jesse" , "Nguyen, Anthony L" , "David S . Miller" , "Eric Dumazet" , Paolo Abeni , Alexei Starovoitov , Daniel Borkmann , Jesper Dangaard Brouer , "John Fastabend" , "Fijalkowski, Maciej" , Vedang Patel , "Joseph, Jithu" , Andre Guedes , "Brouer, Jesper" , "Stanislav Fomichev" , "Keller, Jacob E" , David Laight , "xdp-hints@xdp-project.net" , "netdev@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "stable@vger.kernel.org" , "intel-wired-lan@lists.osuosl.org" , "bpf@vger.kernel.org" Subject: Re: [PATCH net v3 1/1] igc: read before write to SRRCTL register Message-ID: <20230417115003.0d2ac372@kernel.org> In-Reply-To: References: <20230414154902.2950535-1-yoong.siang.song@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On Mon, 17 Apr 2023 02:53:13 +0000 Zulkifli, Muhammad Husaini wrote: > Are you observing similar issue like below? > ptp4l: timed out while polling for tx timestamp > ptp4l: increasing tx_timestamp_timeout may correct this issue > > If yes, only TXSTAMPO register is used for both PTP and non-PTP packets in > the current driver code. There is a possibility that the time stamp > for a PTP packet will be lost when there is a lot of traffic when multiple > applications request for hardware transmission timestamps. > Few months back, I submitted a patch series to enable the DMA > Timestamp for non-ptp packet which can resolve the above issue. > https://lore.kernel.org/netdev/20221018010733.4765-1-muhammad.husaini.zulkifli@intel.com/T/ > Will continuing back the activity soon. FWIW the work on selecting the source of the timestamp is progressing slowly: https://lore.kernel.org/all/20230406173308.401924-1-kory.maincent@bootlin.com/