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

Ori Kam orika at mellanox.com
Mon Nov 11 18:41:42 CET 2019



> -----Original Message-----
> From: dev <dev-bounces at dpdk.org> On Behalf Of Matan Azrad
> Sent: Monday, November 11, 2019 12:42 PM
> To: dev at dpdk.org
> Cc: Ori Kam <orika at mellanox.com>; Jack Min <jackmin at mellanox.com>
> Subject: [dpdk-dev] [PATCH] ethdev: fix last item detection on RSS flow
> expand
> 
> 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>
> ---

Acked-by: Ori Kam <orika at mellanox.com>
Thanks,
Ori


More information about the dev mailing list