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 3CF9542483; Wed, 25 Jan 2023 10:27:15 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2170B40684; Wed, 25 Jan 2023 10:27:15 +0100 (CET) Received: from mail-vs1-f47.google.com (mail-vs1-f47.google.com [209.85.217.47]) by mails.dpdk.org (Postfix) with ESMTP id 2B8CB40223 for ; Wed, 25 Jan 2023 10:27:14 +0100 (CET) Received: by mail-vs1-f47.google.com with SMTP id y8so360384vsq.0 for ; Wed, 25 Jan 2023 01:27:14 -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=RnZmFBajkVnep11WuphEsT1aHgXQL1x2mCORThanQnc=; b=E/+xQ1z4RZJRwWKMw60talmGuNiiXWSyPMH9lCZwrcK0GmUURmo0D4qbFjBhQokD3K qqwgZBP+QLULdQQNPz7VadHdZZoE8svsHKXUKYnsfKBcRJtR/RzrE2nlu7acOy5H8P7+ RiYxgyhwiWZSvuMzq8LjSY0fETyHo7mlFASeki7C0K7103FkdDF3AILeBRdlgOkmSO3s fbOA0qkg0uZa0PKodtr4mBhTMEJasExjM+4hzX8JZjap+ciDQ074w4iwKZdAZbVxGjZo qfxKTI31CeM5iEihNz6w9ef+64h5Ou4oj/Jvym5cFEb6i+6ACIQnKD4IcennNfGexiKK IO4A== 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=RnZmFBajkVnep11WuphEsT1aHgXQL1x2mCORThanQnc=; b=H4f1Z2LhgLLHFqx87XqM7DhQ2g9ab24HidRzv+Mw6LZE+3MDjmKYzy4px3R+1fHl6N NDw3jPlXE+EQWJ4il0OaTJypzmThMXJSRN5Pj2iEFo8YxlEm5VXxmO+ktqHlQuFvG9Md AXDVzjb8keNff7+/Bxkh5WomiFV0f++WOSSSMeYg4fhJ176G11AeHV7aDPQTbILGOcSb loJtp5vEd8SKyY59yT1XoNXy3d9g22oUEHQQoROG5VS5EDwk4wRgalt3IqEUltZiVKLo 5EKDzNcupPGPuTxnNKZmlAq+fCGydDEoU0W0xvneHkRDtVjY4XgNC5tT/2N111DKejVa OyJw== X-Gm-Message-State: AO0yUKUm6qmDjWgV1TkEuI4sAaTNxX+aC7FTvnyQhX1WwoXJuG5E9EWU CMqg9wpzX/YzddU3SmHMyV0xewFqLSyujqzr+Ig= X-Google-Smtp-Source: AK7set81fkX9iXpy1j6MGvhO4gVpPbuD/AWN/8pnGAPHTB31Oj3uFTQ/TbTnj4BpozajghaQF2QivmZWrL3xHOtvlfQ= X-Received: by 2002:a05:6102:3456:b0:3e8:b80c:7d8 with SMTP id o22-20020a056102345600b003e8b80c07d8mr142970vsj.66.1674638833488; Wed, 25 Jan 2023 01:27:13 -0800 (PST) MIME-Version: 1.0 References: <20221222013904.692922-1-rkudurumalla@marvell.com> <20230125073231.4007078-1-rkudurumalla@marvell.com> In-Reply-To: <20230125073231.4007078-1-rkudurumalla@marvell.com> From: Jerin Jacob Date: Wed, 25 Jan 2023 14:56:47 +0530 Message-ID: Subject: Re: [PATCH v2 1/3] lib: skip congestion management configuration To: Rakesh Kudurumalla Cc: Ori Kam , Thomas Monjalon , Ferruh Yigit , Andrew Rybchenko , jerinj@marvell.com, ndabilpuram@marvell.com, dev@dpdk.org 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 Wed, Jan 25, 2023 at 1:03 PM Rakesh Kudurumalla wrote: > > Skip the congestion management configuration applied using > rte_eth_cman_config_set() API on the given ethdev Rx queue. 1) Add more comments. Also starts with ethdev: example, ethdev: introduce flow action to skip congestion management configuration Using rte_eth_cman_config_set() API the application can configure ethdev Rx queue's congestion mechanism. Introducing RTE_FLOW_ACTION_TYPE_SKIP_CMAN flow action to skip the congestion configuration applied to the given ethdev Rx queue. This feature helps to skip the congestion management processing based on per flow or the packet color identified by the rte_flow meter object. For example, If one Rx queue configured as RED congestion and application wants tobypass the RED congestion processing for all GREEN color packet can be expressed though RTE_FLOW_ACTION_TYPE_SKIP_CMAN flow action 2) Update doc/guides/prog_guide/rte_flow.rst for new action and 3/3 patch for doc/guides/nics/features/ pmd specific doc