From patchwork Wed Jul 19 11:04:43 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hariprasad Kelam X-Patchwork-Id: 122561 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:c923:0:b0:3e4:2afc:c1 with SMTP id j3csp2371757vqt; Wed, 19 Jul 2023 04:38:19 -0700 (PDT) X-Google-Smtp-Source: APBJJlGr3Ykp1XE6dUUGow5Xz9QKhSq7nkSVs5dg8/lGAw2HODZCX8VG8DMOFwpM9dsRozyq55Ku X-Received: by 2002:a05:6a20:a120:b0:132:e62d:c53b with SMTP id q32-20020a056a20a12000b00132e62dc53bmr22773860pzk.44.1689766698952; Wed, 19 Jul 2023 04:38:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689766698; cv=none; d=google.com; s=arc-20160816; b=hGMjfWETfGO0uoYhGpLCwpSQRTI/yTt5HxGsXQkUtugbS42PNRrSwAEQJBPxpOOdOe 2TqHy1LSmj8pmfJVrQfrZoGWpRDSgXumuMjl4rYX7p/zvmks+6I9mrV3CLLHBjm4YD0Y pNoMr4Ma3Bq57cx3Wn2mmboVOBGYe/pTSwvNsk4cXzco+CxO8QSMUrR402EOXCVuoWVF egs7t4YvJDYwdiCqe0yUawyIbAV/ioRGlIdrqGJxNa5q8zFB/lGoVpzcrgpOFrhisY6Y wJx0BtG5OIyYTD5bEVOdVBWDIUwiMJbi463xi5BhT4XL7QNeuZsl3SeBroEs5bkCjTEs 4xNw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=eFDFWqo6gID/QCN9gvy4Wc0KOi3v8oToQsz9Y0xKUEM=; fh=WTB7wSncyt74iOQYSs1LHXSzBhyN3wdzAdsgdEGhJyY=; b=zWSE/q9JT1NYmV/inQuDS2C5eacbaGgbc3FjRVsukABfpTYpb2XaOcF4u6y/K3f3Ew 2Xa/TjKpKrAZ26WGHNp/pwMboDb2lCTEZ6XVdhf7212aS0hBwqMkLoK2a74IgFhafRQ0 5S9MpUmvmeGkbPW0x4AL9k9wxqUMeyNArYgtePeQ4JqsLWngeb30enpTA9BsJj/sv6S3 pGSJJ/ZeqDFZk/5zmMkd0EtMitM+48Zf4o5kYWWbApmFPbYahxkqRe8/yHXv2WCeQgUj Bq9sKAYrrMlMpBcPJIIcQyy6bXGhMt461BCTZqxeNyp3zJFWugDL2mJtuP5ihyFSmPNs OgDg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@marvell.com header.s=pfpt0220 header.b=fMEahkCF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=REJECT dis=NONE) header.from=marvell.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f3-20020a637543000000b0055ba896ec95si3226562pgn.779.2023.07.19.04.38.05; Wed, 19 Jul 2023 04:38:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@marvell.com header.s=pfpt0220 header.b=fMEahkCF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=REJECT dis=NONE) header.from=marvell.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230435AbjGSLF6 (ORCPT + 99 others); Wed, 19 Jul 2023 07:05:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41162 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230124AbjGSLFp (ORCPT ); Wed, 19 Jul 2023 07:05:45 -0400 Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 92C33E75; Wed, 19 Jul 2023 04:05:42 -0700 (PDT) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 36J9jrtw013032; Wed, 19 Jul 2023 04:05:31 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-type; s=pfpt0220; bh=eFDFWqo6gID/QCN9gvy4Wc0KOi3v8oToQsz9Y0xKUEM=; b=fMEahkCFyEDQ+yVc4vL/9n+kHMu9Vo1uABeMjR2/e+uA3RXa/s5LN6kHGevyTpLPZKS4 N+wmvfZfMCbqms4Vz6PZubEH9GQEul01sPhKPlg9Gk0PfCM9OPlyhfVGyvGC7jUkMLI0 pJ0eGPBkq71MGlQ71My+sN7S8bUJZkUhXEPZRPN+w6jx3X6qSNR5TxiVQBw8uDDG1fEC DCYjGrJm/LOgyQiDq5P7jIWBlfqzrixOgVury41Fe4uYqWXCYUnXuAyDjhxEONoZC2MR 1tBCNJ5BcRslx2v1V2EwTmDyj0MkjRYvVwBTj7g1ZF9XaadBRdvkRDkrvOMgoR2ftOQv ag== Received: from dc5-exch01.marvell.com ([199.233.59.181]) by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3rwyc6jdya-12 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Wed, 19 Jul 2023 04:05:31 -0700 Received: from DC5-EXCH02.marvell.com (10.69.176.39) by DC5-EXCH01.marvell.com (10.69.176.38) with Microsoft SMTP Server (TLS) id 15.0.1497.48; Wed, 19 Jul 2023 04:05:17 -0700 Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server id 15.0.1497.48 via Frontend Transport; Wed, 19 Jul 2023 04:05:17 -0700 Received: from hyd1soter3.marvell.com (unknown [10.29.37.12]) by maili.marvell.com (Postfix) with ESMTP id AE97F3F704F; Wed, 19 Jul 2023 04:05:10 -0700 (PDT) From: Hariprasad Kelam To: , CC: , , , , , , , , , , , , , , , , , , Subject: [net-next PatchV4 4/4] docs: octeontx2: extend documentation for Round Robin scheduling Date: Wed, 19 Jul 2023 16:34:43 +0530 Message-ID: <20230719110443.15310-5-hkelam@marvell.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230719110443.15310-1-hkelam@marvell.com> References: <20230719110443.15310-1-hkelam@marvell.com> MIME-Version: 1.0 X-Proofpoint-GUID: kQcd5XplTZQUYor0wMPBDCB8AF2UIF6L X-Proofpoint-ORIG-GUID: kQcd5XplTZQUYor0wMPBDCB8AF2UIF6L X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.591,FMLib:17.11.176.26 definitions=2023-07-19_06,2023-07-19_01,2023-05-22_02 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1771848806009962428 X-GMAIL-MSGID: 1771848806009962428 Add example tc-htb commands for Round robin scheduling Signed-off-by: Hariprasad Kelam --- .../device_drivers/ethernet/marvell/octeontx2.rst | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Documentation/networking/device_drivers/ethernet/marvell/octeontx2.rst b/Documentation/networking/device_drivers/ethernet/marvell/octeontx2.rst index bfd233cfac35..1e196cb9ce25 100644 --- a/Documentation/networking/device_drivers/ethernet/marvell/octeontx2.rst +++ b/Documentation/networking/device_drivers/ethernet/marvell/octeontx2.rst @@ -332,3 +332,11 @@ Setup HTB offload # tc class add dev parent 1: classid 1:1 htb rate 10Gbit prio 1 # tc class add dev parent 1: classid 1:2 htb rate 10Gbit prio 7 + +4. Create tc classes with same priorities and different quantum:: + + # tc class add dev parent 1: classid 1:1 htb rate 10Gbit prio 2 quantum 409600 + + # tc class add dev parent 1: classid 1:2 htb rate 10Gbit prio 2 quantum 188416 + + # tc class add dev parent 1: classid 1:3 htb rate 10Gbit prio 2 quantum 32768