This patch set adds the support for encap hash calculation.

It is based on RFC:
https://patchwork.dpdk.org/project/dpdk/patch/20231210083100.7893-1-or...@nvidia.com/

Hamdan Igbaria (1):
  net/mlx5/hws: introduce encap entropy hash calculation API

Ori Kam (3):
  ethdev: introduce encap hash calculation
  net/mlx5: add calc encap hash support
  app/testpmd: add encap hash calculation

 app/test-pmd/cmdline_flow.c                 | 57 +++++++++++++--
 app/test-pmd/config.c                       | 30 ++++++++
 app/test-pmd/testpmd.h                      |  3 +
 doc/guides/prog_guide/rte_flow.rst          | 22 ++++++
 doc/guides/rel_notes/release_24_03.rst      |  4 ++
 doc/guides/testpmd_app_ug/testpmd_funcs.rst | 21 +++++-
 drivers/common/mlx5/mlx5_prm.h              |  8 ++-
 drivers/net/mlx5/hws/mlx5dr.h               | 38 ++++++++++
 drivers/net/mlx5/hws/mlx5dr_cmd.c           | 23 ++++++
 drivers/net/mlx5/hws/mlx5dr_cmd.h           |  4 ++
 drivers/net/mlx5/hws/mlx5dr_crc32.c         | 78 +++++++++++++++++++++
 drivers/net/mlx5/hws/mlx5dr_crc32.h         |  5 ++
 drivers/net/mlx5/mlx5_flow.c                | 29 ++++++++
 drivers/net/mlx5/mlx5_flow.h                |  8 +++
 drivers/net/mlx5/mlx5_flow_hw.c             | 66 +++++++++++++++++
 lib/ethdev/rte_flow.c                       | 25 +++++++
 lib/ethdev/rte_flow.h                       | 50 +++++++++++++
 lib/ethdev/rte_flow_driver.h                |  5 ++
 lib/ethdev/version.map                      |  1 +
 19 files changed, 470 insertions(+), 7 deletions(-)

-- 
2.34.1

Reply via email to