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 43A4042B42; Fri, 19 May 2023 05:42:38 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4E50542B8B; Fri, 19 May 2023 05:42:33 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id 3444242D32 for ; Fri, 19 May 2023 05:42:32 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 34II2dkL012894 for ; Thu, 18 May 2023 20:42:31 -0700 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=cvLn6ablXB0H47R7G4jlRVc3O7KiSLgTztRKX+gXzpA=; b=IuA8+vNOh8oTN32eC4UrMGc2cRg9WHEvP9mKs4hePDFEGvoHXsvqYeLPYhDsBa18M0RI WBxONUsWQCJzLN5ecRcf6XE7fOs5x49NASpwGahrVgmzawUKdx0LRfM2eHYAf+ud7ZC5 w5+/qBzAgNwEGWCnhznUDbjuhA5Zsw9uILYm/q6BKAC4dJNvEg90lzD3g7ZpH4PGW5GL MqKK4L7jFkGt70/vJ5QCK9rZxu7jNW0+eVyQIqAgngyVESleRdNtvxtAmX0lZqpujE3H h9z8Wiw9kdeThOgvfYT4Ft6pZpBWcYNSNXucmWEzRSwnCuy6yBkgIlQNPiw5cwb8GKSw bA== Received: from dc5-exch01.marvell.com ([199.233.59.181]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3qn7jbedgj-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT) for ; Thu, 18 May 2023 20:42:31 -0700 Received: from DC5-EXCH02.marvell.com (10.69.176.39) by DC5-EXCH01.marvell.com (10.69.176.38) with Microsoft SMTP Server (TLS) id 15.0.1497.48; Thu, 18 May 2023 20:42:29 -0700 Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server id 15.0.1497.48 via Frontend Transport; Thu, 18 May 2023 20:42:29 -0700 Received: from satheeshpaullabpc.. (unknown [10.28.34.33]) by maili.marvell.com (Postfix) with ESMTP id 6BA563F7081; Thu, 18 May 2023 20:42:27 -0700 (PDT) From: To: Nithin Dabilpuram , Kiran Kumar K , Sunil Kumar Kori , Satha Rao CC: , Satheesh Paul Subject: [dpdk-dev] [PATCH 2/2] net/cnxk: support Tx queue flow pattern item Date: Fri, 19 May 2023 09:12:19 +0530 Message-ID: <20230519034219.2209868-2-psatheesh@marvell.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230519034219.2209868-1-psatheesh@marvell.com> References: <20230519034219.2209868-1-psatheesh@marvell.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-GUID: 3cfwPcbJuhhuZFGVLGdq0FU8-3QPh4Ur X-Proofpoint-ORIG-GUID: 3cfwPcbJuhhuZFGVLGdq0FU8-3QPh4Ur X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-05-19_01,2023-05-17_02,2023-02-09_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 From: Satheesh Paul Added support for Tx queue flow pattern item. Signed-off-by: Satheesh Paul Reviewed-by: Kiran Kumar K --- drivers/net/cnxk/cnxk_flow.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/net/cnxk/cnxk_flow.c b/drivers/net/cnxk/cnxk_flow.c index f13d8e5582..9595fe9386 100644 --- a/drivers/net/cnxk/cnxk_flow.c +++ b/drivers/net/cnxk/cnxk_flow.c @@ -58,7 +58,9 @@ const struct cnxk_rte_flow_term_info term[] = { [RTE_FLOW_ITEM_TYPE_RAW] = {ROC_NPC_ITEM_TYPE_RAW, sizeof(struct rte_flow_item_raw)}, [RTE_FLOW_ITEM_TYPE_MARK] = {ROC_NPC_ITEM_TYPE_MARK, - sizeof(struct rte_flow_item_mark)}}; + sizeof(struct rte_flow_item_mark)}, + [RTE_FLOW_ITEM_TYPE_TX_QUEUE] = {ROC_NPC_ITEM_TYPE_TX_QUEUE, + sizeof(struct rte_flow_item_tx_queue)}}; static int npc_rss_action_validate(struct rte_eth_dev *eth_dev, -- 2.39.2