Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/123933/?format=api
http://patches.dpdk.org/api/patches/123933/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/20230215062532.1169860-1-rkudurumalla@marvell.com/", "project": { "id": 1, "url": "http://patches.dpdk.org/api/projects/1/?format=api", "name": "DPDK", "link_name": "dpdk", "list_id": "dev.dpdk.org", "list_email": "dev@dpdk.org", "web_url": "http://core.dpdk.org", "scm_url": "git://dpdk.org/dpdk", "webscm_url": "http://git.dpdk.org/dpdk", "list_archive_url": "https://inbox.dpdk.org/dev", "list_archive_url_format": "https://inbox.dpdk.org/dev/{}", "commit_url_format": "" }, "msgid": "<20230215062532.1169860-1-rkudurumalla@marvell.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20230215062532.1169860-1-rkudurumalla@marvell.com", "date": "2023-02-15T06:25:30", "name": "[v9,1/3] ethdev: skip congestion management configuration", "commit_ref": null, "pull_url": null, "state": "changes-requested", "archived": true, "hash": "951d7fc477038adbc81db606a23323f65a4efcc7", "submitter": { "id": 2289, "url": "http://patches.dpdk.org/api/people/2289/?format=api", "name": "Rakesh Kudurumalla", "email": "rkudurumalla@marvell.com" }, "delegate": { "id": 319, "url": "http://patches.dpdk.org/api/users/319/?format=api", "username": "fyigit", "first_name": "Ferruh", "last_name": "Yigit", "email": "ferruh.yigit@amd.com" }, "mbox": "http://patches.dpdk.org/project/dpdk/patch/20230215062532.1169860-1-rkudurumalla@marvell.com/mbox/", "series": [ { "id": 27013, "url": "http://patches.dpdk.org/api/series/27013/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=27013", "date": "2023-02-15T06:25:30", "name": "[v9,1/3] ethdev: skip congestion management configuration", "version": 9, "mbox": "http://patches.dpdk.org/series/27013/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/123933/comments/", "check": "warning", "checks": "http://patches.dpdk.org/api/patches/123933/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<dev-bounces@dpdk.org>", "X-Original-To": "patchwork@inbox.dpdk.org", "Delivered-To": "patchwork@inbox.dpdk.org", "Received": [ "from mails.dpdk.org (mails.dpdk.org [217.70.189.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 9635141C9F;\n\tWed, 15 Feb 2023 07:25:42 +0100 (CET)", "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 7311940EE1;\n\tWed, 15 Feb 2023 07:25:42 +0100 (CET)", "from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com\n [67.231.156.173])\n by mails.dpdk.org (Postfix) with ESMTP id BD07640EDB\n for <dev@dpdk.org>; Wed, 15 Feb 2023 07:25:41 +0100 (CET)", "from pps.filterd (m0045851.ppops.net [127.0.0.1])\n by mx0b-0016f401.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id\n 31EMuU9J009732; Tue, 14 Feb 2023 22:25:39 -0800", "from dc5-exch02.marvell.com ([199.233.59.182])\n by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3nr516p83d-1\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT);\n Tue, 14 Feb 2023 22:25:39 -0800", "from DC5-EXCH02.marvell.com (10.69.176.39) by DC5-EXCH02.marvell.com\n (10.69.176.39) with Microsoft SMTP Server (TLS) id 15.0.1497.42;\n Tue, 14 Feb 2023 22:25:37 -0800", "from maili.marvell.com (10.69.176.80) by DC5-EXCH02.marvell.com\n (10.69.176.39) with Microsoft SMTP Server id 15.0.1497.42 via Frontend\n Transport; Tue, 14 Feb 2023 22:25:37 -0800", "from localhost.localdomain (unknown [10.28.36.154])\n by maili.marvell.com (Postfix) with ESMTP id 9604B3F7040;\n Tue, 14 Feb 2023 22:25:34 -0800 (PST)" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com;\n h=from : to : cc :\n subject : date : message-id : in-reply-to : references : mime-version :\n content-transfer-encoding : content-type; s=pfpt0220;\n bh=NlVVccuofPv5oIwiJA81Pq107brD4yqlU6vCz3O7SE8=;\n b=Pr21CmjtfSm4SUFC0KLkLIju5TGpkuwjwIBaeHk1l8rrEpAFpYIbrknpbwr1SyO7MnyR\n senmDIfzv5wUXs7ChaZQjAldfoO4vhmeVWuBHkevyRVxVC9lWHUBK6Dg+4dkbKgGe7+U\n K0CispsJZfSQBpVUstuai95tkKirs/+TggxUPomTlGmIjsdqJPBFW3L8DkDyzBDciIVK\n 8xrztBo/kc3EdHQwj7TFduj3HWyg/dviIzntCGJd5Y2oh4TkOxAL0SZHE0eTnhISEZqv\n +H2mdZKKqxGI1FzUGd0/x9tnYxRWnnaovCUBOIMxLjYjlzXjLevt5oq+T9iSUBwOEHJ1 tw==", "From": "Rakesh Kudurumalla <rkudurumalla@marvell.com>", "To": "Ferruh Yigit <ferruh.yigit@amd.com>, Ori Kam <orika@nvidia.com>, \"Thomas\n Monjalon\" <thomas@monjalon.net>, Andrew Rybchenko\n <andrew.rybchenko@oktetlabs.ru>", "CC": "<jerinj@marvell.com>, <ndabilpuram@marvell.com>, <dev@dpdk.org>, \"Rakesh\n Kudurumalla\" <rkudurumalla@marvell.com>", "Subject": "[PATCH v9 1/3] ethdev: skip congestion management configuration", "Date": "Wed, 15 Feb 2023 11:55:30 +0530", "Message-ID": "<20230215062532.1169860-1-rkudurumalla@marvell.com>", "X-Mailer": "git-send-email 2.25.1", "In-Reply-To": "<20230214130458.1114765-1-rkudurumalla@marvell.com>", "References": "<20230214130458.1114765-1-rkudurumalla@marvell.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Content-Type": "text/plain", "X-Proofpoint-ORIG-GUID": "GJdC3C3wi70-y_Sw5495qnJfrcpf_SWj", "X-Proofpoint-GUID": "GJdC3C3wi70-y_Sw5495qnJfrcpf_SWj", "X-Proofpoint-Virus-Version": "vendor=baseguard\n engine=ICAP:2.0.219,Aquarius:18.0.930,Hydra:6.0.562,FMLib:17.11.170.22\n definitions=2023-02-15_02,2023-02-14_01,2023-02-09_01", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.29", "Precedence": "list", "List-Id": "DPDK patches and discussions <dev.dpdk.org>", "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n <mailto:dev-request@dpdk.org?subject=unsubscribe>", "List-Archive": "<http://mails.dpdk.org/archives/dev/>", "List-Post": "<mailto:dev@dpdk.org>", "List-Help": "<mailto:dev-request@dpdk.org?subject=help>", "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n <mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org" }, "content": "Introduce new flow action to skip congestion management configuration\nThis feature helps to skip the congestion management processing\nbased on per flow or the packet color identified by\nrte_flow meter object. For example, If one Rx queue configured as\nRED congestion and application wants tobypass the RED congestion\nprocessing for all GREEN color packet can be expressed though\nRTE_FLOW_ACTION_TYPE_SKIP_CMAN flow action\n\nSigned-off-by: Rakesh Kudurumalla <rkudurumalla@marvell.com>\nAcked-by: Ori Kam <orika@nvidia.com>\nAcked-by: Jerin Jacob <jerinj@marvell.com>\n---\nv9: Distributed doc updates to relevant patches\n\n doc/guides/nics/features/default.ini | 1 +\n doc/guides/prog_guide/rte_flow.rst | 22 ++++++++++++++++++++++\n doc/guides/rel_notes/release_23_03.rst | 6 ++++++\n lib/ethdev/rte_flow.h | 11 +++++++++++\n 4 files changed, 40 insertions(+)", "diff": "diff --git a/doc/guides/nics/features/default.ini b/doc/guides/nics/features/default.ini\nindex 510cc6679d..b93f053a2b 100644\n--- a/doc/guides/nics/features/default.ini\n+++ b/doc/guides/nics/features/default.ini\n@@ -198,6 +198,7 @@ set_tag =\n set_tp_dst =\n set_tp_src =\n set_ttl =\n+skip_cman =\n vf =\n vxlan_decap =\n vxlan_encap =\ndiff --git a/doc/guides/prog_guide/rte_flow.rst b/doc/guides/prog_guide/rte_flow.rst\nindex 3e6242803d..4efadcc87b 100644\n--- a/doc/guides/prog_guide/rte_flow.rst\n+++ b/doc/guides/prog_guide/rte_flow.rst\n@@ -1840,6 +1840,28 @@ Drop packets.\n | no properties |\n +---------------+\n \n+\n+Action: ``SKIP_CMAN``\n+^^^^^^^^^^^^^^^^^^^^^\n+\n+Skip congestion management on received packets\n+\n+- Using ``rte_eth_cman_config_set()``, application can configure ethdev Rx\n+ queue's congestion mechanism.Once applied packets congestion configuration\n+ is bypassed on that particular ethdev Rx queue for all packets directed\n+ to that receive queue\n+\n+.. _table_rte_flow_action_skip_cman:\n+\n+.. table:: SKIP_CMAN\n+\n+ +---------------+\n+ | Field |\n+ +===============+\n+ | no properties |\n+ +---------------+\n+\n+\n Action: ``COUNT``\n ^^^^^^^^^^^^^^^^^\n \ndiff --git a/doc/guides/rel_notes/release_23_03.rst b/doc/guides/rel_notes/release_23_03.rst\nindex bf90feba68..1dd10e26db 100644\n--- a/doc/guides/rel_notes/release_23_03.rst\n+++ b/doc/guides/rel_notes/release_23_03.rst\n@@ -60,6 +60,12 @@ New Features\n Added lock annotations attributes so that clang can statically analyze lock\n correctness.\n \n+* **Added support to skip congestion management configuration.**\n+\n+ Added a new action ``RTE_FLOW_ACTION_TYPE_SKIP_CMAN`` to skip\n+ congestion management processing based on per flow or packet color\n+ identified by rte_flow meter object\n+\n * **Updated AMD axgbe driver.**\n \n * Added multi-process support.\ndiff --git a/lib/ethdev/rte_flow.h b/lib/ethdev/rte_flow.h\nindex b60987db4b..6ab632df9d 100644\n--- a/lib/ethdev/rte_flow.h\n+++ b/lib/ethdev/rte_flow.h\n@@ -2736,6 +2736,17 @@ enum rte_flow_action_type {\n \t * No associated configuration structure.\n \t */\n \tRTE_FLOW_ACTION_TYPE_SEND_TO_KERNEL,\n+\n+\t/**\n+\t * Skip congestion management configuration\n+\t *\n+\t * Using rte_eth_cman_config_set() API the application\n+\t * can configure ethdev Rx queue's congestion mechanism.\n+\t * Introducing RTE_FLOW_ACTION_TYPE_SKIP_CMAN flow action to skip the\n+\t * congestion configuration applied to the given ethdev Rx queue.\n+\t *\n+\t */\n+\tRTE_FLOW_ACTION_TYPE_SKIP_CMAN,\n };\n \n /**\n", "prefixes": [ "v9", "1/3" ] }{ "id": 123933, "url": "