Hi,
> -Original Message-
> From: Raslan Darawsheh
> Sent: Thursday, July 16, 2020 3:15 PM
> To: dev@dpdk.org
> Cc: Dekel Peled ; sta...@dpdk.org
> Subject: [PATCH] net/mlx5: fix rte flow items size calculation
>
> flow_dv_get_item_len returns the actual header size of
> an rte_flow item.
> -Original Message-
> From: dev On Behalf Of Raslan Darawsheh
> Sent: Thursday, July 16, 2020 15:15
> To: dev@dpdk.org
> Cc: Dekel Peled ; sta...@dpdk.org
> Subject: [dpdk-dev] [PATCH] net/mlx5: fix rte flow items size calculation
>
> flow_dv_get_item_len return
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 V
3 matches
Mail list logo