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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 E1EACCE7B06 for ; Thu, 28 Sep 2023 18:10:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=iyNhrtUlgqBVu8lATFNs/OISP5YsLSdI1Vw8Q8RWAag=; b=dkCv6pUTqixDcv J5nZ3mdtATK4boEQNBCABeA2HlbeDly+24V344isRIbDF81NI6lNbFQNnZI7fIgXBZyif99dyRHM8 U8GPu4Udob0Qf4i+Rcpg+RTl7KuPZLZgpbCN9lk+Aahn11pQ73EV6zu5iUQfCbAnk4070CC+UXbGl TrtuPvQzSxy/H1urtjANJnrcDvH8bUaI9489wROzhrZvzk+p6VPCjGvcekPOTI+cBY5z2eaDM2ben kvJLFuoSjvjYf69LII7LrKrxcJgp4FM9DCiWg8rniYU1HQXx+9JN/GOVrQHlnZAiyCHoVHmNvxWNr rdxFfyhmNLSRoWdGYk4w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qlvSR-006Ujj-0F; Thu, 28 Sep 2023 18:09:51 +0000 Received: from sin.source.kernel.org ([2604:1380:40e1:4800::1]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qlvSN-006Ui9-13 for linux-arm-kernel@lists.infradead.org; Thu, 28 Sep 2023 18:09:49 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sin.source.kernel.org (Postfix) with ESMTP id 6BCBECE2221; Thu, 28 Sep 2023 18:09:45 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1E394C433C8; Thu, 28 Sep 2023 18:09:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1695924584; bh=PKCbG067dxLVfSBXY7LXY3siozP1w/bW3Ik0lSAKcHc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=DPu1YZ2rL4UkOp0m0H3259f38mALHnc/dHdick1bsXfEFyYEyr9ofNxJwmYjIqw5b 5zF8jQXPIzSfeVbQohQ3A5hP/aUUlDh7ynUvUG9IibFtXbpv2DJQfVuEZH5ZzFXBoD UtZjKagtK8OBfkXuzFk67WStkB+7TA9hCWe3PXxelAuq4vPNrxocFPp5FCex8XLwzG hy/mLT4HJAO4svKaX+tEWH7Yi74Jntotmp7eDyF8JhSnZrtf3cy+cq6zX6mDWJ7kOT ov6rWiYq45CpS4+6RhqtEo2ciXYC+uNdGcuVMTYBcUyt9oMc0CbkY8VTE1wIv7Qbjz BsB8S+j7TSJKA== Received: (nullmailer pid 996093 invoked by uid 1000); Thu, 28 Sep 2023 18:09:42 -0000 Date: Thu, 28 Sep 2023 13:09:42 -0500 From: Rob Herring To: Rohan G Thomas Cc: "David S . Miller" , Alexandre Torgue , Jose Abreu , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Maxime Coquelin , Krzysztof Kozlowski , Conor Dooley , Giuseppe Cavallaro , Serge Semin , netdev@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH net-next 1/2] dt-bindings: net: snps,dwmac: Time Based Scheduling Message-ID: <20230928180942.GA932326-robh@kernel.org> References: <20230927130919.25683-1-rohan.g.thomas@intel.com> <20230927130919.25683-2-rohan.g.thomas@intel.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20230927130919.25683-2-rohan.g.thomas@intel.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230928_110947_561246_65C3E25C X-CRM114-Status: GOOD ( 17.19 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Wed, Sep 27, 2023 at 09:09:18PM +0800, Rohan G Thomas wrote: > Add new property tbs-enabled to enable Time Based Scheduling(TBS) That's not the property you added. > support per Tx queues. TBS feature can be enabled later using ETF > qdisc but for only those queues that have TBS support enabled. This property defines capable or enabled? Seems like OS configuration and policy. Doesn't eh DWMAC have capability registers for supported features? Or did they forget per queue capabilities? > > Commit 7eadf57290ec ("net: stmmac: pci: Enable TBS on GMAC5 IPK PCI > entry") enables similar support from the stmmac pci driver. Why does unconditionally enabling TBS work there, but not here? > > Signed-off-by: Rohan G Thomas > --- > Documentation/devicetree/bindings/net/snps,dwmac.yaml | 8 ++++++++ > 1 file changed, 8 insertions(+) > > diff --git a/Documentation/devicetree/bindings/net/snps,dwmac.yaml b/Documentation/devicetree/bindings/net/snps,dwmac.yaml > index 5c2769dc689a..db1eb0997602 100644 > --- a/Documentation/devicetree/bindings/net/snps,dwmac.yaml > +++ b/Documentation/devicetree/bindings/net/snps,dwmac.yaml > @@ -399,6 +399,14 @@ properties: > type: boolean > description: TX checksum offload is unsupported by the TX queue. > > + snps,tbs-enabled: > + type: boolean > + description: > + Enable Time Based Scheduling(TBS) support for the TX queue. TSO and > + TBS cannot be supported by a queue at the same time. If TSO support > + is enabled, then default TX queue 0 for TSO and in that case don't > + enable TX queue 0 for TBS. > + > allOf: > - if: > required: > -- > 2.26.2 > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel