Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp3225575pxb; Tue, 20 Apr 2021 03:35:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxJlWw8zQIJARDXmswxyc7++OCnsKnJB8Dr3JvXg/Sfbgz32KvwLxqBOysVBw9BonspDUPb X-Received: by 2002:a17:906:6801:: with SMTP id k1mr12427067ejr.137.1618914936895; Tue, 20 Apr 2021 03:35:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618914936; cv=none; d=google.com; s=arc-20160816; b=Lpie1CvMHC+xRLfu0kYO4hNQtldCuX8cMLqVYsamwFTxY3Y4syXeWWl9vbUC8i3QpE dgzV0BOKXp1Ew6rZ0P0xyD2xsvpEO0lsGwDlp/gINFCgeLWdAAXe5vKIKTm+8PeQCMUn kcTm+eEErxGdiq11Cq0SFpfN542lNBxe2TviT7v8r+todbT8y4xWzr2i4ueIgddMc8w8 c8fYl4DpWaTfVbhelF/IOLoo+1Mi7/dK3Fo7OE02EFy+qAMyRlewVbZA9LaglNgRVqLD ySG+JnKeM2a6SLzdBe6jf3O3Lyy/z8pOZkdK8hEUmiI+d/WD4NHJZGenWXaNNvp0O6A9 q9iA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=u3Nzr15z81WtZpDHgfqJlJJcLPK//uWHmdJqHtGbaJ4=; b=HOa90Gev+ttMMbIIeI61WOXvtF3tI4Y/Dja6LMw/yK1J0KsJETdjOMSVE/MhutRdto gs9BT0TOC/6bnDRiGQwOMn85DOLO/dXCdkFNzu+qvyru3HOsnzKC286k/017s8uY3Dng zT/A1+19tvpDJwUFFHPC2lvvJsHIgYOeqF7BbWiIaKkYzv+ntuc9y/zxP4nWmJm9SJSU IvMFFR51sqxhnVQzn+cfjPXYnBQlaHB9gQ4zFZJ9BIfS2rS2fCDMu/zf12oa62UUiwSu m0Pe2YK3L12gPVAXvnQP9/ia1ZF1NVjcXB6H/RRs+S8drp1MSAQkblcdpnf1wZ9RJQmI WRVA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=iBYQ5xmP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b15si15997368edz.247.2021.04.20.03.35.14; Tue, 20 Apr 2021 03:35:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=iBYQ5xmP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231625AbhDTKeS (ORCPT + 99 others); Tue, 20 Apr 2021 06:34:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55406 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231518AbhDTKeL (ORCPT ); Tue, 20 Apr 2021 06:34:11 -0400 Received: from mail-pj1-x102c.google.com (mail-pj1-x102c.google.com [IPv6:2607:f8b0:4864:20::102c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5286EC06174A; Tue, 20 Apr 2021 03:33:36 -0700 (PDT) Received: by mail-pj1-x102c.google.com with SMTP id j6-20020a17090adc86b02900cbfe6f2c96so20206557pjv.1; Tue, 20 Apr 2021 03:33:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=u3Nzr15z81WtZpDHgfqJlJJcLPK//uWHmdJqHtGbaJ4=; b=iBYQ5xmPpHEih9gCrzuAtNh0FzwE/z6Tt+NO3d5cx7DsrOnmgUqSWRvZCof/hC7nYC ASoue6ZUil2+oG5/BdpUn0ZFrBsdm1tQnRRmwmOU/2nsXIFzh/2vAB4vb7E1b7Y4/1zi vor67QqrTUQ64CzgV60npjBXOGfXd0lIHc1UWs5ACbwk6CCmEPzCUs6EhF9PNiE3miQ/ Fn0KiDi4+YEq0zsb35cW/aIxS3QArxZlC95/d4ijB4jsw93kwZJDRnQtVBkRrgwaFIzk /jNx9eGzM7LW7VXwXjJufhx2abL8ln4JdU3hac5/DaAB9B4d3+6UlhQP6HXpIher9aff XfOQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=u3Nzr15z81WtZpDHgfqJlJJcLPK//uWHmdJqHtGbaJ4=; b=osNDEiWo0Ev2QsoRt7Ny3Et0HI9iG7/8srT+Fqiuq5ZlT48dflGp/n6DDvJPyfyYmS +zor+MYhKCS7kvG6m8k3v9e7lnBxNNahkocKIUi6EraRy+8bzX86/UFhIpxCqWWdadHj pdv5mSN90gVDZ35rdyVBHxlOTqw3OcYuNcAU/dP3ofBt4gmjMHVcvETLl5yXfnB9lCcz e7p9GC7ERnbKqryCK1Mo1U7bFxAcTXUDDWk7t+2HbO+yF5PA4vBvxRmggC1XRHRPUGGQ JDyYYOfJVdGqh0e971oCP6SiIThPWUQdwnW3izjOrl9cOIH0DEyZ/UzoPtdXL1jWnN4h oyFw== X-Gm-Message-State: AOAM5336KYYO5VuDe2Z3FvXKypYY1GL9c4UxB5HbpI+tgkBNmq19LjJy Oay6Mpfvd7tyiFzrQZb918g= X-Received: by 2002:a17:902:a38d:b029:ec:8faf:2007 with SMTP id x13-20020a170902a38db02900ec8faf2007mr16393342pla.75.1618914815820; Tue, 20 Apr 2021 03:33:35 -0700 (PDT) Received: from skbuf (5-12-16-165.residential.rdsnet.ro. [5.12.16.165]) by smtp.gmail.com with ESMTPSA id n11sm9268572pff.96.2021.04.20.03.33.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Apr 2021 03:33:35 -0700 (PDT) Date: Tue, 20 Apr 2021 13:33:19 +0300 From: Vladimir Oltean To: Xiaoliang Yang Cc: davem@davemloft.net, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Arvid.Brodin@xdin.com, m-karicheri2@ti.com, vinicius.gomes@intel.com, michael.chan@broadcom.com, vishal@chelsio.com, saeedm@mellanox.com, jiri@mellanox.com, idosch@mellanox.com, alexandre.belloni@bootlin.com, UNGLinuxDriver@microchip.com, ivan.khoronzhuk@linaro.org, andre.guedes@linux.intel.com, yuehaibing@huawei.com, allan.nielsen@microchip.com, joergen.andreasen@microchip.com, colin.king@canonical.com, po.liu@nxp.com, mingkai.hu@nxp.com, claudiu.manoil@nxp.com, vladimir.oltean@nxp.com, leoyang.li@nxp.com Subject: Re: [net-next] net: dsa: felix: disable always guard band bit for TAS config Message-ID: <20210420103319.6nbh3fivjgwupjgl@skbuf> References: <20210419102530.20361-1-xiaoliang.yang_1@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210419102530.20361-1-xiaoliang.yang_1@nxp.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Apr 19, 2021 at 06:25:30PM +0800, Xiaoliang Yang wrote: > ALWAYS_GUARD_BAND_SCH_Q bit in TAS config register is descripted as > this: > 0: Guard band is implemented for nonschedule queues to schedule > queues transition. > 1: Guard band is implemented for any queue to schedule queue > transition. > > The driver set guard band be implemented for any queue to schedule queue > transition before, which will make each GCL time slot reserve a guard > band time that can pass the max SDU frame. Because guard band time could > not be set in tc-taprio now, it will use about 12000ns to pass 1500B max > SDU. This limits each GCL time interval to be more than 12000ns. > > This patch change the guard band to be only implemented for nonschedule > queues to schedule queues transition, so that there is no need to reserve > guard band on each GCL. Users can manually add guard band time for each > schedule queues in their configuration if they want. > > Signed-off-by: Xiaoliang Yang > --- Reviewed-by: Vladimir Oltean