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 5B9A642B8E; Wed, 24 May 2023 16:20:34 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id EE8864067E; Wed, 24 May 2023 16:20:33 +0200 (CEST) Received: from mail-vk1-f181.google.com (mail-vk1-f181.google.com [209.85.221.181]) by mails.dpdk.org (Postfix) with ESMTP id 0284240156 for ; Wed, 24 May 2023 16:20:31 +0200 (CEST) Received: by mail-vk1-f181.google.com with SMTP id 71dfb90a1353d-456e4f4ea83so379852e0c.3 for ; Wed, 24 May 2023 07:20:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1684938031; x=1687530031; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=lHc3VmDG3/27A8oBUlGCM+srOtKvJGzQTGt8kp+lxR4=; b=TEo9F8bK3yAbGEZvr5sNS+pymb5x2S6iT2dM74O0Mx/RDdYnxwF7D0J2P7y53Q94R+ TJaNHACivX3K6Su9hCHIWgqwKYjDCi1Te/Z1J8xKHMuIE07b95DJQD3tIju+oYKj0HFP 51jh2/wIDybw2BNurm6roW0cmAsum6TFU6TZYmbq7Eemxfew5oHnl7VGleCa5dwgiRvN 3VqwO3LIxCwVNaG8l1rEFKkoPyjIBuo1yBcRV/n4z4IH7Ysl/8kIuRB7nfN/439vWt1h TWL3zpZ7PPbUqxZ46Ft5iIou0EEEbAdkh7uvPQlYO62wQSORUrLDmI8cwtbP2bBoEhM8 WRbA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684938031; x=1687530031; h=content-transfer-encoding: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=lHc3VmDG3/27A8oBUlGCM+srOtKvJGzQTGt8kp+lxR4=; b=HbiZyDk8vcDnbIPDySaDXby82agbn35msmoAuW/SO1TmmA558NOHw5Q65P+rnRk5St mvacBhVjH+st1uAtZh63WnlZDJYB0K0UQyHzCEbQiFaYwSGGjIQ24rXil7kXXVGCRS3Q cYsyTv9hulYm3A+s2krFWKdBgkjcQ5vt3uyIN3tcGWp6JMQ8l6oOH4D3Lo7kD/9HRbuv GdOX4IE1y4xw7t3hDrqxT5xOJHHgY3AEXhRrBI+L/lln1bb0E8vVK1wn8Ra9/iBhJFfL BOkUHK69ZSFYB/up+5mIgBYdS+0rEExWAAr2x5CTT/fwQ1Auj/hu24oUlt3xjhZ/0nNw z57g== X-Gm-Message-State: AC+VfDy/A0LW/qkcjWTv4atfCM/C8wy2deN3zs+7R2T6x55DMsjxPxp3 uPnNciX7gYnPvSut6Bu6d4FH3qIF/sc7etBPEuI= X-Google-Smtp-Source: ACHHUZ6vR6TMrE/IaSvRh11b22F3jAjBp3/MflEX0Q8F7PXNoWYhOM+PZXTl05S6ZONlRZyv7Zd/cVQIYM+xgnRN5MA= X-Received: by 2002:a1f:5e07:0:b0:457:400a:f3fc with SMTP id s7-20020a1f5e07000000b00457400af3fcmr4291681vkb.2.1684938030485; Wed, 24 May 2023 07:20:30 -0700 (PDT) MIME-Version: 1.0 References: <20230519034219.2209868-1-psatheesh@marvell.com> <20230524045346.2477489-1-psatheesh@marvell.com> <20230524045346.2477489-2-psatheesh@marvell.com> In-Reply-To: <20230524045346.2477489-2-psatheesh@marvell.com> From: Jerin Jacob Date: Wed, 24 May 2023 19:50:04 +0530 Message-ID: Subject: Re: [dpdk-dev] [PATCH v2 2/2] net/cnxk: support Tx queue flow pattern item To: psatheesh@marvell.com Cc: Nithin Dabilpuram , Kiran Kumar K , Sunil Kumar Kori , Satha Rao , Ferruh Yigit , dev@dpdk.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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, May 24, 2023 at 10:24=E2=80=AFAM wrote: > > From: Satheesh Paul > > Added support for Tx queue flow pattern item. > > Signed-off-by: Satheesh Paul > Reviewed-by: Kiran Kumar K Series applied to dpdk-next-net-mrvl/for-next-net. Thanks > --- > 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 =3D Y > raw =3D Y > sctp =3D Y > tcp =3D Y > +tx_queue =3D Y > udp =3D Y > vlan =3D Y > vxlan =3D Y > diff --git a/doc/guides/nics/features/cnxk_vec.ini b/doc/guides/nics/feat= ures/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 =3D Y > raw =3D Y > sctp =3D Y > tcp =3D Y > +tx_queue =3D Y > udp =3D Y > vlan =3D Y > vxlan =3D Y > diff --git a/doc/guides/nics/features/cnxk_vf.ini b/doc/guides/nics/featu= res/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 =3D Y > raw =3D Y > sctp =3D Y > tcp =3D Y > +tx_queue =3D Y > udp =3D Y > vlan =3D Y > vxlan =3D Y > diff --git a/doc/guides/nics/features/default.ini b/doc/guides/nics/featu= res/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 =3D > sctp =3D > tag =3D > tcp =3D > +tx_queue =3D > udp =3D > vlan =3D > vxlan =3D > 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[] =3D { > [RTE_FLOW_ITEM_TYPE_RAW] =3D {ROC_NPC_ITEM_TYPE_RAW, > sizeof(struct rte_flow_item_raw)}, > [RTE_FLOW_ITEM_TYPE_MARK] =3D {ROC_NPC_ITEM_TYPE_MARK, > - sizeof(struct rte_flow_item_mark)}}; > + sizeof(struct rte_flow_item_mark)}, > + [RTE_FLOW_ITEM_TYPE_TX_QUEUE] =3D {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 >