[dpdk-dev] [PATCH] net/mlx5: fix rte flow items size calculation
Slava Ovsiienko
viacheslavo at mellanox.com
Sun Jul 19 10:26:22 CEST 2020
> -----Original Message-----
> From: dev <dev-bounces at dpdk.org> On Behalf Of Raslan Darawsheh
> Sent: Thursday, July 16, 2020 15:15
> To: dev at dpdk.org
> Cc: Dekel Peled <dekelp at mellanox.com>; stable at dpdk.org
> Subject: [dpdk-dev] [PATCH] net/mlx5: fix rte flow items size calculation
>
> flow_dv_get_item_len returns the actual header size of an rte_flow item.
>
> Changing any of the structs for rte_flow items by adding or removing some
> extra fields will break this function.
>
> This fixes the behavior by retrning the actual header size of each item.
>
> Fixes: 34d41b7aa3bf ("net/mlx5: add VXLAN encap action to Direct Verbs")
> Cc: dekelp at mellanox.com
> Cc: stable at dpdk.org
>
> Signed-off-by: Raslan Darawsheh <rasland at mellanox.com>
Acked-by: Viacheslav Ovsiienko <viacheslavo at mellanox.com>
More information about the dev
mailing list