DPDK patches and discussions
 help / color / mirror / Atom feed
From: Jiawei Wang <jiaweiw@nvidia.com>
To: ferruh.yigit@intel.com, viacheslavo@nvidia.com, matan@nvidia.com,
	orika@nvidia.com
Cc: dev@dpdk.org, rasland@nvidia.com
Subject: [dpdk-dev] [PATCH v3 0/4] Add RSS action support in the sample sub-actions list
Date: Thu, 14 Jan 2021 09:24:44 +0200
Message-ID: <1610609088-204833-1-git-send-email-jiaweiw@nvidia.com> (raw)
In-Reply-To: <1610445689-389472-1-git-send-email-jiaweiw@nvidia.com>

Currently the sample flow only supports Queue action in NIC-Rx domain.
This patchset adds the RSS action support in the sample sub-actions list.

The examples for the sample flow with RSS action and result as below:
    set sample_actions 0 mark id  0x12 / rss queues  0 1 2 3 end  / end
    flow create 0 ingress group 1 pattern eth / end actions sample ratio 1 index 0 / jump group 2 / end

This flow will result in all the matched ingress packets will be
jumped to the next table, and the each packet will be marked with 0x12
and duplicated to rss queues of the control application.

v3:
* Fix the 'maybe-uninitialized' build error in commit 'net/mlx5: fix the unnecessary checking for RSS action'

v2:
* Rebase
* Update commit message and document description
* Split the commit into one fix for rss checking and another for sample rss feature

Jiawei Wang (4):
  app/testpmd: add RSS support in sample action
  net/mlx5: fix the unnecessary checking for RSS action
  net/mlx5: handle the RSS action in the sample
  doc: update RSS support in sample action

 app/test-pmd/cmdline_flow.c            |  26 ++++
 doc/guides/nics/mlx5.rst               |   1 +
 doc/guides/rel_notes/release_21_02.rst |   5 +
 drivers/net/mlx5/mlx5_flow.c           |  24 +++-
 drivers/net/mlx5/mlx5_flow_dv.c        | 226 +++++++++++++++++++++++----------
 5 files changed, 207 insertions(+), 75 deletions(-)

-- 
1.8.3.1


  parent reply	other threads:[~2021-01-14  7:25 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-10  9:10 [dpdk-dev] [PATCH 0/3] " Jiawei Wang
2021-01-10  9:10 ` [dpdk-dev] [PATCH 1/3] app/testpmd: add RSS support in sample action Jiawei Wang
2021-01-10  9:10 ` [dpdk-dev] [PATCH 2/3] net/mlx5: handle the RSS action in the sample Jiawei Wang
2021-01-10  9:10 ` [dpdk-dev] [PATCH 3/3] doc: update RSS support in sample action Jiawei Wang
2021-01-12 10:01 ` [dpdk-dev] [PATCH v2 0/4] Add RSS action support in the sample sub-actions list Jiawei Wang
2021-01-12 10:01   ` [dpdk-dev] [PATCH v2 1/4] app/testpmd: add RSS support in sample action Jiawei Wang
2021-01-12 10:01   ` [dpdk-dev] [PATCH v2 2/4] net/mlx5: fix the unnecessary checking for RSS action Jiawei Wang
2021-01-12 10:01   ` [dpdk-dev] [PATCH v2 3/4] net/mlx5: handle the RSS action in the sample Jiawei Wang
2021-01-12 10:01   ` [dpdk-dev] [PATCH v2 4/4] doc: update RSS support in sample action Jiawei Wang
2021-01-19 13:13     ` Ferruh Yigit
2021-01-14  7:24   ` Jiawei Wang [this message]
2021-01-14  7:24     ` [dpdk-dev] [PATCH v3 1/4] app/testpmd: add " Jiawei Wang
2021-01-14  7:24     ` [dpdk-dev] [PATCH v3 2/4] net/mlx5: fix the unnecessary checking for RSS action Jiawei Wang
2021-01-14  7:24     ` [dpdk-dev] [PATCH v3 3/4] net/mlx5: handle the RSS action in the sample Jiawei Wang
2021-01-14  7:24     ` [dpdk-dev] [PATCH v3 4/4] doc: update RSS support in sample action Jiawei Wang
2021-01-18 20:30     ` [dpdk-dev] [PATCH v3 0/4] Add RSS action support in the sample sub-actions list 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=1610609088-204833-1-git-send-email-jiaweiw@nvidia.com \
    --to=jiaweiw@nvidia.com \
    --cc=dev@dpdk.org \
    --cc=ferruh.yigit@intel.com \
    --cc=matan@nvidia.com \
    --cc=orika@nvidia.com \
    --cc=rasland@nvidia.com \
    --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