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,
Cc: dev@dpdk.org, rasland@nvidia.com
Subject: [dpdk-dev] [RFC 0/2] Add RSS action support in the sample sub-actions list
Date: Tue, 15 Dec 2020 09:52:35 +0200
Message-ID: <1608018757-98108-1-git-send-email-jiaweiw@nvidia.com> (raw)

Currently the sample flow only supports Queue action in NIC-Rx domain.
This RFC 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 next table, and the each packet will be marked and sent to rss
queues of the control application.

Jiawei Wang (2):
  app/testpmd: add RSS support in sample action
  net/mlx5: handle the RSS action in the sample

 app/test-pmd/cmdline_flow.c     |  26 +++++
 drivers/net/mlx5/mlx5_flow.c    |  24 ++++-
 drivers/net/mlx5/mlx5_flow_dv.c | 230 ++++++++++++++++++++++++++++------------
 3 files changed, 205 insertions(+), 75 deletions(-)


             reply	other threads:[~2020-12-15  7:53 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-15  7:52 Jiawei Wang [this message]
2020-12-15  7:52 ` [dpdk-dev] [RFC 1/2] app/testpmd: add RSS support in sample action Jiawei Wang
2020-12-15  7:52 ` [dpdk-dev] [RFC 2/2] net/mlx5: handle the RSS action in the sample Jiawei Wang

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:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1608018757-98108-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 \


* 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 \
	public-inbox-index dev

Example config snippet for mirrors.
Newsgroup available over NNTP:

AGPL code for this site: git clone https://public-inbox.org/public-inbox.git