[dpdk-dev] [PATCH] net/mlx5: fix setting of item flags bitmap

Raslan Darawsheh rasland at mellanox.com
Sun Jul 21 09:53:31 CEST 2019


Hi,

> -----Original Message-----
> From: dev <dev-bounces at dpdk.org> On Behalf Of Dekel Peled
> Sent: Thursday, July 18, 2019 10:42 PM
> To: Yongseok Koh <yskoh at mellanox.com>; Slava Ovsiienko
> <viacheslavo at mellanox.com>; Shahaf Shuler <shahafs at mellanox.com>
> Cc: Jack Min <jackmin at mellanox.com>; Ori Kam <orika at mellanox.com>;
> dev at dpdk.org
> Subject: [dpdk-dev] [PATCH] net/mlx5: fix setting of item flags bitmap
> 
> In functions flow_dv_translate() and  flow_dv_validate(), the flow
> items are scanned and each item is marked in item_flags bitmap.
> The code handling some of the items was ported from another project,
> where items are marked in a slightley different manner.
> 
> This patch fixes the setting of items in bitmap, adapting it to the
> required manner.
> 
> Fixes: d53aa89aea91 ("net/mlx5: support matching on ICMP/ICMP6")
> Fixes: 1242041c5601 ("net/mlx5: match GRE key and present bits")
> Fixes: 2e4c987aad91 ("net/mlx5: validate Direct Rule E-Switch")
> 
> Signed-off-by: Dekel Peled <dekelp at mellanox.com>
> ---
>  drivers/net/mlx5/mlx5_flow_dv.c | 14 +++++++-------
>  1 file changed, 7 insertions(+), 7 deletions(-)
> 

Applied to next-net-mlx,

Kindest regards
Raslan Darawsheh


More information about the dev mailing list