From patchwork Mon Mar 13 22:51:00 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Serge Semin X-Patchwork-Id: 13173445 X-Patchwork-Delegate: kuba@kernel.org 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id D19C4C6FD1C for ; Mon, 13 Mar 2023 22:54:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230400AbjCMWyI (ORCPT ); Mon, 13 Mar 2023 18:54:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59918 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230368AbjCMWxd (ORCPT ); Mon, 13 Mar 2023 18:53:33 -0400 Received: from post.baikalelectronics.com (post.baikalelectronics.com [213.79.110.86]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id DF39592F2C; Mon, 13 Mar 2023 15:52:53 -0700 (PDT) Received: from post.baikalelectronics.com (localhost.localdomain [127.0.0.1]) by post.baikalelectronics.com (Proxmox) with ESMTP id 50FC9E0EBF; Tue, 14 Mar 2023 01:51:28 +0300 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= baikalelectronics.ru; h=cc:cc:content-transfer-encoding :content-type:content-type:date:from:from:in-reply-to:message-id :mime-version:references:reply-to:subject:subject:to:to; s=post; bh=KQsws9NtBO6QlsruSY3+0FhvjbX+2h0WTEcfdAMql2o=; b=rsHkLLEACOd4 MLMrh1uCsrIY/0keomOkDe34risa0j+VGgK0mFNltJnIQ2RNaDlyf3jHNG1GxRWV 5Is6De4IdjTJkSxBjP4OuW1NdPtcpiBer0uz6ngIRdKEY9ypUW1D1LIAYIxXgh9S voPHE4s6yX7qOx+EheLu5ZNtdKtBNJo= Received: from mail.baikal.int (mail.baikal.int [192.168.51.25]) by post.baikalelectronics.com (Proxmox) with ESMTP id 0FADBE0E6A; Tue, 14 Mar 2023 01:51:28 +0300 (MSK) Received: from localhost (10.8.30.10) by mail (192.168.51.25) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Tue, 14 Mar 2023 01:51:27 +0300 From: Serge Semin To: Giuseppe Cavallaro , Alexandre Torgue , Jose Abreu , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Maxime Coquelin , Rob Herring , Krzysztof Kozlowski , Joao Pinto CC: Serge Semin , Serge Semin , Alexey Malahov , Pavel Parkhomenko , Christian Marangi , Richard Cochran , Biao Huang , Yang Yingliang , , , , , Subject: [PATCH net-next 13/16] dt-bindings: net: dwmac: Fix MTL Tx Queue props description Date: Tue, 14 Mar 2023 01:51:00 +0300 Message-ID: <20230313225103.30512-14-Sergey.Semin@baikalelectronics.ru> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230313225103.30512-1-Sergey.Semin@baikalelectronics.ru> References: <20230313225103.30512-1-Sergey.Semin@baikalelectronics.ru> MIME-Version: 1.0 X-Originating-IP: [10.8.30.10] X-ClientProxiedBy: MAIL.baikal.int (192.168.51.25) To mail (192.168.51.25) Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org X-Patchwork-Delegate: kuba@kernel.org Invalid MTL Tx Queues DT-properties description was added right at the initial DCB/AVB features patch. Most likely due to copy-paste mistake the text currently matches to what is specified for the AXI-bus config properties. Let's fix that by providing correct descriptions for MTL Tx Queue DT-properties utilized for the AVB feature (CBS algorithm) tuning. Fixes: 19d918731797 ("net: stmmac: configuration of CBS in case of a TX AVB queue") Signed-off-by: Serge Semin --- .../devicetree/bindings/net/snps,dwmac.yaml | 20 +++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/Documentation/devicetree/bindings/net/snps,dwmac.yaml b/Documentation/devicetree/bindings/net/snps,dwmac.yaml index 2ebf7995426b..69be39d55403 100644 --- a/Documentation/devicetree/bindings/net/snps,dwmac.yaml +++ b/Documentation/devicetree/bindings/net/snps,dwmac.yaml @@ -321,25 +321,37 @@ properties: available in this queue. snps,send_slope: $ref: /schemas/types.yaml#/definitions/uint32 - description: enable Low Power Interface + description: + Send-Slope credit value subtracted from the accumulated credit + in the Queue for the Audio/Video bridging traffic. This is the + rate of the credit change in bits per cycle (40 ns, 8 ns and + 3.2 ns for 100 Mbps, 1000 Mbps and 2.5/10 Gbps respectively). minimum: 0 maximum: 0x3FFF snps,idle_slope: $ref: /schemas/types.yaml#/definitions/uint32 - description: unlock on WoL + description: + Idle-Slope credit value added to the accumulated credit in the + Queue with the Audio/Video bridging enabled. This is the + rate of the credit change in bits per cycle (40 ns, 8 ns and + 3.2 ns for 100 Mbps, 1000 Mbps and 2.5/10 Gbps respectively). minimum: 0 maximum: 0x8000 snps,high_credit: $ref: /schemas/types.yaml#/definitions/uint32 - description: max write outstanding req. limit + description: + Maximum value accumulated in the credit parameter for the + Audio/Video bridging feature (specified in bits scaled by 1,024). minimum: 0 maximum: 0x1FFFFFFF snps,low_credit: $ref: /schemas/types.yaml#/definitions/uint32 - description: max read outstanding req. limit + description: + Minimum value accumulated in the credit parameter for the + Audio/Video bridging feature (specified in bits scaled by 1,024). minimum: 0 maximum: 0x1FFFFFFF