From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 37F56A04B5; Tue, 12 Jan 2021 11:01:57 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 06533140E0E; Tue, 12 Jan 2021 11:01:37 +0100 (CET) Received: from mellanox.co.il (mail-il-dmz.mellanox.com [193.47.165.129]) by mails.dpdk.org (Postfix) with ESMTP id E8129140DF1 for ; Tue, 12 Jan 2021 11:01:31 +0100 (CET) Received: from Internal Mail-Server by MTLPINE1 (envelope-from jiaweiw@nvidia.com) with SMTP; 12 Jan 2021 12:01:29 +0200 Received: from nvidia.com (gen-l-vrt-281.mtl.labs.mlnx [10.237.44.1]) by labmailer.mlnx (8.13.8/8.13.8) with ESMTP id 10CA1TMN024138; Tue, 12 Jan 2021 12:01:29 +0200 From: Jiawei Wang To: ferruh.yigit@intel.com, viacheslavo@nvidia.com, matan@nvidia.com, orika@nvidia.com Cc: dev@dpdk.org, rasland@nvidia.com Date: Tue, 12 Jan 2021 12:01:25 +0200 Message-Id: <1610445689-389472-1-git-send-email-jiaweiw@nvidia.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1610269807-311533-1-git-send-email-jiaweiw@nvidia.com> References: <1610269807-311533-1-git-send-email-jiaweiw@nvidia.com> Subject: [dpdk-dev] [PATCH v2 0/4] Add RSS action support in the sample sub-actions list X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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. 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