mbox

[0/2] net/mlx5: copy the item flags from prefix flow

Message ID 1582122664-54731-1-git-send-email-suanmingm@mellanox.com (mailing list archive)
Headers

Message

Suanming Mou Feb. 19, 2020, 2:31 p.m. UTC
For flow split to several subflows, the match items maybe in the prefix
flow, and the actions are split to the suffix flow.

In this case, for the actions need the user defined match item will not
create correctly.

Copy the item layers flags to the suffix flow from prefix flow to fix
the issue.

This patch series should be applied after:
https://patches.dpdk.org/project/dpdk/list/?series=8613

Suanming Mou (2):
  net/mlx5: fix layer flags missing in metadata
  net/mlx5: fix lack of match information in meter

 drivers/net/mlx5/mlx5_flow.c    | 41 +++++++++++++++++++-------
 drivers/net/mlx5/mlx5_flow_dv.c | 64 +++++++++++++++++++++++++++++++----------
 2 files changed, 79 insertions(+), 26 deletions(-)