Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp5312338rwd; Mon, 12 Jun 2023 03:17:10 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6rPQPhYbx1t1W5rMHnDp/mCtghqFV7zKEY44xmzbBVgOY63HYUwFoJ3FvY3/ms5h7c4JQA X-Received: by 2002:a05:6a00:2d18:b0:646:6e40:b421 with SMTP id fa24-20020a056a002d1800b006466e40b421mr10528956pfb.1.1686565029780; Mon, 12 Jun 2023 03:17:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686565029; cv=none; d=google.com; s=arc-20160816; b=ZOq9D5RXBowMhMFirT8KFqrW9TZZ3o5eVY7ofLdBG8eXBRp7AXiDkhscLPyzcr/KhL jc5ZuU4+QBX32dTBP+3MYy5cWqnMjRp4n9vrDRetqUUQfTyS/Go+zCWJWWKTa4tm2nLs ZKWpE7MnpduCAPWg+gm1fU6i75pG3FNzwvGnOBjta3KMqf0eyXWUV+jn1MYhs/edz05O jPM+uyGYdqYFQ03PnrRSy+4bfwaDVr526HVX2iq0TdDuxZlHkyxAKVQLf80pXP2ou2Gx U1t8TBHP8+lsKanrzN3FjuL8qvQ64AdbD/c749gCoVqq0n1dS6NRP35gC+GI0U2WNqYK gO0w== 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=Hubj9IqBvYhyeiKXQ+E/srvUx+rB0kgttBCGxXgXiCo=; b=E7DtR3OCgbJk8uUqNPMCdRTUQSEm2uvYduWJQFvvVndYmv1oZujZAaMV+OAWwkDeEY C0b+Ug+qSWPdYtdl8PxJIC7t/QGxbWId9DjqzJRs31SkYVeqLZd/hsalLyBGhYiir2Un DgpJK7PRXGK6ckRi2UgmVXBNPEWHBrn7owtbAb11cWWOdOqWkFkm2bHEGToUlU0obj3s uYmLXUoZEICVcdM8aHgxDEESD+IIJH+wFihKNaFK5HOdl8OK6m7vw79uF2LRVIT3iEZ8 b/lWrwWThCD7ZL9yYbv1RsJLUtolNYAChOMZrKIypY/LB4HTdUcEFuzQnI5UAz6PwU0c odBg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=fWUJxwuw; 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 t184-20020a625fc1000000b0064d5e926241si6656414pfb.149.2023.06.12.03.16.57; Mon, 12 Jun 2023 03:17:09 -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=fWUJxwuw; 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 S236423AbjFLKDJ (ORCPT + 99 others); Mon, 12 Jun 2023 06:03:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36266 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236363AbjFLJ7p (ORCPT ); Mon, 12 Jun 2023 05:59:45 -0400 Received: from mail-ej1-x631.google.com (mail-ej1-x631.google.com [IPv6:2a00:1450:4864:20::631]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1EEB8212C; Mon, 12 Jun 2023 02:43:26 -0700 (PDT) Received: by mail-ej1-x631.google.com with SMTP id a640c23a62f3a-9788554a8c9so730358166b.2; Mon, 12 Jun 2023 02:43:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1686563004; x=1689155004; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=Hubj9IqBvYhyeiKXQ+E/srvUx+rB0kgttBCGxXgXiCo=; b=fWUJxwuwLWCHh/IiHIX561eSTSxX2XyqEKRftGlIBYV1EERsmY3dh+gLQPcgkHytNl 7z/t+ndVI8rxFmCjIN50Z3zFw4t91z0wm1D70GSlDOMkRqBWUCvYoKh65F6G50OevdUl Hu/ztP80tDRBVYIpNUiDBy/FVuDbJD/O9nBwskyhjkfR9TsPM2OWXWz87wU9YgPZfdAj q2U6CWXQV1nFqRLTpULdXoUvaYG0v56mNyQ3iOq3vrcdpDeW196mykcUwPrXOo6lWt26 r0+401tOw0mNz2iGQWdb+uPvwCQufU44oaGB8SQrbvjv2TBR37tjWvu7byv+VvLvrB6L 1MNw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686563004; x=1689155004; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=Hubj9IqBvYhyeiKXQ+E/srvUx+rB0kgttBCGxXgXiCo=; b=XQLAuF8Jrc7Qkk+0uEqQbaej0zwaOEuem4M2dYpAxM8MTLPeV4Da7aics+AHBQzbp0 qSiqam/lllOwV47A8m2Ff9E7Hw05uvq+FZDVVWYL6S9NK8exfugbEe2u3VdhxmQrGGao AwAHvhf00hslUsnHtw12eTz7MEME4IzNMz72IpMeenkoNXY4MqCQMQZ7P2J1CO+PrlIQ ADZilVnRr9ttHEoM3/LAchtu3c7F+KgZ13WSQ32hBAIB9gSMk0D2HjhBXGSQ0OTDqFx2 wxLj243n9CokNEoOQp7t7mhWGOkulSvFlz+WC8/mHCzlqCjUs4pF8mAM9VnXXh2OcQGO X8rg== X-Gm-Message-State: AC+VfDx332B4hO/+cSgaUkZuEvt1J3lyviPuyjJppX9uPAonzsI5sV25 AD1U4MvuWiZqURZHWvyRgXQ= X-Received: by 2002:a17:907:320e:b0:974:b15:fce5 with SMTP id xg14-20020a170907320e00b009740b15fce5mr9120869ejb.38.1686563004174; Mon, 12 Jun 2023 02:43:24 -0700 (PDT) Received: from skbuf ([188.27.184.189]) by smtp.gmail.com with ESMTPSA id dc18-20020a170906c7d200b0096ace7ae086sm4993883ejb.174.2023.06.12.02.43.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Jun 2023 02:43:23 -0700 (PDT) Date: Mon, 12 Jun 2023 12:43:21 +0300 From: Vladimir Oltean To: Sunil Kovvuri Cc: Alexis =?utf-8?Q?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 Subject: Re: [PATCH net-next 2/2] net: dsa: mv88e6xxx: implement egress tbf qdisc for 6393x family Message-ID: <20230612094321.vjvj3jnyw7bcnjmw@skbuf> References: <20230609141812.297521-1-alexis.lothore@bootlin.com> <20230609141812.297521-3-alexis.lothore@bootlin.com> <176f073a-b5ab-4d8a-8850-fcd8eff65aa7@lunn.ch> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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 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?