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 7C49841BE4; Mon, 6 Feb 2023 04:39:36 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 17E7A427E9; Mon, 6 Feb 2023 04:39:36 +0100 (CET) Received: from NAM10-DM6-obe.outbound.protection.outlook.com (mail-dm6nam10on2049.outbound.protection.outlook.com [40.107.93.49]) by mails.dpdk.org (Postfix) with ESMTP id 6236E40A7D for ; Mon, 6 Feb 2023 04:39:34 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ARquwR4U9XybCuJ+r0tToLy/mdT7DF35DTR1z71339PcgRKMPv1wPCKirPWa0xzl2glDs3RrBtdwXwJ5hCH3ATGagnjEW5wgRowV1qaOyv40DFUSEksGcB/GW959II/j825j7dli6mX5FjDVUpQPTLednlig8nWfCho9N+46qsszQ/3olrinOHVnYfO+fEJjKy7SEV2pZJ81qWlnN2IcBIsxCKwvxCTJz/oFNg+5bOQ2ReafQdYohRvNKxZTFvNunE/1RsLH0nCiDA425SH8hYVljbT/jwsA39tNQGuTpNG78/mr0ezxn7Yxqx+Xb8Dr49g6Ke2ETKA6NJNZsLar7w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; 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=P0j7aU4GUkPa4l7UayxMR5SuGrPRJpE4LCMiMWPAz18=; b=npfoRyTZ6SEqnpy6bFRjzOUfGdnYbJU7iRXglbhStDFIs7SkxcOick9FtlwTraTaedcyVkes6p9Pba46o0WSlxfXRm8s3Afs5G5JOQ+/eBNXS7sh59SSGezdiANVlUgmpE71nLoQWFNrX8ESwrgaWc/xHI0oggwsdXddUk+syCJNfug7lxklQaUK+R/oPq+PYk4rOjczfu4VttHKa/tR2QY+/XnRI5vRNmdVh6XYWtvc783trj47qaE8kdbuUBRDrvffyhNVIqvF3SXL6hkthP2IFLeBuGWnP/ZzAxXekVsnTiXsTILlitNEgJKxUUqd31JMzUYg/miNIYpNXQ03Ew== 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 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=P0j7aU4GUkPa4l7UayxMR5SuGrPRJpE4LCMiMWPAz18=; b=o6vSzwOYKzaWZXvBMqNpqSJXEprdRcGEbAUxnpaFRVb5V7kI0D1CMDbiV673ygn14Ikvrq3yovyMfDIffqHtjoQg5CagY5ZzYnMH6n6P1QKogybJICqzsTkSStuQ1KDRujh3vKJxCRPzeECFqSm3WBpy/Tx1ykPwfJBf8mZqew415UEzzg8yFekeMiCCdxvfbemtNekPeZ0yoHicUhK2JIEjffCGRQRKcgH1CEcMt1XvdfOMlK/p3DnIRQmh/NpwCYPRzayWhxnLJjQSvz/9jbdanF3I0JvJ3c/EdNu9xDtCfOWB7A4RRz0zEH+lOwh2QbpkNuYqPr/PoBqM6QXrVg== Received: from DS7PR03CA0132.namprd03.prod.outlook.com (2603:10b6:5:3b4::17) by SN7PR12MB8026.namprd12.prod.outlook.com (2603:10b6:806:34b::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6064.34; Mon, 6 Feb 2023 03:39:31 +0000 Received: from DS1PEPF0000E650.namprd02.prod.outlook.com (2603:10b6:5:3b4:cafe::3d) by DS7PR03CA0132.outlook.office365.com (2603:10b6:5:3b4::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6064.32 via Frontend Transport; Mon, 6 Feb 2023 03:39:30 +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 DS1PEPF0000E650.mail.protection.outlook.com (10.167.18.6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6064.21 via Frontend Transport; Mon, 6 Feb 2023 03:39:30 +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.986.36; Sun, 5 Feb 2023 19:39:24 -0800 Received: from nvidia.com (10.126.230.37) 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.986.36; Sun, 5 Feb 2023 19:39:22 -0800 From: Rongwei Liu To: , , , , CC: Subject: [PATCH v4 0/4] add flex item support Date: Mon, 6 Feb 2023 05:39:04 +0200 Message-ID: <20230206033908.2770135-1-rongweil@nvidia.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20230130132000.1715473-2-rongweil@nvidia.com> References: <20230130132000.1715473-2-rongweil@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.126.230.37] X-ClientProxiedBy: rnnvmail203.nvidia.com (10.129.68.9) To rnnvmail201.nvidia.com (10.129.68.8) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS1PEPF0000E650:EE_|SN7PR12MB8026:EE_ X-MS-Office365-Filtering-Correlation-Id: 4d222f64-b8e8-440b-8b4f-08db07f3c190 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; X-Microsoft-Antispam-Message-Info: x4KiLZIK108UXsCoVvnsRD5MvR+5e5eH4l1A+cCYGFi7ZhAVCcu3D1n5aIgRJ+L4cXGwA/yzIuNR+M77OYgNYosRiyw8c1kO2eoZiopj8zzHkQ/5YXEpQPrWBBGbgA9AZht5SHbzmVdfg82S8CrcCifwiPNwj9gxsMm68PqlVcWlsfdxR2qRkCo22gCRi0AmU+H5hYaaUjFxo5ArI+eo9xK/k8P/fjZiE3GnhuIZA8hOo1vNpCyVCTpE5jjg133WdZ9ye8SogcKOgB1wAzFIkz6NLiVJV46OxnEgRgeXN+lP7IABtogoJ87RUYPuM9JxxhggBTlCfY+AX374axH2+jrn0hnhpKFWzUFpRy/lkVJegt5doXKzIAotlNY4avL56UCnDH9jODeq1cuuwa5AR22Iel8qYqmCNXwi9dTzXVvWvJJgn7Dc/DqLUu5tqccpXL5lC3lizvhktHnJKbQ8lBePbEb9tMvYsq+yJQ0Co1q6k61Wv0qlCwFs+z1RSxFySb8SBKWNH++o9R/D+QbPcKz6vU7ez9bDcJhWSKm+NQ5z3RZnfpZ1pUKvuuzj4pslQVhEicGrPPkl6OlIXx0D+cl0BPrUQoDb+yxNkgcsMyh48HbsNaAU1l8n3/kbQ0mNGBLCpnCPW6/3Xu5nKh0G1UQYeTLcdPFKqZeo5IeM+1Wd9bMInHvFjnJMGubC/1NmIRbyLSN9uozAwimXHm3rQQ== X-Forefront-Antispam-Report: CIP:216.228.117.160; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:dc6edge1.nvidia.com; CAT:NONE; SFS:(13230025)(4636009)(396003)(136003)(39860400002)(376002)(346002)(451199018)(46966006)(40470700004)(36840700001)(336012)(2906002)(82310400005)(86362001)(82740400003)(4744005)(5660300002)(36860700001)(356005)(7636003)(316002)(110136005)(426003)(47076005)(40460700003)(41300700001)(36756003)(8936002)(8676002)(70586007)(70206006)(4326008)(55016003)(40480700001)(83380400001)(478600001)(1076003)(6286002)(6666004)(16526019)(107886003)(186003)(26005)(7696005)(2616005); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Feb 2023 03:39:30.7417 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 4d222f64-b8e8-440b-8b4f-08db07f3c190 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: DS1PEPF0000E650.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN7PR12MB8026 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 Support flex item matching and modify field in async flow. Syntax follows sync flow exactly. v4: split ethdev part. v3: enhance format, add flex_handle document. Rongwei Liu (4): ethdev: add flex item modify field support app/testpmd: pass flex handle into matching mask app/testpmd: raw encap with flex item support app/testpmd: adjust cleanup sequence when quitting app/test-pmd/cmdline_flow.c | 123 +++++++++++++++++++++---- app/test-pmd/testpmd.c | 2 +- doc/guides/prog_guide/rte_flow.rst | 41 +++++---- doc/guides/rel_notes/release_23_03.rst | 4 + lib/ethdev/rte_flow.h | 8 +- 5 files changed, 139 insertions(+), 39 deletions(-) -- 2.27.0