mbox series

[0/2] net/mlx5: fix incorrect layer choose with decap

Message ID 1582122380-54467-1-git-send-email-suanmingm@mellanox.com (mailing list archive)
Headers
Series net/mlx5: fix incorrect layer choose with decap |

Message

Suanming Mou Feb. 19, 2020, 2:26 p.m. UTC
  For header modify actions after decapsulation action, the header modify
actions should be applied to the inner layers.

Currently, it always treats the outermost layers as the corresponding
layer even though with decapsulation action.

Add the layer validation with decapsulation for the header modify action
and fix the incorrect layers chosen in header modify action with
decapsulation action.

Suanming Mou (2):
  net/mlx5: fix wrong layer validation with decapsulation
  net/mlx5: fix header modifiy choose wrong layer type

 drivers/net/mlx5/mlx5_flow_dv.c | 104 +++++++++++++++++++++++++++++++++-------
 1 file changed, 87 insertions(+), 17 deletions(-)
  

Comments

Raslan Darawsheh Feb. 20, 2020, 11:26 a.m. UTC | #1
Hi,

> -----Original Message-----
> From: Suanming Mou <suanmingm@mellanox.com>
> Sent: Wednesday, February 19, 2020 4:26 PM
> To: Slava Ovsiienko <viacheslavo@mellanox.com>; Matan Azrad
> <matan@mellanox.com>
> Cc: dev@dpdk.org; Raslan Darawsheh <rasland@mellanox.com>
> Subject: [PATCH 0/2] net/mlx5: fix incorrect layer choose with decap
> 
> For header modify actions after decapsulation action, the header modify
> actions should be applied to the inner layers.
> 
> Currently, it always treats the outermost layers as the corresponding
> layer even though with decapsulation action.
> 
> Add the layer validation with decapsulation for the header modify action
> and fix the incorrect layers chosen in header modify action with
> decapsulation action.
> 
> Suanming Mou (2):
>   net/mlx5: fix wrong layer validation with decapsulation
>   net/mlx5: fix header modifiy choose wrong layer type
> 
>  drivers/net/mlx5/mlx5_flow_dv.c | 104
> +++++++++++++++++++++++++++++++++-------
>  1 file changed, 87 insertions(+), 17 deletions(-)
> 
> --
> 1.8.3.1


Series applied to next-net-mlx,

Kindest regards,
Raslan Darawsheh