[dpdk-stable] [PATCH 18.11] net/mlx5: improve flow item IP validation

Kevin Traynor ktraynor at redhat.com
Tue Dec 17 15:09:12 CET 2019


On 17/12/2019 07:27, Xiaoyu Min wrote:
> [ upstream commit fba3213015891c7ec9634e66bec5eb8eaed0d70a ]
> 
> 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")
> 
> Signed-off-by: Xiaoyu Min <jackmin at mellanox.com>
> Acked-by: Ori Kam <orika at mellanox.com>
> ---

Thanks, applied to 18.11 branch.



More information about the stable mailing list