From: Jerin Jacob <jerinjacobk@gmail.com>
To: Ankur Dwivedi <adwivedi@marvell.com>
Cc: dev@dpdk.org, jerinj@marvell.com, ndabilpuram@marvell.com,
kirankumark@marvell.com, skori@marvell.com,
skoteshwar@marvell.com
Subject: Re: [PATCH v2 1/2] common/cnxk: add support to get aged flows
Date: Mon, 14 Aug 2023 12:26:49 +0530 [thread overview]
Message-ID: <CALBAE1OywcTMYz0iqZFBc7VXfac7p3anbGdzZS+=rAer=cGbpA@mail.gmail.com> (raw)
In-Reply-To: <20230808084952.2460758-2-adwivedi@marvell.com>
On Tue, Aug 8, 2023 at 2:20 PM Ankur Dwivedi <adwivedi@marvell.com> wrote:
>
> Adds support to get aged flows in CNXK driver.
> The control thread polls the status of flows having age action, every 10
> seconds and updates a bitmap array with the aged flows. The poll frequency
> of control thread can be set by devargs.
>
> Signed-off-by: Ankur Dwivedi <adwivedi@marvell.com>
> ---
> drivers/common/cnxk/meson.build | 1 +
> drivers/common/cnxk/roc_mbox.h | 27 +++
> drivers/common/cnxk/roc_npc.c | 22 ++
> drivers/common/cnxk/roc_npc.h | 28 +++
> drivers/common/cnxk/roc_npc_aging.c | 315 ++++++++++++++++++++++++++++
> drivers/common/cnxk/roc_npc_priv.h | 17 ++
> drivers/common/cnxk/roc_platform.h | 8 +
> drivers/common/cnxk/version.map | 1 +
> 8 files changed, 419 insertions(+)
> create mode 100644 drivers/common/cnxk/roc_npc_aging.c
Updated the release notes as
diff --git a/doc/guides/rel_notes/release_23_11.rst
b/doc/guides/rel_notes/release_23_11.rst
index 5b01a52593..10d4484685 100644
--- a/doc/guides/rel_notes/release_23_11.rst
+++ b/doc/guides/rel_notes/release_23_11.rst
@@ -58,6 +58,7 @@ New Features
* **Updated Marvell cnxk ethdev driver.**
* Added support for ``RTE_FLOW_ITEM_TYPE_IPV6_ROUTING_EXT`` flow item.
+ * Added support for ``RTE_FLOW_ACTION_TYPE_AGE`` flow action.
Updated the git commit as follows and applied to
dpdk-next-net-mrvl/for-next-net. Thanks
commit ebee383fbe9a0ca25e083d26d9b251cb0310a5d2 (HEAD -> for-next-net)
Author: Ankur Dwivedi <adwivedi@marvell.com>
Date: Tue Aug 8 14:19:52 2023 +0530
net/cnxk: support flow aging
Support get flow aged ops in cnxk ethdev driver.
Also adds the devargs to get the poll frequency of control thread.
Signed-off-by: Ankur Dwivedi <adwivedi@marvell.com>
commit d110c44d29e73b74834fb795ba18069635cdff6f
Author: Ankur Dwivedi <adwivedi@marvell.com>
Date: Tue Aug 8 14:19:51 2023 +0530
common/cnxk: support flow aging
Added support to get aged flows in base code. The control thread
polls the status of flows having age action, every 10 seconds and
updates a bitmap array with the aged flows. The poll frequency
of control thread can be set by devargs.
Signed-off-by: Ankur Dwivedi <adwivedi@marvell.com>
next prev parent reply other threads:[~2023-08-14 6:57 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-27 11:59 [PATCH v1 0/2] add support for flow aging in CNXK driver Ankur Dwivedi
2023-07-27 11:59 ` [PATCH v1 1/2] common/cnxk: add support to get aged flows Ankur Dwivedi
2023-07-27 11:59 ` [PATCH v1 2/2] net/cnxk: add get flow aged ops Ankur Dwivedi
2023-08-08 8:49 ` [PATCH v2 0/2] add support for flow aging in CNXK driver Ankur Dwivedi
2023-08-08 8:49 ` [PATCH v2 1/2] common/cnxk: add support to get aged flows Ankur Dwivedi
2023-08-14 6:56 ` Jerin Jacob [this message]
2023-09-28 8:13 ` Jerin Jacob
2023-09-28 13:49 ` [EXT] " Ankur Dwivedi
2023-08-08 8:49 ` [PATCH v2 2/2] net/cnxk: add get flow aged ops Ankur Dwivedi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CALBAE1OywcTMYz0iqZFBc7VXfac7p3anbGdzZS+=rAer=cGbpA@mail.gmail.com' \
--to=jerinjacobk@gmail.com \
--cc=adwivedi@marvell.com \
--cc=dev@dpdk.org \
--cc=jerinj@marvell.com \
--cc=kirankumark@marvell.com \
--cc=ndabilpuram@marvell.com \
--cc=skori@marvell.com \
--cc=skoteshwar@marvell.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).