[dpdk-dev] [PATCH v3 0/2] net/mlx5: copy the item flags from prefix flow

Suanming Mou suanmingm at mellanox.com
Thu Feb 20 14:53:42 CET 2020

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:

Remove the actions flag inherit. Get the layer flags accordingly
based on the actions in prefix flow.

Fix NULL pointer issue.

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    | 74 +++++++++++++++++++++++++++++++++++------
 drivers/net/mlx5/mlx5_flow_dv.c | 59 +++++++++++++++++++++++---------
 2 files changed, 107 insertions(+), 26 deletions(-)


More information about the dev mailing list