Message ID | 20240919004813.3158356-3-akozyrev@nvidia.com (mailing list archive) |
---|---|
State | Superseded |
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 4CB35459CB; Thu, 19 Sep 2024 02:49:18 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 62047432F0; Thu, 19 Sep 2024 02:49:00 +0200 (CEST) Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11on2085.outbound.protection.outlook.com [40.107.223.85]) by mails.dpdk.org (Postfix) with ESMTP id 8EA7D42FEF for <dev@dpdk.org>; Thu, 19 Sep 2024 02:48:56 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=JcBPkCHysVh9FJhZDJ4RhKLJMK/OuDy7TALPe9Bq4bwcf+9R35ergQY/pCeKVR31C1zFjHDmx2NDWA9eBKw+cDJs+ie6i+ox1GcL3D1t/u7ugOiIGCZtyq5rl90hVMCKwuFaELwI1wWTD7bqVDlPBcv3hmgaVQMKgA+QTWk6xdx2Zkt+u5ve0hO+6TTGkZkYAf9IjQk7T+N9eY0Tkcfex8WZbAD64qeXoRY8+fkWh63uQA3SYCrvJIeClPRGEuGcuU+URpNUjAcmYBO3h9McmERJFJL4sLGS7F9XebUzbSlS35139iRcIfZJICwSXt6eMcooEF6NlqHheUR55Aoi3g== 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=wWiHynE+m9o7JtQRq+c6rtsBJHQk68UhFiNgO5uKmFc=; b=SyCwUyKEUgZGaxml2jpWoOi6eXQwxMNOogxduRZeqPOZZNilr6G+CDWNGjiWH0kSrXlXGA7koob2Q7JNVjfRNWX7qF6GWeqaKxnOpM0J6/k4V27wpkFuDCR/lxW3bPb9PWUndwf1n60GVimYG3L5cBWsjMnnlj9iLEoosJ0R5WrrQcsAAsma3LaHhH2ZZ7AaNafZLqwaB429Z34Xrl1DTs+QMv9LnvJSPGTckvC2SkRrdCJ1OMYX8aTAh1YrvqiojbviPmiNjKhTFPNw0le8OqY+GO5RcoxSOU9cm7CRiUpCEWB+kHbaohm5M7kYYiTlbCb4tE7+/g7Ip5sonjGfvA== 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=wWiHynE+m9o7JtQRq+c6rtsBJHQk68UhFiNgO5uKmFc=; b=ds3XsqJ0Jjc2ClvaBu5fCk3DpmTEM87iFVnrZLSRjzdfDW5DXjjJMp1t2Lg54kPVv98izVVUN0Jr9R54Tx4Z1aBpl1ASroEqb5p3n3yCja4TIxIJRVxYQ8ajQAxZBK+ufSnm3+VjbMn4bd8liDX6i2IrsQ57x07owfeOsFjhri3L6rAlNAWqeC8lq7BWZS1bpwboR3Kl19naQrEICDwZKVc7xRumpH2FUbrDGNMsz4sKAPtqzAFNV/Pm5jhXDdTYJGkytffpSTqpIHwXOugclV9ZfvgANjgW6YX366HKLJpoAEN1tmzAu8twwUjsaemSXtxJbCuCQ8GZBJmXn8ahrA== Received: from BL1PR13CA0289.namprd13.prod.outlook.com (2603:10b6:208:2bc::24) by PH7PR12MB8595.namprd12.prod.outlook.com (2603:10b6:510:1b5::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7962.24; Thu, 19 Sep 2024 00:48:53 +0000 Received: from MN1PEPF0000ECD6.namprd02.prod.outlook.com (2603:10b6:208:2bc:cafe::ea) by BL1PR13CA0289.outlook.office365.com (2603:10b6:208:2bc::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7982.15 via Frontend Transport; Thu, 19 Sep 2024 00:48:53 +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 MN1PEPF0000ECD6.mail.protection.outlook.com (10.167.242.135) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7918.13 via Frontend Transport; Thu, 19 Sep 2024 00:48:53 +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, 18 Sep 2024 17:48:36 -0700 Received: from pegasus01.mtr.labs.mlnx (10.126.231.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, 18 Sep 2024 17:48:34 -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 2/6] app/testpmd: add index with pattern insertion type Date: Thu, 19 Sep 2024 03:48:09 +0300 Message-ID: <20240919004813.3158356-3-akozyrev@nvidia.com> X-Mailer: git-send-email 2.18.2 In-Reply-To: <20240919004813.3158356-1-akozyrev@nvidia.com> References: <20240919004813.3158356-1-akozyrev@nvidia.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.126.231.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: MN1PEPF0000ECD6:EE_|PH7PR12MB8595:EE_ X-MS-Office365-Filtering-Correlation-Id: bc73137f-b8c8-4f20-f754-08dcd844d5b5 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|36860700013|82310400026|376014|1800799024; X-Microsoft-Antispam-Message-Info: RPpJd8hZ7qv3rrmH4+UhvR+GnAAWvNCsRTxMiXbXD7RBHCWslRjjNH6+1mZysuHmxFpsnyNhEuCSJ3hs3P5zHIboi9sjsWHoCPigntbJktrfF8zpDLrfvVOiYNHirJWRuJ/bY4rgIRoDUsBngKTYj8Dg5cLgFZLslJQN1HpAFS3jRtOOY3hGjAr4mNrrfG52w5ZB3g3Xen4PdyYqa7SzyRuEifp3olvP6wXHGAB7F3Rzg1Q8MeiNn0SS6xp7MaDyCnp6C0GBG5G/Qblpftytb/AcYyU2LD2nEZIAFS9G8gtgOyJcbLshbYRR9A4dewL07XpLSLA2vglem24xIjk+U0cZahZIFXwizMImxNSUCbqmFoj9zlJcr83aAeWgstToDOBfnvzoWkkkqxUMEbS7xNbMPKHD0pAPweOSFRi2f6Mmd9BGle3YGxnSVdUhx0Zju6G734LhC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idia.com; PTR:dc6edge1.nvidia.com; CAT:NONE; SFS:(13230040)(36860700013)(82310400026)(376014)(1800799024); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Sep 2024 00:48:53.2740 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: bc73137f-b8c8-4f20-f754-08dcd844d5b5 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: MN1PEPF0000ECD6.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH7PR12MB8595 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. 19, 2024, 12:48 a.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: Thursday, September 19, 2024 02:48 > To: dev@dpdk.org > Cc: Dariusz Sosnowski <dsosnowski@nvidia.com>; Ori Kam > <orika@nvidia.com>; NBU-Contact-Thomas Monjalon (EXTERNAL) > <thomas@monjalon.net>; Matan Azrad <matan@nvidia.com>; > ferruh.yigit@amd.com; stephen@networkplumber.org > Subject: [PATCH 2/6] app/testpmd: add index with pattern insertion type > > 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: Dariusz Sosnowski <dsosnowski@nvidia.com> Best regards, Dariusz Sosnowski
diff --git a/app/test-pmd/cmdline_flow.c b/app/test-pmd/cmdline_flow.c index d04280eb3e..a794e5eba5 100644 --- a/app/test-pmd/cmdline_flow.c +++ b/app/test-pmd/cmdline_flow.c @@ -1030,7 +1030,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[] = {