[dpdk-stable] [PATCH 19.11] net/mlx5: fix tunnel flow priority
Luca Boccassi
bluca at debian.org
Tue Aug 11 19:57:21 CEST 2020
On Tue, 2020-08-11 at 15:20 +0300, Gregory Etelson wrote:
> [ upstream commit 750ff30a8fde522477babb0d4fcdc6fb9eb21fde ]
>
> 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.
>
> Fixes: 4a78c88e3bae ("net/mlx5: fix Verbs flow tunnel")
>
> Signed-off-by: Gregory Etelson <getelson at nvidia.com>
> Acked-by: Ori Kam <orika at nvidia.com>
> ---
> drivers/net/mlx5/mlx5_flow_verbs.c | 17 +++++++++++++----
> 1 file changed, 13 insertions(+), 4 deletions(-)
Thank you, applied and pushed.
--
Kind regards,
Luca Boccassi
More information about the stable
mailing list