[dpdk-dev] [PATCH 0/2] net/mlx5: fix incorrect layer choose with decap

Suanming Mou suanmingm at mellanox.com
Wed Feb 19 15:26:18 CET 2020

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(-)


More information about the dev mailing list