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 smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (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 06B2AC4332F for ; Sun, 1 Jan 2023 11:31:26 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id A010140993; Sun, 1 Jan 2023 11:31:25 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org A010140993 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=osuosl.org; s=default; t=1672572685; bh=cOH4dXkvGdbzu520lQ6b7pN9Yhu3xyKtXiNDFhPVWQM=; h=Date:To:References:From:In-Reply-To:Subject:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: Cc:From; b=01RjJOW5N5UQvguYRbkKCNOdrZAC/xYvXjZ1yj0B4Cf6hUzvCnwYHENGWr/j9tAPV PLXsbGEkRgIp5wJBZAaHd528LRkfxMjMnLYSNbNJRbCN8SlBe9BEJatg+qCvLqs701 /Jk/94+m8glVPP4pdYP4tRfZWNzoJs68349DOZosLJC27RPM1BMZFL2KI0wUjIC/Nu Vglr/hK66M0ZXYLmQ0oczTJxrpYspXnlugdfk7jAMBhwf7HSO5v9kwzL6pH7NFo7CE eoY0/H0I7QPkM0vsfbYDU8zJ4g7pgV7p/MTqtRU8dAcFTP6iHTWEhyqtrWGL1/1yUw NwSwD0/EpxRwQ== 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 ZSBr_WJogCCM; Sun, 1 Jan 2023 11:31:24 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp4.osuosl.org (Postfix) with ESMTP id 5575F4099F; Sun, 1 Jan 2023 11:31:24 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org 5575F4099F Received: from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id 7831B1BF2AF for ; Sun, 1 Jan 2023 11:31:23 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id 51927404FE for ; Sun, 1 Jan 2023 11:31:23 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp2.osuosl.org 51927404FE 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 5sf2pd2PKwyx for ; Sun, 1 Jan 2023 11:31:22 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.8.0 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp2.osuosl.org 99A37404F6 Received: from mga06.intel.com (mga06b.intel.com [134.134.136.31]) by smtp2.osuosl.org (Postfix) with ESMTPS id 99A37404F6 for ; Sun, 1 Jan 2023 11:31:22 +0000 (UTC) X-IronPort-AV: E=McAfee;i="6500,9779,10577"; a="383679124" X-IronPort-AV: E=Sophos;i="5.96,292,1665471600"; d="scan'208";a="383679124" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Jan 2023 03:31:21 -0800 X-IronPort-AV: E=McAfee;i="6500,9779,10577"; a="742967824" X-IronPort-AV: E=Sophos;i="5.96,292,1665471600"; d="scan'208";a="742967824" Received: from naamamex-mobl.ger.corp.intel.com (HELO [10.13.11.251]) ([10.13.11.251]) by fmsmga003-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Jan 2023 03:31:19 -0800 Message-ID: Date: Sun, 1 Jan 2023 13:31:17 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.6.1 Content-Language: en-US To: Muhammad Husaini Zulkifli , intel-wired-lan@osuosl.org, vinicius.gomes@intel.com References: <20221214162909.22856-1-muhammad.husaini.zulkifli@intel.com> <20221214162909.22856-2-muhammad.husaini.zulkifli@intel.com> From: "naamax.meir" In-Reply-To: <20221214162909.22856-2-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=1672572682; x=1704108682; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=gOO7pZHrFaM4U21kq8W0Z4X6NlTSBazxKiHEt3/S3rQ=; b=Cj5wVocCxUAgWmlWjSpWoAuU+Ctgt1Rl2cPVRgh8UvU/T9lmMfmsBgM9 jBwi9RV6RN2tFXLrEQNyqLpbOfddWtlIbrx/yh6Ymk0KEZljl3grntUn9 JYSNWHK2l9wp2Gor5fvzXmcjv4/eNpq3T1qnoyEam23Hdzt1lZrGH3kzN TJOW9FQWpj3CHfz6GpzTF+nnaQxMrvLS3z/W2tK/j/dQOE/Sk5gqD9KKl 0Ho6a7X2Jg3PD/aDPxJukweYXaXtFTUCK2Gpd4MYRmg5IIDbN6UoXcZ6+ HaZg1+7khPLE5IPNHVQVpN6yA6E7MOpsYyfrU/dEVTD1DvQHk6B3D50sF g==; X-Mailman-Original-Authentication-Results: smtp2.osuosl.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=Cj5wVocC Subject: Re: [Intel-wired-lan] [PATCH net-next v2 1/3] igc: remove I226 Qbv BaseTime restriction 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: anthony.l.nguyen@intel.com, tee.min.tan@linux.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 12/14/2022 18:29, Muhammad Husaini Zulkifli wrote: > Remove the Qbv BaseTime restriction for I226 so that the BaseTime can be > scheduled to the future time. A new register bit of Tx Qav Control > (Bit-7: FutScdDis) was introduced to allow I226 scheduling future time as > Qbv BaseTime and not having the Tx hang timeout issue. > > Besides, according to datasheet section 7.5.2.9.3.3, FutScdDis bit has to > be configured first before the cycle time and base time. > > Indeed the FutScdDis bit is only active on re-configuration, thus we have > to set the BASET_L to zero and then only set it to the desired value. > > Please also note that the Qbv configuration flow is moved around based on > the Qbv programming guideline that is documented in the latest datasheet. > > Co-developed-by: Tan Tee Min > Signed-off-by: Tan Tee Min > Signed-off-by: Muhammad Husaini Zulkifli > --- > drivers/net/ethernet/intel/igc/igc_base.c | 29 +++++++++++++ > drivers/net/ethernet/intel/igc/igc_base.h | 2 + > drivers/net/ethernet/intel/igc/igc_defines.h | 1 + > drivers/net/ethernet/intel/igc/igc_main.c | 5 ++- > drivers/net/ethernet/intel/igc/igc_tsn.c | 44 +++++++++++++------- > 5 files changed, 65 insertions(+), 16 deletions(-) Tested-by: Naama Meir _______________________________________________ Intel-wired-lan mailing list Intel-wired-lan@osuosl.org https://lists.osuosl.org/mailman/listinfo/intel-wired-lan