mbox series

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

Message ID 1582171244-84418-1-git-send-email-suanmingm@mellanox.com (mailing list archive)
Headers
Series net/mlx5: copy the item flags from prefix flow |

Message

Suanming Mou Feb. 20, 2020, 4 a.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

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

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