Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp3449743rdh; Thu, 28 Sep 2023 11:59:44 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGZTO0J+xeHBh0/QPzTMgpBCsswAdj2MGdq7Ib7ZV4hZP4d9IumetrYilPlZIZurkBuszDD X-Received: by 2002:a05:6a20:3943:b0:153:73ec:fe67 with SMTP id r3-20020a056a20394300b0015373ecfe67mr2358956pzg.19.1695927584236; Thu, 28 Sep 2023 11:59:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695927584; cv=none; d=google.com; s=arc-20160816; b=tkpda11WxPNJVm5RyZBJmfxzAiutW0klROZBsrqIrTJuBQi8ilp22ig/XAgQVnrXgk I+Ut0PLw5/ZtcO8dQOR5xf0YBsFlmv/fjDTmiwt3ChcEJIIQRHlnZVRtxoCcUUdeJcTW zvK7HCi2K/WsO+iOqmmDXFhMFjZXrxFU+TaxRtr1Mh8jRQsK5i6yzSgUDuJ9ifdbt5JD Jzqmx4zV1gU2gjg6HaalTBi60VbPAjWXgS2ke7Mbbecx8L7NxU87XcqGOIRw9tqBSPSl QZcVMMo6KuoOtLm0EA2dF2d2t1628ZsW4LQRTfcV14mZsXtzD46yTRgPYJLE6FQmIl9j RTIA== 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=bEVaVUIcguzzhKVNFH5T6a1xw+/GqDTjSSl2Wl+ioeU=; fh=59coKwPuY9pEJWMClEgBfn4R8nPrk7B0rsYFGqyynmE=; b=sU7gnOxOmAFLMdzSXHBmbjfDd082F2ESrGRKV4Kv1PrNJ4ce5b4B3Yu+2m2uQtx1C3 SCoBU/x8FpOzvMdsHSvBoUB1sPXbizg8CLSpg9Oa9+YLfcgKGfIJ4bDv9pnt1KVZ1FTo u6XTEykZ5OeAP7khARy41nhgPHSVLSuO+/ZsqVnK+L9o+tFiE/RvGyN3a53gM59H4e99 Rv0vfDrKzGphdKbjY97dKbttKwU9k6Gp5jwHN8xGBOu4J9VViImmWjzYWj/aeccQrQ+a tPiwXvX+0e6E357WmbR76vPP5eL7oZDjkXuqrSFUi2ldu50cspLd/t0mEyK+mb4yBtRB ZRAg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=DPu1YZ2r; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id ch3-20020a056a00288300b0068a2f6b841esi19125884pfb.293.2023.09.28.11.59.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Sep 2023 11:59:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=DPu1YZ2r; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 083BE858F7BA; Thu, 28 Sep 2023 11:09:54 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231857AbjI1SJr (ORCPT + 99 others); Thu, 28 Sep 2023 14:09:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51060 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230139AbjI1SJr (ORCPT ); Thu, 28 Sep 2023 14:09:47 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 057DE1B0 for ; Thu, 28 Sep 2023 11:09:45 -0700 (PDT) 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-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230927130919.25683-2-rohan.g.thomas@intel.com> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Thu, 28 Sep 2023 11:09:54 -0700 (PDT) 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 >