A new ASO (Advanced Steering Operation) feature was added in the last mlx5 adapters to support flow hit detection.
Using this new steering action, the driver can detect flow traffic hit and to reset this indication any time. Add support for flow aging action in rte_flow using this new feature. The counter aging mode will be taken only when the ASO feature is not supported. v2: - rebase. - fix refcnt issue with rss action. - allow group 0 use counter base age action. - cosmetics. Dekel Peled (6): common/mlx5: add DevX API to create ASO flow hit object common/mlx5: use general object type for cap index common/mlx5: add read ASO flow hit HCA capability common/mlx5: add glue func create flow hit action common/mlx5: add definitions for ASO flow hit net/mlx5: support flow hit action for aging Matan Azrad (3): net/mlx5: optimize shared RSS action memory net/mlx5: support shared age action net/mlx5: allow age modes combination drivers/common/mlx5/linux/meson.build | 4 + drivers/common/mlx5/linux/mlx5_glue.c | 16 + drivers/common/mlx5/linux/mlx5_glue.h | 3 + drivers/common/mlx5/mlx5_devx_cmds.c | 48 +++ drivers/common/mlx5/mlx5_devx_cmds.h | 5 + drivers/common/mlx5/mlx5_prm.h | 98 ++++- drivers/common/mlx5/version.map | 1 + drivers/net/mlx5/linux/mlx5_os.c | 11 + drivers/net/mlx5/meson.build | 1 + drivers/net/mlx5/mlx5.c | 102 ++++++ drivers/net/mlx5/mlx5.h | 102 +++++- drivers/net/mlx5/mlx5_defs.h | 2 +- drivers/net/mlx5/mlx5_flow.c | 192 ++++++---- drivers/net/mlx5/mlx5_flow.h | 36 +- drivers/net/mlx5/mlx5_flow_age.c | 667 ++++++++++++++++++++++++++++++++++ drivers/net/mlx5/mlx5_flow_dv.c | 592 ++++++++++++++++++++++++------ 16 files changed, 1672 insertions(+), 208 deletions(-) create mode 100644 drivers/net/mlx5/mlx5_flow_age.c -- 1.8.3.1