Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp24893994rwd; Sun, 2 Jul 2023 06:45:00 -0700 (PDT) X-Google-Smtp-Source: APBJJlHAD3f2ynTvTUCdTQa3s96yGo/WjFKTjZMc+b7Jpgq/8DN9Ceybp8w+haHX4OZj7Q3CVD3U X-Received: by 2002:a17:90b:ed7:b0:263:68b0:8ca5 with SMTP id gz23-20020a17090b0ed700b0026368b08ca5mr6444930pjb.43.1688305499757; Sun, 02 Jul 2023 06:44:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688305499; cv=none; d=google.com; s=arc-20160816; b=xVJBe4YouT8KgvsstYZ+mHOqRhuj2DIrDF8MhpiG/guqZSJslXmq+UlZRIOZLyaO6A wkIpNRy5rzD3SGn9qoKIQkX0/PdzLkKOusU44hp1kdVAITrdEnaOCZQ7NW8KgucEKDsY CQz23CRzI5wxy4k3xvT0UXIAiw2Pps+OWrAu1mS6YZzgHftaXhEH5fgRtLLA+mWxnVJh 3dwbt8bvyWHAkvIFUTn4k754VS+xtmfdnhyPH+fpKs2bjp0WtEZ5dCCdTioYdnTIjJjE tv1XI7tMEoQcIQarE1hzSO5aIHnKUiPJNOR/3SwJ8rWlxTLc56LQ9jO6PidMjrkRgDnX wulg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=NLCyWKoukcH3WAmO5FBIvwaJlMdyw9KN5eyOjfo4RSw=; fh=YVpWIptA1QtmdWVQV8LkxDVZNZDhDvpOrepJDsoAZqU=; b=Srt9/NR4FABYY6uratjvc0/ztGwcUSvxTO7pjwYqE/SlC/XHHNq46Sabw4TaaoJUTw cRdRLlqIbPthXUnxLZRCG87puM5qS5D7zShibYYSJCWyBTyPXTMTx43Ga5VgKuPjMaZS 5HsTqXRqKVccNLd19EPgbUEesmHwQTdcIBKGnitrOEFIS6eDJ1R5Dl0VYsMYJ1MSmQuP EB5P1Zic4ceyXt4hIaEEB8/IUkQ7DwUzJsvAoyTc3usnjXmoelWnok6BvsrUOM7Zi8L+ B5BQynQXzbxa3WvpAQlwMlOZLgJYv/m6YDODsrMmZOvWde3Tcnae58f9ryzuxKh02Xbr UKyw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=HbG6wspr; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q19-20020a17090aa01300b0026301f58ac4si12130228pjp.82.2023.07.02.06.44.45; Sun, 02 Jul 2023 06:44:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=HbG6wspr; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229876AbjGBNmz (ORCPT + 99 others); Sun, 2 Jul 2023 09:42:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41176 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229460AbjGBNmy (ORCPT ); Sun, 2 Jul 2023 09:42:54 -0400 Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 59854E55; Sun, 2 Jul 2023 06:42:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1688305373; x=1719841373; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=UK/nzE9dIxgjFsCrj7Qj4taBTpYmWjk/fOAoL8aT+a8=; b=HbG6wspr+sm+MlF1m56EfzLrkqojL3/iuEvoBaWW57OIX+Slgg0U5WLt oYLhf0XSvmLh2DzlfYRp2hhtltLT1FNmQNnDvKuFNL/hq21C6lvUwqJ8n miEehIXgj/SLO044vykPyxLXfnMW5O365MhwKZqZVtv2gCYtJGya1w1tJ Qxdo65qSgZajmYfLRtxQGWo82tWOb7ADhOdaawRG2Tjqj9noA2RIk3WT5 eTUvKitrPcxy2HNDTT+/tpWmcs2mufc2fCJVrwwuAKWeucHzRzfqYss+U kHX6GpVgdQfHPX4Y0CzYsHaDKe4lbFtxwRlXzVO2JhjvGSynPgiWZdeOq g==; X-IronPort-AV: E=McAfee;i="6600,9927,10759"; a="393440818" X-IronPort-AV: E=Sophos;i="6.01,176,1684825200"; d="scan'208";a="393440818" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Jul 2023 06:42:52 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10759"; a="964889090" X-IronPort-AV: E=Sophos;i="6.01,176,1684825200"; d="scan'208";a="964889090" Received: from naamamex-mobl.ger.corp.intel.com (HELO [10.249.95.54]) ([10.249.95.54]) by fmsmga006-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Jul 2023 06:42:49 -0700 Message-ID: Date: Sun, 2 Jul 2023 16:42:46 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 Subject: Re: [Intel-wired-lan] [PATCH net v2 1/6] igc: Rename qbv_enable to taprio_offload_enable Content-Language: en-US To: Florian Kauer , Jesse Brandeburg , Tony Nguyen , Vinicius Costa Gomes , "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Tan Tee Min , Muhammad Husaini Zulkifli , Aravindhan Gunasekaran , Malli C Cc: netdev@vger.kernel.org, kurt@linutronix.de, intel-wired-lan@lists.osuosl.org, linux-kernel@vger.kernel.org References: <20230619100858.116286-1-florian.kauer@linutronix.de> <20230619100858.116286-2-florian.kauer@linutronix.de> From: "naamax.meir" In-Reply-To: <20230619100858.116286-2-florian.kauer@linutronix.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 6/19/2023 13:08, Florian Kauer wrote: > In the current implementation the flags adapter->qbv_enable > and IGC_FLAG_TSN_QBV_ENABLED have a similar name, but do not > have the same meaning. The first one is used only to indicate > taprio offload (i.e. when igc_save_qbv_schedule was called), > while the second one corresponds to the Qbv mode of the hardware. > However, the second one is also used to support the TX launchtime > feature, i.e. ETF qdisc offload. This leads to situations where > adapter->qbv_enable is false, but the flag IGC_FLAG_TSN_QBV_ENABLED > is set. This is prone to confusion. > > The rename should reduce this confusion. Since it is a pure > rename, it has no impact on functionality. > > Fixes: e17090eb2494 ("igc: allow BaseTime 0 enrollment for Qbv") > Signed-off-by: Florian Kauer > 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_tsn.c | 2 +- > 3 files changed, 3 insertions(+), 3 deletions(-) Tested-by: Naama Meir