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

Ferruh Yigit ferruh.yigit at intel.com
Tue Nov 12 02:02:35 CET 2019


On 11/11/2019 5:41 PM, Ori Kam wrote:
> 
> 
>> -----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>

Applied to dpdk-next-net/master, thanks.


More information about the dev mailing list