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 smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (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 7BA64C433F5 for ; Sun, 2 Oct 2022 07:21:08 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id 0FFC1606EC; Sun, 2 Oct 2022 07:21:08 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org 0FFC1606EC DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=osuosl.org; s=default; t=1664695268; bh=+frl9UjL09+cIav5YPVlPZBKNU1/Cqqiq1FIaLQQ6N4=; h=Date:To:References:From:In-Reply-To:Subject:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: Cc:From; b=LUnQrQepJ4WLLXJlorjFhmWD/+ctA4qNJGFUOWTTZ+QR2Sxg7CalesEJ/ayydSKz1 IW2j13K14TVB4NuJJExbJG44MA+o7izBIFo8j/IF1qVeJ/aSbvh5xO5fxkFNzdaR2L edQ+F4E4SWkj2yfJfRnTEx9zuaSW3hqBgg5+YuMHH7kBZKOByalTHdtuCVWejhGufg ZHjPrd10X67KQcjdf1PxFGWHErzkyGnLfexQiXsz5cRp/2ENafwAaMDxIKQ82YW/pf ZvS7wUVJz3PWy3n/sLTbfAKBZ18HKaqIeIY8kuHl+HMxgTyirhCZAi0qeB7mPGnFP8 MxxSqFs3Nmo7w== X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id QU6gDLFmk2lL; Sun, 2 Oct 2022 07:21:07 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp3.osuosl.org (Postfix) with ESMTP id 0A56060B12; Sun, 2 Oct 2022 07:21:07 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org 0A56060B12 Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 6790A1BF403 for ; Sun, 2 Oct 2022 07:21:05 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id 36170409FC for ; Sun, 2 Oct 2022 07:21:05 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org 36170409FC X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id c6RJ376H5yQ2 for ; Sun, 2 Oct 2022 07:21:04 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.8.0 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org 06497409D0 Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by smtp4.osuosl.org (Postfix) with ESMTPS id 06497409D0 for ; Sun, 2 Oct 2022 07:21:03 +0000 (UTC) X-IronPort-AV: E=McAfee;i="6500,9779,10487"; a="289612384" X-IronPort-AV: E=Sophos;i="5.93,361,1654585200"; d="scan'208";a="289612384" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Oct 2022 00:21:02 -0700 X-IronPort-AV: E=McAfee;i="6500,9779,10487"; a="952012464" X-IronPort-AV: E=Sophos;i="5.93,361,1654585200"; d="scan'208";a="952012464" Received: from naamamex-mobl.ger.corp.intel.com (HELO [10.13.12.5]) ([10.13.12.5]) by fmsmga005-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Oct 2022 00:21:01 -0700 Message-ID: <71edf233-f098-aa02-aadb-05ff59db9b8c@linux.intel.com> Date: Sun, 2 Oct 2022 10:20:50 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.13.1 Content-Language: en-US To: Muhammad Husaini Zulkifli , intel-wired-lan@osuosl.org References: <20220921024940.2128-1-muhammad.husaini.zulkifli@intel.com> From: "naamax.meir" In-Reply-To: <20220921024940.2128-1-muhammad.husaini.zulkifli@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=1664695264; x=1696231264; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=gsh7RHxIFLlhywdioMW3BlBzzHE6AvClzf31ayRq0wM=; b=FXW+bvxJcu9OEJApkgYqxoF1x/m6N9CoKgGq3V4tb5uSaiPeTaHrIkHv KVgzvIzact0yrw+0YxdAngEROVAbblBt6ouZZly0JvV9R10P7OVpQEhAL Hv73xzNyTZ4f9FbhKPqjHMnpjaKYHQRI+0BdIyW1SYOdBpL4htfwISdca v1+UncMK48Lwv8omZ2NOYmvnU9Yy5lCO9eBOFjjtQkJhNn4jLDDO/7EW4 f+jyV6yG2p2Bm9Om8bUVb3s9Ubu5vbdxvsJxn+GlXnOjmBaUGw0Kt9xC7 9Xoyfx11U5OWQQC7AZl1EL6mhIYaN4izyGlv8CiPMq/uIq6Y+z4kl6Bi7 A==; X-Mailman-Original-Authentication-Results: smtp4.osuosl.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=FXW+bvxJ Subject: Re: [Intel-wired-lan] [PATCH v3] igc: Correct the launchtime offset 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: pmenzel@molgen.mpg.de 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 9/21/2022 05:49, Muhammad Husaini Zulkifli wrote: > The launchtime offset should be corrected according to sections 7.5.2.6 > Transmit Scheduling Latency of the Intel Ethernet I225/I226 Software > User Manual. > > Software can compensate the latency between the transmission scheduling > and the time that packet is transmitted to the network by setting this > GTxOffset register. Without setting this register, there may be a > significant delay between the packet scheduling and the network point. > > This patch helps to reduce the latency for each of the link speed. > > Before: > > 10Mbps : 11000 - 13800 nanosecond > 100Mbps : 1300 - 1700 nanosecond > 1000Mbps : 190 - 600 nanosecond > 2500Mbps : 1400 - 1700 nanosecond > > After: > > 10Mbps : less than 750 nanosecond > 100Mbps : less than 192 nanosecond > 1000Mbps : less than 128 nanosecond > 2500Mbps : less than 128 nanosecond > > Test Setup: > > Talker : Use l2_tai.c to generate the launchtime into packet payload. > Listener: Use timedump.c to compute the delta between packet arrival and > LaunchTime packet payload. > > Signed-off-by: Vinicius Costa Gomes > Signed-off-by: Muhammad Husaini Zulkifli > --- > drivers/net/ethernet/intel/igc/igc_defines.h | 9 ++++++ > drivers/net/ethernet/intel/igc/igc_main.c | 6 ++++ > drivers/net/ethernet/intel/igc/igc_regs.h | 1 + > drivers/net/ethernet/intel/igc/igc_tsn.c | 30 ++++++++++++++++++++ > drivers/net/ethernet/intel/igc/igc_tsn.h | 1 + > 5 files changed, 47 insertions(+) Tested-by: Naama Meir _______________________________________________ Intel-wired-lan mailing list Intel-wired-lan@osuosl.org https://lists.osuosl.org/mailman/listinfo/intel-wired-lan