Message ID | 20240925180532.3958656-3-akozyrev@nvidia.com (mailing list archive) |
---|---|
State | Accepted, archived |
Delegated to: | Ferruh Yigit |
Headers |
Return-Path: <dev-bounces@dpdk.org> X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 8247A45A2C; Wed, 25 Sep 2024 20:06:32 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id F22ED4042C; Wed, 25 Sep 2024 20:06:23 +0200 (CEST) Received: from NAM12-BN8-obe.outbound.protection.outlook.com (mail-bn8nam12on2054.outbound.protection.outlook.com [40.107.237.54]) by mails.dpdk.org (Postfix) with ESMTP id 4C75A402D5 for <dev@dpdk.org>; Wed, 25 Sep 2024 20:06:20 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=nAYrVNX9swZ71P70HVb7v2HkKMQKhaMfTGElD8qR6kdtqcFC2YHEYFzQGkc4xJFzYZbfTpyozO2hj2k7zrsKuuPUACMZPC2nc4W/yelVDA0EEVd+lefXa8aM8Cwu2mD5tRTbegGef+VZ+stn0+fyJdC4JAEN2NoUwoYLGmeC6ICO7OU1BQzzp/3JfzP8eAgLe70DypjOJUlX7hn9gdbFMdtLr+UFSGdFcAox0QiiVTUNBhnW5WpBCBgJ4BQyiTB/kTbJDK2ByTj7+Lg+/Td/TmR1YZuvgGAsCIjG5vkrmyDee/HeBWtQRniSIC1WQOSNxCNhX3CXpuwzL3Rtd4YhpQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=ODQwjjCDyu+c2NGYnIZXj1q4kNGH8Qygy95kZBiiA4I=; b=ff14tX2qeKwYZIXpLyhVrapjI/BXZhbRRvXMWUOWoL3hW6csLl8GzeOAg/rgLUxWmaHLoDeZhBXgjPQ3UhFlbz4ZduTiWsQq9h0rVi+wFfCUvV+wYRQqTSXlijR5WNiJyo4ZnillTInPiZ6Gsbm3zPh6nmDg+/dY2QvRTDa0N+qHKY8nG8j8RIm7RMDd7y2JngDe8UAe5JTOqZMaf48csnruLn1wDkl1gt/iF7+xph8WD/krkVYfRta3huGWeq4uu/8hcoOE0dU36wsl3DMCtpvH7uqYAQ/uQSdEIGa6dFR8injwmUsJW+3h/2/WsbDx2MQHdXysRV6XlgbGAqXGfg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.160) smtp.rcpttodomain=dpdk.org smtp.mailfrom=nvidia.com; dmarc=pass (p=reject sp=reject pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ODQwjjCDyu+c2NGYnIZXj1q4kNGH8Qygy95kZBiiA4I=; b=Nk8TatNTkm2s0HkyzlLi+iFqiGx237cYokZwjiAPYMUmGnB/B3ZuXxdSt57FxcIykh4yCRsiLH3OPnADEpraSWpS47zKYWDPd+HCyabnU87a1crSImZGdYjiiOl9SPNumvDazflJlIj/bQhVNmAIa3GVwTYmBZAQs4z40FgMUOpMXa5Ups9TDFIZpbhririmsQvgxtr+Df2FmEwDXaKz40m4n5xqGlbbBnl2NLAFoMTMq9Wtu1UM5wk3BN0T8XAbHDfxivkdNSiX6DavIpMIAtnfGd5Jg4YOR55MCeTA7ig6Xb5YeNCfGt6HHLNJm8j2erL+j4P/iJk4LbvVrJJN7A== Received: from MW4PR03CA0290.namprd03.prod.outlook.com (2603:10b6:303:b5::25) by BY5PR12MB4051.namprd12.prod.outlook.com (2603:10b6:a03:20c::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7982.27; Wed, 25 Sep 2024 18:06:12 +0000 Received: from CO1PEPF000075F3.namprd03.prod.outlook.com (2603:10b6:303:b5:cafe::9d) by MW4PR03CA0290.outlook.office365.com (2603:10b6:303:b5::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7982.27 via Frontend Transport; Wed, 25 Sep 2024 18:06:12 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.117.160) smtp.mailfrom=nvidia.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.117.160 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.117.160; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (216.228.117.160) by CO1PEPF000075F3.mail.protection.outlook.com (10.167.249.42) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8005.15 via Frontend Transport; Wed, 25 Sep 2024 18:06:12 +0000 Received: from rnnvmail201.nvidia.com (10.129.68.8) by mail.nvidia.com (10.129.200.66) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.4; Wed, 25 Sep 2024 11:05:55 -0700 Received: from pegasus01.mtr.labs.mlnx (10.126.230.35) by rnnvmail201.nvidia.com (10.129.68.8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.4; Wed, 25 Sep 2024 11:05:53 -0700 From: Alexander Kozyrev <akozyrev@nvidia.com> To: <dev@dpdk.org> CC: <dsosnowski@nvidia.com>, <orika@nvidia.com>, <thomas@monjalon.net>, <matan@nvidia.com>, <ferruh.yigit@amd.com>, <stephen@networkplumber.org> Subject: [PATCH v2 2/7] app/testpmd: add index with pattern insertion type Date: Wed, 25 Sep 2024 21:05:27 +0300 Message-ID: <20240925180532.3958656-3-akozyrev@nvidia.com> X-Mailer: git-send-email 2.18.2 In-Reply-To: <20240925180532.3958656-1-akozyrev@nvidia.com> References: <20240919004813.3158356-1-akozyrev@nvidia.com> <20240925180532.3958656-1-akozyrev@nvidia.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.126.230.35] X-ClientProxiedBy: rnnvmail202.nvidia.com (10.129.68.7) To rnnvmail201.nvidia.com (10.129.68.8) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CO1PEPF000075F3:EE_|BY5PR12MB4051:EE_ X-MS-Office365-Filtering-Correlation-Id: 6c6148d5-fae9-46f1-bf49-08dcdd8cbd5e X-LD-Processed: 43083d15-7273-40c1-b7db-39efd9ccc17a,ExtAddr X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|1800799024|36860700013|82310400026|376014; X-Microsoft-Antispam-Message-Info: X3SbqxtqG1T1iJn0Q3Ee/65EtHGoaDugviYyYxk1OeSGIg/Np+hSPifsjJhmY9Kd1jd0my0zQwn9MtTqzTHBk7ECasPTjc/d9obQoNPMKa3HgOLEsFDpE53LcqRfBVF0w6CyafLMaLUkrKzxSOc3fkPQm4jnJmWm3csEWE6WXdCPP66JFeCi6ml94rGICBNytZEZ+RUECPfl0xqDw4ycrGQVduCBOxgiYUfDcFv+Q0WBQeThaawAA8N1yFTO/kJp/NSWRVvidCQ9K3vJiTItNGIRA4LDKX55XpivmBdizs3jPYLC7hnX4drHw7mQwj9uC/7oQXGNLE3uYQBAgyMn5Qejms0v/QYovYLj00rUjbyfgnxz/aoG2sEbyzsnAZpy5+THR+I2OgooU8lyujQ+89PBTHpo3r3E1sRQooP2p12Byfg+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en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:dc6edge1.nvidia.com; CAT:NONE; SFS:(13230040)(1800799024)(36860700013)(82310400026)(376014); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Sep 2024 18:06:12.1249 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 6c6148d5-fae9-46f1-bf49-08dcdd8cbd5e X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a; Ip=[216.228.117.160]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: CO1PEPF000075F3.namprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY5PR12MB4051 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions <dev.dpdk.org> List-Unsubscribe: <https://mails.dpdk.org/options/dev>, <mailto:dev-request@dpdk.org?subject=unsubscribe> List-Archive: <http://mails.dpdk.org/archives/dev/> List-Post: <mailto:dev@dpdk.org> List-Help: <mailto:dev-request@dpdk.org?subject=help> List-Subscribe: <https://mails.dpdk.org/listinfo/dev>, <mailto:dev-request@dpdk.org?subject=subscribe> Errors-To: dev-bounces@dpdk.org |
Series |
ethdev: jump to table support
|
|
Checks
Context | Check | Description |
---|---|---|
ci/checkpatch | success | coding style OK |
Commit Message
Alexander Kozyrev
Sept. 25, 2024, 6:05 p.m. UTC
Provide index_with_pattern command line option
for the template table insertion type.
flow template_table 0 create table_id 2 group 13 priority 0
insertion_type index_with_pattern ingress rules_number 64
pattern_template 2 actions_template 2
Signed-off-by: Alexander Kozyrev <akozyrev@nvidia.com>
---
app/test-pmd/cmdline_flow.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Comments
> -----Original Message----- > From: Alexander Kozyrev <akozyrev@nvidia.com> > Sent: Wednesday, September 25, 2024 9:05 PM > > Provide index_with_pattern command line option > for the template table insertion type. > > flow template_table 0 create table_id 2 group 13 priority 0 > insertion_type index_with_pattern ingress rules_number 64 > pattern_template 2 actions_template 2 > > Signed-off-by: Alexander Kozyrev <akozyrev@nvidia.com> > --- Acked-by: Ori Kam <orika@nvidia.com> Best, Ori
diff --git a/app/test-pmd/cmdline_flow.c b/app/test-pmd/cmdline_flow.c index 858f4077bd..b048821e85 100644 --- a/app/test-pmd/cmdline_flow.c +++ b/app/test-pmd/cmdline_flow.c @@ -1029,7 +1029,7 @@ static const char *const meter_colors[] = { }; static const char *const table_insertion_types[] = { - "pattern", "index", NULL + "pattern", "index", "index_with_pattern", NULL }; static const char *const table_hash_funcs[] = {