Add the insertion type and hash calculation function of a template table. Support the new rte_flow_async_create_by_index() Flow API to allow flow rules insertion into a specified index of index-based template tables. Set MLX5_LINEAR_HASH_TAG_INDEX as a special id for specifiyng the index. Allow to retrieve the hash calculation result via modify_field Flow API.
Flow API changes: https://patchwork.dpdk.org/project/dpdk/cover/20230121052158.2928238-1-akozy...@nvidia.com/ Alexander Kozyrev (4): net/mlx5: add table insertion type and hash function net/mlx5: add flow rule insertion by index net/mlx5: add hash result metadata to modify field net/mlx5: define index register for linear tables drivers/net/mlx5/mlx5_flow.c | 61 +++++++++++++ drivers/net/mlx5/mlx5_flow.h | 15 +++ drivers/net/mlx5/mlx5_flow_dv.c | 18 +++- drivers/net/mlx5/mlx5_flow_hw.c | 157 +++++++++++++++++++++++++++++++- drivers/net/mlx5/rte_pmd_mlx5.h | 5 + 5 files changed, 249 insertions(+), 7 deletions(-) -- 2.18.2