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 A479C42481; Wed, 25 Jan 2023 08:32:54 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C1E6442D47; Wed, 25 Jan 2023 08:32:49 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id C20AE42D40 for ; Wed, 25 Jan 2023 08:32:48 +0100 (CET) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 30ONwBQa029119; Tue, 24 Jan 2023 23:32:46 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding : content-type; s=pfpt0220; bh=x32zitk4BEY3pXb4en0wIodtz+FQboMhMhyYoa4bAWM=; b=kZPr3O/mOFO3liXV+bMnw450W27P1hZ9Md2+xnvgWExH3OxrLLPdWy/ynTY1ZMcOFOr/ PCpzn1mn4GxDVhoXjl/ntC2q1cqu6Y3z4i9lrwFdddLxjZX+3dZKpZEqGsOdSry0SOTf X3GECs17VcNftVzwjtzAsSUG1ybAYQlRcF/mnlyLaf6rM2QJR+P0mDln2iPvIvVkzFby MrOd8zlOHQaBUsC6mO7dbOG5PlYs9T5OTaJSH9r4X56VmJUZHv9dk2XBVkI0AbURW+Au vMx2dsYzyREy9xSEcoWaMjWzrQywGcrOmg2p7+mbddCR689tc/xLsT8+ORGQPaPO6CR7 Xg== Received: from dc5-exch02.marvell.com ([199.233.59.182]) by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3n8gern37g-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Tue, 24 Jan 2023 23:32:46 -0800 Received: from DC5-EXCH01.marvell.com (10.69.176.38) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Tue, 24 Jan 2023 23:32:44 -0800 Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH01.marvell.com (10.69.176.38) with Microsoft SMTP Server id 15.0.1497.42 via Frontend Transport; Tue, 24 Jan 2023 23:32:37 -0800 Received: from localhost.localdomain (unknown [10.28.36.154]) by maili.marvell.com (Postfix) with ESMTP id 539043F706F; Tue, 24 Jan 2023 23:32:35 -0800 (PST) From: Rakesh Kudurumalla To: Ori Kam , Thomas Monjalon , "Ferruh Yigit" , Andrew Rybchenko CC: , , , "Rakesh Kudurumalla" Subject: [PATCH v2 1/3] lib: skip congestion management configuration Date: Wed, 25 Jan 2023 13:02:29 +0530 Message-ID: <20230125073231.4007078-1-rkudurumalla@marvell.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221222013904.692922-1-rkudurumalla@marvell.com> References: <20221222013904.692922-1-rkudurumalla@marvell.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-GUID: Hak_Krr3leRU_fbNCXZt3XskcX3ekvmI X-Proofpoint-ORIG-GUID: Hak_Krr3leRU_fbNCXZt3XskcX3ekvmI X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.930,Hydra:6.0.562,FMLib:17.11.122.1 definitions=2023-01-25_04,2023-01-24_01,2022-06-22_01 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 Skip the congestion management configuration applied using rte_eth_cman_config_set() API on the given ethdev Rx queue. Signed-off-by: Rakesh Kudurumalla --- V2: Rename action name to skip congestion management lib/ethdev/rte_flow.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/lib/ethdev/rte_flow.h b/lib/ethdev/rte_flow.h index b60987db4b..e62b57acfd 100644 --- a/lib/ethdev/rte_flow.h +++ b/lib/ethdev/rte_flow.h @@ -2203,6 +2203,15 @@ enum rte_flow_action_type { */ RTE_FLOW_ACTION_TYPE_DROP, + /** + * Skip congestion management configuration + * + * Skip the congestion management configuration applied using + * rte_eth_cman_config_set() API on the given ethdev Rx queue. + * + */ + RTE_FLOW_ACTION_TYPE_SKIP_CMAN, + /** * Enables counters for this flow rule. * -- 2.25.1