[dpdk-dev] [PATCH] net/mlx5: improve flow item IP validation
Raslan Darawsheh
rasland at mellanox.com
Thu Nov 7 14:49:27 CET 2019
Hi,
> -----Original Message-----
> From: dev <dev-bounces at dpdk.org> On Behalf Of Xiaoyu Min
> Sent: Tuesday, November 5, 2019 9:51 AM
> To: Matan Azrad <matan at mellanox.com>; Shahaf Shuler
> <shahafs at mellanox.com>; Slava Ovsiienko <viacheslavo at mellanox.com>
> Cc: dev at dpdk.org; stable at dpdk.org; Ori Kam <orika at mellanox.com>
> Subject: [dpdk-dev] [PATCH] net/mlx5: improve flow item IP validation
>
> Currently PMD doesn't check whether the user specified ethernet type is
> conflicting with the followed IPv4/IPv6 items, which leads to HW refuse
> to create rule, for example:
>
> ... pattern eth type is 0x86dd / ipv4 / end ...
>
> ethernet type is IPv6 but IPv4 is following, this should be validated
> as failure and report corresponding error in detail.
>
> Fixes: 23c1d42c7138 ("net/mlx5: split flow validation to dedicated function")
> Cc: stable at dpdk.org
>
> Signed-off-by: Xiaoyu Min <jackmin at mellanox.com>
> Acked-by: Ori Kam <orika at mellanox.com>
> ---
Patch applied to next-net-mlx,
Kindest regards,
Raslan Darawsheh
More information about the dev
mailing list