[PATCH v1 1/2] net/mlx5: disallow duplicated tag index in pattern template

Ori Kam orika at nvidia.com
Wed May 17 19:11:14 CEST 2023


Hi Rongwei,

> -----Original Message-----
> From: Rongwei Liu <rongweil at nvidia.com>
> Sent: Tuesday, May 16, 2023 8:43 AM
> 
> Duplicated tag index in pattern template will most likely cause
> matching failures such as "template tag index is 0 data mask 0xff /
> tag index is 0 data mask 0xffff / end"
> 
> If the upper layer application needs to match the same tag twice
> with different masks, it should be consolidated into one rte_item
> with the desired mask.
> 
> "template tag index is 0 data mask 0xff / tag index is 0 data mask
> 0xff00 / end" should be present as "template tag index is 0 data mask
> 0xffff / end"
> 
> Cc: stable at dpdk.org
> Signed-off-by: Rongwei Liu <rongweil at nvidia.com>
> Acked-by: Viacheslav Ovsiienko <viacheslavo at nvidia.com>
> ---

Acked-by: Ori Kam <orika at nvidia.com>


More information about the stable mailing list