[dpdk-dev] [PATCH] ethdev: fix last item detection on RSS flow expand

Ori Kam orika at mellanox.com
Mon Nov 11 22:36:28 CET 2019


Checked and acked.
Best,
Ori

> -----Original Message-----
> From: Ferruh Yigit <ferruh.yigit at intel.com>
> Sent: Monday, November 11, 2019 7:14 PM
> To: Matan Azrad <matan at mellanox.com>; dev at dpdk.org
> Cc: Ori Kam <orika at mellanox.com>; Jack Min <jackmin at mellanox.com>
> Subject: Re: [dpdk-dev] [PATCH] ethdev: fix last item detection on RSS flow
> expand
> 
> On 11/11/2019 10:42 AM, Matan Azrad wrote:
> > There is a rte_flow API which expands a RSS flow pattern to multipile
> > patterns according to the RSS hash types in the RSS action
> > configuration.
> >
> > Aa part of the expansion, detection of the last item of the flow uses
> > the "next proto" field of the last configured item in the pattern list.
> > Wrongly, the mask of this field was not considered in order to validate
> > the field.
> >
> > Ignore "next proto" fields when their corresponded masks invalidate them.
> >
> > Fixes: ec84aa45f17b ("ethdev: fix expand RSS flows")
> > Cc: jackmin at mellanox.com
> >
> > Signed-off-by: Matan Azrad <matan at mellanox.com>
> 
> Hi Ori,
> 
> Can you check this one please?



More information about the dev mailing list