From: Matan Azrad <matan@nvidia.com> To: Viacheslav Ovsiienko <viacheslavo@nvidia.com> Cc: dev@dpdk.org Subject: [dpdk-dev] [PATCH 0/8] net/mlx5: support flow hit steering action Date: Thu, 29 Oct 2020 21:57:53 +0000 Message-ID: <1604008681-414157-1-git-send-email-matan@nvidia.com> (raw) 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. 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 (2): net/mlx5: optimize shared RSS action memory net/mlx5: support shared age action 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 | 82 +++++ drivers/net/mlx5/mlx5.h | 103 +++++- drivers/net/mlx5/mlx5_flow.c | 181 +++++---- drivers/net/mlx5/mlx5_flow.h | 36 +- drivers/net/mlx5/mlx5_flow_age.c | 675 ++++++++++++++++++++++++++++++++++ drivers/net/mlx5/mlx5_flow_dv.c | 592 +++++++++++++++++++++++------ 15 files changed, 1651 insertions(+), 205 deletions(-) create mode 100644 drivers/net/mlx5/mlx5_flow_age.c -- 1.8.3.1
next reply other threads:[~2020-10-29 21:58 UTC|newest] Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top 2020-10-29 21:57 Matan Azrad [this message] 2020-10-29 21:57 ` [dpdk-dev] [PATCH 1/8] common/mlx5: add DevX API to create ASO flow hit object Matan Azrad 2020-10-29 21:57 ` [dpdk-dev] [PATCH 2/8] common/mlx5: use general object type for cap index Matan Azrad 2020-10-29 21:57 ` [dpdk-dev] [PATCH 3/8] common/mlx5: add read ASO flow hit HCA capability Matan Azrad 2020-10-29 21:57 ` [dpdk-dev] [PATCH 4/8] common/mlx5: add glue func create flow hit action Matan Azrad 2020-10-29 21:57 ` [dpdk-dev] [PATCH 5/8] common/mlx5: add definitions for ASO flow hit Matan Azrad 2020-10-29 21:57 ` [dpdk-dev] [PATCH 6/8] net/mlx5: support flow hit action for aging Matan Azrad 2020-10-29 21:58 ` [dpdk-dev] [PATCH 7/8] net/mlx5: optimize shared RSS action memory Matan Azrad 2020-10-29 21:58 ` [dpdk-dev] [PATCH 8/8] net/mlx5: support shared age action Matan Azrad 2020-11-01 17:57 ` [dpdk-dev] [PATCH v2 0/9] net/mlx5: support flow hit steering action Matan Azrad 2020-11-01 17:57 ` [dpdk-dev] [PATCH v2 1/9] common/mlx5: add DevX API to create ASO flow hit object Matan Azrad 2020-11-01 17:57 ` [dpdk-dev] [PATCH v2 2/9] common/mlx5: use general object type for cap index Matan Azrad 2020-11-01 17:57 ` [dpdk-dev] [PATCH v2 3/9] common/mlx5: add read ASO flow hit HCA capability Matan Azrad 2020-11-01 17:57 ` [dpdk-dev] [PATCH v2 4/9] common/mlx5: add glue func create flow hit action Matan Azrad 2020-11-01 17:57 ` [dpdk-dev] [PATCH v2 5/9] common/mlx5: add definitions for ASO flow hit Matan Azrad 2020-11-01 17:57 ` [dpdk-dev] [PATCH v2 6/9] net/mlx5: support flow hit action for aging Matan Azrad 2020-11-01 17:57 ` [dpdk-dev] [PATCH v2 7/9] net/mlx5: optimize shared RSS action memory Matan Azrad 2020-11-01 17:57 ` [dpdk-dev] [PATCH v2 8/9] net/mlx5: support shared age action Matan Azrad 2020-11-02 6:16 ` Matan Azrad 2020-11-02 9:33 ` Raslan Darawsheh 2020-11-01 17:57 ` [dpdk-dev] [PATCH v2 9/9] net/mlx5: allow age modes combination Matan Azrad 2020-11-02 11:10 ` [dpdk-dev] [PATCH v2 0/9] net/mlx5: support flow hit steering action Raslan Darawsheh
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=1604008681-414157-1-git-send-email-matan@nvidia.com \ --to=matan@nvidia.com \ --cc=dev@dpdk.org \ --cc=viacheslavo@nvidia.com \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
DPDK patches and discussions This inbox may be cloned and mirrored by anyone: git clone --mirror https://inbox.dpdk.org/dev/0 dev/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 dev dev/ https://inbox.dpdk.org/dev \ dev@dpdk.org public-inbox-index dev Example config snippet for mirrors. Newsgroup available over NNTP: nntp://inbox.dpdk.org/inbox.dpdk.dev AGPL code for this site: git clone https://public-inbox.org/public-inbox.git