From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 89CFEA034C; Thu, 22 Dec 2022 06:27:53 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6E40D40698; Thu, 22 Dec 2022 06:27:53 +0100 (CET) Received: from mail-vs1-f48.google.com (mail-vs1-f48.google.com [209.85.217.48]) by mails.dpdk.org (Postfix) with ESMTP id 49AAD400D7 for ; Thu, 22 Dec 2022 06:27:52 +0100 (CET) Received: by mail-vs1-f48.google.com with SMTP id a66so767654vsa.6 for ; Wed, 21 Dec 2022 21:27:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=ByQWHRfpBLr78aKj25AXDD17u/NM8Lw89x3V4ei4Q7s=; b=eMidzrSxs4pLRztIZ8ztPZKVCznbisFNMK4YdwYbkhshPLsCNW25cQlOoUBfG3B09S TstK5v889uqerlyIkan3R5fKqvHpQ3X7lEoYTUPz+69VnHFNzrvx9lGwism69gjR8tIA IhW3AzSTyxVe2Y5WBfs7EG5c7S5fgHRQzioNYgPgYkfKPydLCGmUUallt5bIZ6ZOzJ23 55hJstBMbRSiPXUQOFz8VqgZvugXmZHipjXlJdU6OhaJLPEKKNKZ9YfWmRVdJBbLbpTa 0AagpBIJ/bWJHeMpPyz4dXTXWMcG+Vc+0oRtjuFEdFEMklLZQhBj08jqQaEGzuyQJfuO zw0Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=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=ByQWHRfpBLr78aKj25AXDD17u/NM8Lw89x3V4ei4Q7s=; b=XU3SghTA7rFRBPkY8J7eADBchE6Qtr03hX+50ZUEG+u+279dU0rpcC7XQQdev6zXyc L6HrKluM5V4T0PBvea0D9i6xwre+bDz1Nmr3NQH23GWAsqS0fb9f6yC9xT/OEWa04dhu cn5YctqbRpUrZi/s4/l6cVoxN19dTkSuK3NWOIUkn0vhqr42H7mI1/z2SZ9oAMsxQVCn j2ceFsURReuyydfaYnn1e8L/OpgM1qDfAk+xnkMO5qvzWNQitNyGr81bGfTqbPzxWQsi 8wCW7dZ8PW0AB8M+6XjC4T3gkYUt+27yR8rKSaRF98C4NInVKrHalaLrFFuQMnI8x5q/ swAQ== X-Gm-Message-State: AFqh2kqYolvK4axlfwo3ySmftbfYiKLXtsmgBN7RsjZUVI+MhF34vKRf HvojbymqMmflU+w7+EtljxlBILg4XZqLRPjQZEs= X-Google-Smtp-Source: AMrXdXsYkH9wiES2SvFCNUZgPlvXc1VaYZWGJs5cWHPW3CVrHjD565uBzEvW/5yZQgol/yIkmCw/KjeFeFQbTdKjLmo= X-Received: by 2002:a67:fa10:0:b0:3b2:e77d:84a9 with SMTP id i16-20020a67fa10000000b003b2e77d84a9mr563610vsq.31.1671686871627; Wed, 21 Dec 2022 21:27:51 -0800 (PST) MIME-Version: 1.0 References: <20221222013904.692922-1-rkudurumalla@marvell.com> <20221221190140.399996e0@hermes.local> In-Reply-To: <20221221190140.399996e0@hermes.local> From: Jerin Jacob Date: Thu, 22 Dec 2022 10:57:25 +0530 Message-ID: Subject: Re: [PATCH 1/3] lib: dpdk spec to skip red for ingress policer To: Stephen Hemminger Cc: Rakesh Kudurumalla , Ori Kam , Thomas Monjalon , Ferruh Yigit , Andrew Rybchenko , dev@dpdk.org, adrien.mazarguil@6wind.com Content-Type: text/plain; charset="UTF-8" X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org On Thu, Dec 22, 2022 at 8:32 AM Stephen Hemminger wrote: > > On Thu, 22 Dec 2022 07:09:02 +0530 > Rakesh Kudurumalla wrote: > > > Dropping of packets based on RED can be skipped > > with meter action, when RED is configured using > > rte_eth_cman_config_set() > > > > Signed-off-by: Rakesh Kudurumalla > > Should this be more general and apply to all congestion > management options. Assuming the hardware can do something > better than RED. Yes. We can use "enum rte_cman_mode mode" in the descriptor to future-proof.