[dpdk-dev] [PATCH v2] net/mlx5: fix Direct Verbs flow matcher caching

Ferruh Yigit ferruh.yigit at intel.com
Tue Oct 9 16:52:13 CEST 2018


On 10/4/2018 9:39 PM, Thomas Monjalon wrote:
> 04/10/2018 07:53, Ori Kam:
>> The Direct Verbs are using matcher object to filter flows, This object
>> can be reused for all flows that are using the same flow items and
>> masks.
>>
>> This was implemented with an issue, that the list pointer pointed
>> to incorrect list type, this resulted in compilation error when using
>> GCC greater then 4.8.5
>>
>> This commit fixes this issue by setting that the matcher object
>> will include the LIST required members directly and not as a subobject.
>>
>> Fixes: 8d21c3d7b237 ("net/mlx5: add Direct Verbs translate items")
>>
>> Signed-off-by: Ori Kam <orika at mellanox.com>
>> Acked-by: Yongseok Koh <yskoh at mellanox.com>
> 
> applied to dpdk-next-net-mlx

Squashed into relevant commit in next-net, thanks.

But since this patch touches more than what it claims fixing [1], it took some
effort, final output of conflict resolving looks OK but please confirm top of
next-net.


[1]
net/mlx5: add Direct Verbs final functions
net/mlx5: add Direct Verbs translate items
net/mlx5: add Direct Verbs prepare function


More information about the dev mailing list