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

Jack Min jackmin at mellanox.com
Mon Nov 11 11:53:47 CET 2019


On Mon, 19-11-11, 10:42, 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>
Acked-by: Xiaoyu Min <jackmin at mellanox.com>


More information about the dev mailing list