DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [RFC 0/2] Add RSS action support in the sample sub-actions list
@ 2020-12-15  7:52 Jiawei Wang
  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
  0 siblings, 2 replies; 3+ messages in thread
From: Jiawei Wang @ 2020-12-15  7:52 UTC (permalink / raw)
  To: ferruh.yigit, viacheslavo, matan, orika; +Cc: dev, rasland

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(-)

-- 
1.8.3.1


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-12-15  7:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-15  7:52 [dpdk-dev] [RFC 0/2] Add RSS action support in the sample sub-actions list Jiawei Wang
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).