[dpdk-dev] [PATCH] net/mlx5: fix tunnel PMD flow prioriry
Ori Kam
orika at mellanox.com
Thu Jul 16 10:48:00 CEST 2020
> -----Original Message-----
> From: Gregory Etelson <getelson at mellanox.com>
> Sent: Thursday, July 16, 2020 10:40 AM
> Subject: [PATCH] net/mlx5: fix tunnel PMD flow prioriry
>
> PMD flow priority is different from application flow priority. Flow
> rules with higher match granularity assigned higher PMD priority. Also
> PMD splits internally RSS flows according to flow RSS layer.
>
> Final PMD flow rule priority derived from the last match item network
> level, after PMD adjusts flow rule, where L4 match gets the highest
> priority and L2 the lowest.
>
> The patch adjusts tunnels flow rule priority calculation for PMDs
> running verb API.
>
> Introduce MLX5_TUNNEL_PRIO_GET macro.
>
> Fixes: 4a78c88e3bae ("net/mlx5: fix Verbs flow tunnel")
> Cc: stable at dpdk.org
>
Acked-by: Ori Kam <orika at mellanox.com>
Thanks,
Ori
More information about the dev
mailing list