Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp156893rwd; Mon, 12 Jun 2023 11:27:50 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5DOn3xwrydtdO/AJY0cjEdkDkyxy7zEFsNw23sfN8zFpfIDhOuHsTzkEUFIaGdDiVZqIto X-Received: by 2002:a05:6a20:3d81:b0:115:83f:fce1 with SMTP id s1-20020a056a203d8100b00115083ffce1mr13199708pzi.5.1686594470249; Mon, 12 Jun 2023 11:27:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686594470; cv=none; d=google.com; s=arc-20160816; b=07UT4LivJ1pAuniYvpstz0okjLrU53Dsr86uVhxygkE2+8piQ91LCgUAnVJqqT5Zmb WjhsxjvhrSFZwYAojRShQqUam2YA3s2ynsNzYSrI0RXFv3KHis2HKruYwCCPG19twGbN WDZFfH0wNtEfbodbdrjqwZNtyh5MhhU4oXVe9O8O4jrqLcfhmF3F2vAhh8yCtrRSzVxl xrbSs3jDaw384zbJiLV77bXVXyRqTTe0V6jGd/b+mSLL45nSZLhBg1qCE7TdD/0h6vN2 Pw71eYvxzTzglj12cYmOo4oCKsEc5medNSo/9zpEmD+Y7Pbd4vMr8Ta1JdjYnE2r4D3Y ucLw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=Fi7DZObmpxIKmE75DEGH66N1cjPuHUykTIHuF+M6PWY=; b=QIRq/O0FX2mo13yHX9aIS6qqR3Gd4o8mCHpARC93GjA93b2BV1lzCtGneBlJyHTOSb qZXt+3SddHvQmhoThzIkZMJL9NEg+JyT6DLXL0TFCjZK9h5rflQKb96JpTQWTK34uVff P5LPV01FHN8xHMvpKs+Uq/rIsdkvUECkJlWW824O0c/natEQYTFAmlvzSeN2s4X6vsRT J1x4wv7UySnuonulYF/EEg0RWbh8kN0TidTo9vaEZCI672b19G+pIMwuP7c6aHRC0eWe wDyElJssXwLnMWpls5WAytBJ1qcNkXaffnzUExonbAqnD2jj+5BsyVFNXg715XdI2LAd yEFA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=l0P0pVkW; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 1-20020a621801000000b0064a35829154si7147030pfy.343.2023.06.12.11.27.38; Mon, 12 Jun 2023 11:27:50 -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=@gmail.com header.s=20221208 header.b=l0P0pVkW; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234281AbjFLSXW (ORCPT + 99 others); Mon, 12 Jun 2023 14:23:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43676 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230192AbjFLSXU (ORCPT ); Mon, 12 Jun 2023 14:23:20 -0400 Received: from mail-lj1-x231.google.com (mail-lj1-x231.google.com [IPv6:2a00:1450:4864:20::231]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 12824EC; Mon, 12 Jun 2023 11:23:20 -0700 (PDT) Received: by mail-lj1-x231.google.com with SMTP id 38308e7fff4ca-2b1a7e31dcaso55121271fa.2; Mon, 12 Jun 2023 11:23:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1686594198; x=1689186198; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=Fi7DZObmpxIKmE75DEGH66N1cjPuHUykTIHuF+M6PWY=; b=l0P0pVkWWaVD0QyJH6BNQSYoXa6yYhsNyLKwobP02ljoI6/t8kqRqZ+DaIhWbyNyxp nlCV65vwNkkTN+yuIDsEblCbwQ9t9W3BVUX76zuL+TM6fXXz8UVVybzriQfAnj243JB5 P1k4okBtC/HJN0VqkiTntBB2VUED9PoPQQlTa+InAWnvHfPDmcY7eO/1N9yHmzaKhPBq Vco8+wBXrSOtPi0EZ4rBVI83iB5x2fxl8/ZYsRql/jGs/EMLat3ojq5vL3GrFohuCuDJ ErS8DzcnbL2TNo3IJhlyPY3bkDZHkwdHLsHp+X35NHGqZySAbSGhdJ23BmQ4SSM4WnmL VkCw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686594198; x=1689186198; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Fi7DZObmpxIKmE75DEGH66N1cjPuHUykTIHuF+M6PWY=; b=l3LPgBX/M/RDf9bVKmp88ZAevgx8ovxoj5U+oq3UYLIZpm0YiLn/G11b3P/iWCxOOj Inz0CP98zbNPDSuQNG4Z5tZlX3J8CIFy1tKqPc/HKu22haVK30llk/QfFwnlV5p0QCdM GZE7upw+4D+JmAadQz5whIWfPXiCykZINTbSVc7D1aHodomhym9Ba8Qwi/FymdD5gimK 2PCIINBJpEmGNZ5gh1j338HDgKoHlESuEzV9RD+OOBGxwOI0Q3CEr1r1By01JOSiDxbU vTYRxgJXMtIxNaW308Od3Cz7X/INzruoINGinT8618maPST3Tj3Cc8iFDekhNwSChX24 fyYQ== X-Gm-Message-State: AC+VfDzd+SiegqZFWaLTpmb/iImYy56eMiu7ib8CV7TYdnzBBc8BBK1w x5fQE5Wt0rVgDb0zFMNCMvEb1+4D7mlW5tE/B6s= X-Received: by 2002:a2e:a165:0:b0:2ae:e214:482f with SMTP id u5-20020a2ea165000000b002aee214482fmr3361021ljl.52.1686594198050; Mon, 12 Jun 2023 11:23:18 -0700 (PDT) MIME-Version: 1.0 References: <20230609141812.297521-1-alexis.lothore@bootlin.com> <20230609141812.297521-3-alexis.lothore@bootlin.com> <176f073a-b5ab-4d8a-8850-fcd8eff65aa7@lunn.ch> <20230612094321.vjvj3jnyw7bcnjmw@skbuf> In-Reply-To: <20230612094321.vjvj3jnyw7bcnjmw@skbuf> From: Sunil Kovvuri Date: Mon, 12 Jun 2023 23:53:06 +0530 Message-ID: Subject: Re: [PATCH net-next 2/2] net: dsa: mv88e6xxx: implement egress tbf qdisc for 6393x family To: Vladimir Oltean Cc: =?UTF-8?Q?Alexis_Lothor=C3=A9?= , Andrew Lunn , Florian Fainelli , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , linux-kernel@vger.kernel.org, netdev@vger.kernel.org, Thomas Petazzoni , paul.arola@telus.com, scott.roberts@telus.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 On Mon, Jun 12, 2023 at 3:13=E2=80=AFPM Vladimir Oltean = wrote: > > Hi Sunil, > > On Mon, Jun 12, 2023 at 12:04:56PM +0530, Sunil Kovvuri wrote: > > For setting up simple per-port ratelimit, instead of TBF isn't "egress > > matchall" suitable here ? > > "matchall" is a filter. What would be the associated action for a > port-level shaper? As Alexis mentioned I was referring to "matchall + policer". Thanks, Sunil.