[PATCH v1] common/cnxk: fix flow add in age flow list

Jerin Jacob jerinjacobk at gmail.com
Wed Oct 18 09:18:16 CEST 2023


On Tue, Oct 17, 2023 at 4:48 PM Ankur Dwivedi <adwivedi at marvell.com> wrote:
>
> While adding flow in npc_flow_list, the flow can be added before the
> current flow iterator. The function returns after adding this flow.
> This prevents flow to be added in age flow list correctly. This patch moves
> the addition of age flow list before npc_flow_list add to prevent the
> error. Also the flow is added or deleted to/from age flow list if the flow
> has age action.
>
> Fixes: 357f5ebc8a24 ("common/cnxk: support flow aging")
> Cc: stable at dpdk.org
>
> Signed-off-by: Ankur Dwivedi <adwivedi at marvell.com>

Updated the git commit as follows and applied to
dpdk-next-net-mrvl/for-next-net. Thanks


    common/cnxk: fix age flow list update

    While adding flow in npc_flow_list, the flow can be added before the
    current flow iterator. The function returns after adding this flow.
    This prevents flow to be added in age flow list correctly. This patch moves
    the addition of age flow list before npc_flow_list add to prevent the
    error. Also the flow is added or deleted to/from age flow list if the flow
    has age action.

    Fixes: 357f5ebc8a24 ("common/cnxk: support flow aging")
    Cc: stable at dpdk.org

    Signed-off-by: Ankur Dwivedi <adwivedi at marvell.com>


More information about the stable mailing list