Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp5274896rdb; Sat, 16 Sep 2023 09:34:25 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEjkTDKz+7cR4hjrbeXlcZ3HSGO84STwGwlzwcl+BfkPaIahVMXa2re63Bu8ztPJrvos+9N X-Received: by 2002:a05:6a20:f384:b0:148:d5d9:aaa9 with SMTP id qr4-20020a056a20f38400b00148d5d9aaa9mr5022569pzb.33.1694882064983; Sat, 16 Sep 2023 09:34:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694882064; cv=none; d=google.com; s=arc-20160816; b=V40d+Nz+oS0hYEDHgD9xJzVV5cKV9R1SeWbI+C9GNTdY3xl+8JrsRIUfvynRsaeFWr Da9tX9AsJT/XETDewBeJ8IzQWjYyzFcFfziRB19/9K9ttounuIXthE7Vb/kRU7X2cR1w psMw5WqZ+qb9cS+QnU4jTwjobMduZ8Y5iK4+pKbxfUXNTdMGschZuJPFYW0+/ay5ZkJR KrM3hFr48HQPIFmcRSQs89My4VJLNOUx02rUXp3rxfmNyEyfOsNUQNpOsAQBKCdHaOJ+ fYDLNVGM4f2kwpPVQuH5oBS0fW6t5XW/r6PSlpTSrEJtEFUegUJJlcO/45E0oCo5Tx/y w6eg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=agDh9LhuMU6610UUruNsAY7W/FuJju0KzdNHL4yG6gc=; fh=iirzLoWJAOwPJS/1lQH2xIo9YnUkSd2SurOPc047UYw=; b=jmJvq6hbL0zXJXvmQIEEudMVdfFmWbKrKWZR+MwcGd0icrX8aVo8ujHPS27RgRtTkF hrGnNij51kweUdNdMtwajlvmeS9+IteVF3sbeeFg7Hehd9Bg9c+YUoM88H3jeY/bsmIp ILwMyMeICaZ54UwZ4ufxtsRmRMGSvGRs9KziK95OioZFPA+fDuKTWcpNpVgNTUWwCvhI Xd/kZobYzwri4eQkTrvlDKyt7X8Os0Y5uTo1H4Mf0N+pB89N4gBjs8PA8b5QzozWKeRK 4QE/tQcxsloy60mCrNeYmBRLXyAIJkH5YVGBIM21OJEa9IsO2PuUmZC380EWJM3oQMGr mTdg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=Hz8Z33cx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 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 agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id h20-20020a056a001a5400b0068a54cfcd74si5195670pfv.192.2023.09.16.09.34.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 16 Sep 2023 09:34:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=Hz8Z33cx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 74D608300EDE; Fri, 15 Sep 2023 23:34:34 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232518AbjIPGeE (ORCPT + 99 others); Sat, 16 Sep 2023 02:34:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34654 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236720AbjIPGdb (ORCPT ); Sat, 16 Sep 2023 02:33:31 -0400 Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.151]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8A34F19A8; Fri, 15 Sep 2023 23:33:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1694846006; x=1726382006; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=52OjBIdYros6Vg0OVslLmr8CvSafvNPl+icnhq/BIUM=; b=Hz8Z33cxTnU78cyT9Xg/LWY5J/w8FRNV233VPoBk/5NMt4fzpvhdzjql 3wnCRf1hMUo1f3Bv9rH6XPr80yM8XK+ixWx76RvqdHLbkgo4ttVI4BWiQ skP5KsFNFGVHRJfyF+qa0bj6ZnGuBj3Lq7yU06kw0fZTuE95ByrOYmI8q QmyjJI246dUC/CZh21r6jCZORHPWYKliIy6fzJ3lzt7hnVRe7ojSeNi+q b9+1lb8OATGpsvqUP1J2PxwzqZ/ry2+S3BaKGDFlUJhUzT7gpNoo9bj03 6rnFVz8aKLQciDhEI1rkSFJ8G8ZOh10EPuae6SI87Gw+7iQiLR2Qq3Sv+ A==; X-IronPort-AV: E=McAfee;i="6600,9927,10834"; a="359637798" X-IronPort-AV: E=Sophos;i="6.02,151,1688454000"; d="scan'208";a="359637798" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Sep 2023 23:33:26 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10834"; a="780351413" X-IronPort-AV: E=Sophos;i="6.02,151,1688454000"; d="scan'208";a="780351413" Received: from pglc00032.png.intel.com ([10.221.207.52]) by orsmga001.jf.intel.com with ESMTP; 15 Sep 2023 23:33:21 -0700 From: Rohan G Thomas To: "David S . Miller" , Alexandre Torgue , Jose Abreu , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Maxime Coquelin , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Giuseppe Cavallaro , fancer.lancer@gmail.com Cc: netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Rohan G Thomas Subject: [PATCH net-next v7 1/2] dt-bindings: net: snps,dwmac: Tx coe unsupported Date: Sat, 16 Sep 2023 14:33:11 +0800 Message-Id: <20230916063312.7011-2-rohan.g.thomas@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230916063312.7011-1-rohan.g.thomas@intel.com> References: <20230916063312.7011-1-rohan.g.thomas@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email 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 (agentk.vger.email [0.0.0.0]); Fri, 15 Sep 2023 23:34:34 -0700 (PDT) Add dt-bindings for coe-unsupported property per tx queue. Some DWMAC IPs support tx checksum offloading(coe) only for a few tx queues. DW xGMAC IP can be synthesized such that it can support tx coe only for a few initial tx queues. Also as Serge pointed out, for the DW QoS IP tx coe can be individually configured for each tx queue. This property is added to have sw fallback for checksum calculation if a tx queue doesn't support tx coe. Signed-off-by: Rohan G Thomas --- Documentation/devicetree/bindings/net/snps,dwmac.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Documentation/devicetree/bindings/net/snps,dwmac.yaml b/Documentation/devicetree/bindings/net/snps,dwmac.yaml index ddf9522a5dc2..5c2769dc689a 100644 --- a/Documentation/devicetree/bindings/net/snps,dwmac.yaml +++ b/Documentation/devicetree/bindings/net/snps,dwmac.yaml @@ -394,6 +394,11 @@ properties: When a PFC frame is received with priorities matching the bitmask, the queue is blocked from transmitting for the pause time specified in the PFC frame. + + snps,coe-unsupported: + type: boolean + description: TX checksum offload is unsupported by the TX queue. + allOf: - if: required: -- 2.25.1