On Tue, Aug 8, 2023 at 2:20 PM Ankur Dwivedi <adwiv...@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 <adwiv...@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 <adwiv...@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 <adwiv...@marvell.com> commit d110c44d29e73b74834fb795ba18069635cdff6f Author: Ankur Dwivedi <adwiv...@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 <adwiv...@marvell.com>