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 B221A42B87; Wed, 24 May 2023 06:54:04 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5576C42BDA; Wed, 24 May 2023 06:54:02 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id 6073F42C54 for ; Wed, 24 May 2023 06:54:00 +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 34O4qLuu025096; Tue, 23 May 2023 21:53:58 -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=uBj92U5VvV+mFmizAql1cNl8JY2m9bX/Ve/G17cMO4A=; b=QjXotFuGfaAXdDz3hOxP6nNidXJAU1L13clMBz7+clNA1CH0C+yHB5Mtse77m52MHO5N 1dsp1DL0Uj4dtp0YZcHrd0SI5IJh6djMp/2TYzCRTR4ftMzv628nVB0EHNpVc5gVm9vd n4edALYL9S0XYJ/zaNqRlxIVm2yW503vEEXIhX7AwBkEI3qGiku/25vPzr1qNgKEj5w7 ORSCe1X/I8NFzLPFgfDivnsQ5QnoIbiU2DfKZQyV4Z3k3frdjIldJWH60B2VNM54GawH tqftdr11+zTAsnqDPsA5peG0+u4OlUAAn/2oq3TpH4UJoX7hRhAOM8IyjGjmXiWbQRDj gw== Received: from dc5-exch01.marvell.com ([199.233.59.181]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3qsbxer04w-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Tue, 23 May 2023 21:53:58 -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; Tue, 23 May 2023 21:53:56 -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; Tue, 23 May 2023 21:53:56 -0700 Received: from satheeshpaullabpc.. (unknown [10.28.34.33]) by maili.marvell.com (Postfix) with ESMTP id 708343F703F; Tue, 23 May 2023 21:53:54 -0700 (PDT) From: To: Nithin Dabilpuram , Kiran Kumar K , Sunil Kumar Kori , Satha Rao , Ferruh Yigit CC: , Satheesh Paul Subject: [dpdk-dev] [PATCH v2 2/2] net/cnxk: support Tx queue flow pattern item Date: Wed, 24 May 2023 10:23:46 +0530 Message-ID: <20230524045346.2477489-2-psatheesh@marvell.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230524045346.2477489-1-psatheesh@marvell.com> References: <20230519034219.2209868-1-psatheesh@marvell.com> <20230524045346.2477489-1-psatheesh@marvell.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-ORIG-GUID: rEvC2qPXumAEac11iLCLeYKKbC-oY1pQ X-Proofpoint-GUID: rEvC2qPXumAEac11iLCLeYKKbC-oY1pQ X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.573,FMLib:17.11.176.26 definitions=2023-05-24_02,2023-05-23_02,2023-05-22_02 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 --- doc/guides/nics/features/cnxk.ini | 1 + doc/guides/nics/features/cnxk_vec.ini | 1 + doc/guides/nics/features/cnxk_vf.ini | 1 + doc/guides/nics/features/default.ini | 1 + drivers/net/cnxk/cnxk_flow.c | 4 +++- 5 files changed, 7 insertions(+), 1 deletion(-) diff --git a/doc/guides/nics/features/cnxk.ini b/doc/guides/nics/features/cnxk.ini index 7947c044bb..838e781d6d 100644 --- a/doc/guides/nics/features/cnxk.ini +++ b/doc/guides/nics/features/cnxk.ini @@ -73,6 +73,7 @@ nvgre = Y raw = Y sctp = Y tcp = Y +tx_queue = Y udp = Y vlan = Y vxlan = Y diff --git a/doc/guides/nics/features/cnxk_vec.ini b/doc/guides/nics/features/cnxk_vec.ini index 5d0976e6ce..e2cac64e4b 100644 --- a/doc/guides/nics/features/cnxk_vec.ini +++ b/doc/guides/nics/features/cnxk_vec.ini @@ -68,6 +68,7 @@ nvgre = Y raw = Y sctp = Y tcp = Y +tx_queue = Y udp = Y vlan = Y vxlan = Y diff --git a/doc/guides/nics/features/cnxk_vf.ini b/doc/guides/nics/features/cnxk_vf.ini index 873e1dcc0a..470c45ce59 100644 --- a/doc/guides/nics/features/cnxk_vf.ini +++ b/doc/guides/nics/features/cnxk_vf.ini @@ -64,6 +64,7 @@ nvgre = Y raw = Y sctp = Y tcp = Y +tx_queue = Y udp = Y vlan = Y vxlan = Y diff --git a/doc/guides/nics/features/default.ini b/doc/guides/nics/features/default.ini index 1a5087abad..52a57d0805 100644 --- a/doc/guides/nics/features/default.ini +++ b/doc/guides/nics/features/default.ini @@ -142,6 +142,7 @@ represented_port = sctp = tag = tcp = +tx_queue = udp = vlan = vxlan = 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