Tuesday, October 23, 2018 1:48 PM, Dekel Peled: > Subject: [PATCH v6] net/mlx5: support metadata as flow rule criteria > > As described in series starting at [1], it adds option to set metadata value > as > match pattern when creating a new flow rule. > > This patch adds metadata support in mlx5 driver, in two parts: > - Add the validation and setting of metadata value in matcher, > when creating a new flow rule. > - Add the passing of metadata value from mbuf to wqe when > indicated by ol_flag, in different burst functions. > > [1] "ethdev: support metadata as flow rule criteria" > http://mails.dpdk.org/archives/dev/2018-September/113269.html > > --- > v6: > - Correct indentation. > - Fix setting data in matcher to include mask. > v5: > Apply code review comments: > Coding style (indentation, redundant blank lines, clear comments). > txq_calc_offload() logic updated. > rte_be32_t type used instead of uint32_t. > v4: > - Rebase. > - Apply code review comments. > v3: > - Update meta item validation. > v2: > - Split the support of egress rules to a different patch. > --- > > Signed-off-by: Dekel Peled <dek...@mellanox.com> > ---
Applied to next-net-mlx, thanks.