Skip to content

Add RSS action support in the sample sub-actions list

Jiawei Wang dpdk-dev 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest4 patches 1 replyIn review
  2. v24 patches 1 replySuperseded
  3. v13 patches 0 repliesSuperseded

Changes in v3 from the cover letter

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

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4app/testpmd: add RSS support in sample actionapp/test-pmd/cmdline_flow.c+26 -00 replies
2/4net/mlx5: fix the unnecessary checking for RSS actiondrivers/net/mlx5/mlx5_flow.c+4 -20 replies
3/4net/mlx5: handle the RSS action in the sampledrivers/net/mlx5/mlx5_flow.c drivers/net/mlx5/mlx5_flow_dv.c+171 -730 replies
4/4doc: update RSS support in sample actiondoc/guides/nics/mlx5.rst doc/guides/rel_notes/release_21_02.rst+6 -00 replies

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchViacheslav Ovsiienko
1/4A-b
2/4A-b
3/4A-b
4/4A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [dpdk-dev] [PATCH v3 0/4] Add RSS action support in the sample sub-actions list

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(-)
Signature · 1 line
1.8.3.1