[dpdk-dev] [PATCH v2 8/9] net/mlx5: support shared age action

Raslan Darawsheh rasland at nvidia.com
Mon Nov 2 10:33:34 CET 2020


Hi,
> -----Original Message-----
> From: dev <dev-bounces at dpdk.org> On Behalf Of Matan Azrad
> Sent: Monday, November 2, 2020 8:17 AM
> To: Matan Azrad <matan at nvidia.com>; Slava Ovsiienko
> <viacheslavo at nvidia.com>
> Cc: dev at dpdk.org
> Subject: Re: [dpdk-dev] [PATCH v2 8/9] net/mlx5: support shared age action
> 
> Hi Self note
> 
> From: Matan Azrad:
> > Add support for rte_flow shared action API for ASO age action.
> >
> > First step here to support validate, create, query and destroy.
> >
> > The support is only for age ASO mode.
> >
> > Signed-off-by: Matan Azrad <matan at nvidia.com>
> > Acked-by: Dekel Peled <dekelp at nvidia.com>
> > ---
> >  drivers/net/mlx5/mlx5.h         |   1 +
> >  drivers/net/mlx5/mlx5_defs.h    |   2 +-
> >  drivers/net/mlx5/mlx5_flow.c    |  61 ++++++++++++++--
> >  drivers/net/mlx5/mlx5_flow.h    |  11 +++
> >  drivers/net/mlx5/mlx5_flow_dv.c | 155
> +++++++++++++++++++++++++++++----

[...]
> >  				&shared_rss->origin;
> >  			break;
> > +		case MLX5_SHARED_ACTION_TYPE_AGE:
> > +			if (priv->sh->flow_hit_aso_en) {
> > +				translated[shared->index].type =
> 
> In order not get a warning in compilation for some gcc versions need to add
> this conversion to the enum below:
> (enum rte_flow_action_type)
> 
> 
> Raslan, let me know if you need more version for all the series for this, or you
> can do it in integration time....
> 
It's OK I'll update it during integration, 

[...]
Kindest regards
Raslan Darawsheh


More information about the dev mailing list