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 34F10437A9; Wed, 27 Dec 2023 10:08:17 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 18EE3402EA; Wed, 27 Dec 2023 10:08:15 +0100 (CET) Received: from NAM10-MW2-obe.outbound.protection.outlook.com (mail-mw2nam10on2040.outbound.protection.outlook.com [40.107.94.40]) by mails.dpdk.org (Postfix) with ESMTP id CECA9402E4 for ; Wed, 27 Dec 2023 10:08:12 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ANobOzlYE54+kxuZjHefE285MAQrCK97J7Pqi5X3ZA/foR0gA/Wsm/JJeZQLfHnic4CA9Ru6Mmce6lI5MTsYvleHHPQ3/9Cya9HVHK7oEM+1ZTdagnhuzkJTwWdhu319O9v3oDzYsoLqCKrRInzXZdVe3cTlwS8WSn6wrAhu/LVASKyg0FSG9ho4XTIXUAZsuliePLN4S3TM1LWNo3WUcn/VTmp/cRIOd4Xdsy+Wf8thYG4l2iXIuAVOGQ17Zom7M+Gn3TqBbJGMXG3cGV72kj+Lo760hRLU6mKCirTU5RhGn2JNE8yjvu+MhQiUse8T9hL9ln8h5ft3hq9Xle1Kzg== 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=vhnW5Wzno5DVHEfDJH1C9ykiS73tKffKpBpoRmeOgmM=; b=nd3hdaS4RRdcxRBRwzKxqI/xPcg8UKR0BTVCinrwcoPyT3AKbCzac70q6k043FxF4HPky01aTknPT7/2AFOaDKo0cPNbQI7+4i+EGFY5HsGrRvxtLCO8n8M97tijgZzV3L/xCjXWJU52TPyqvnzyT203kttccnZOWGAj3cUdsIa9kn4LySotI3d8DUj0dlL3+TEsaqy72OsxOsQWe+k/0ZAHGCvMd6QyJfqQVRbDG7FEAxi9HilSD1pEHSQazFgMLmF54oySgZfxapn4LLS4sra7fyjMYRz/7w1IYwrDrINhcCzedkCEc0/wlkWm8AmWU7NMNn1otYgGPWX2a/nnGg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.161) smtp.rcpttodomain=intel.com 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=vhnW5Wzno5DVHEfDJH1C9ykiS73tKffKpBpoRmeOgmM=; b=abKoCog6uQ7wcHgnx+n0ejWfMP8R/Hzg2fJv2ELzjqsJK+FhUKSgaI2D/m8BZl5eDfgJJEKjfPKO4r6LvzhZRVzDl4ati0JNoVLyeghZJ9t/C4s8WFGnzqbE65Dqc/D+K9SExn4t1TiGSpVP4T+8Chgeug9URKl6jlkoQGDL5JbL3mUfW7XaFWoZc7dYzr7Jucg4QEyntkLQmRQYwONhjNSS5JURTVy28K43mVYbm0jYtrPg0Ji6KzooUTQOQvlFvPlz/FNHFI5UVDZG1qMqMew0sD/UmEYJukOIebGqbKrKsOmixIHBq7nlyAbC6JS4vLhcbkRKOzh6gZZfHFiHKQ== Received: from BL1PR13CA0107.namprd13.prod.outlook.com (2603:10b6:208:2b9::22) by BY5PR12MB4968.namprd12.prod.outlook.com (2603:10b6:a03:1d2::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7113.28; Wed, 27 Dec 2023 09:08:07 +0000 Received: from MN1PEPF0000ECDA.namprd02.prod.outlook.com (2603:10b6:208:2b9:cafe::5e) by BL1PR13CA0107.outlook.office365.com (2603:10b6:208:2b9::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7135.18 via Frontend Transport; Wed, 27 Dec 2023 09:08:06 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.117.161) 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.161 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.117.161; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (216.228.117.161) by MN1PEPF0000ECDA.mail.protection.outlook.com (10.167.242.134) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7135.14 via Frontend Transport; Wed, 27 Dec 2023 09:08:06 +0000 Received: from rnnvmail201.nvidia.com (10.129.68.8) by mail.nvidia.com (10.129.200.67) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.41; Wed, 27 Dec 2023 01:07:52 -0800 Received: from nvidia.com (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.986.41; Wed, 27 Dec 2023 01:07:49 -0800 From: Bing Zhao To: , , , , , , , , , , , Subject: [PATCH 0/8] support NAT64 action Date: Wed, 27 Dec 2023 11:07:23 +0200 Message-ID: <20231227090731.2569427-1-bingz@nvidia.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.126.230.35] 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: MN1PEPF0000ECDA:EE_|BY5PR12MB4968:EE_ X-MS-Office365-Filtering-Correlation-Id: 2fa7f3ab-16c4-479f-d517-08dc06bb56ea 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: tM9xG1n6xxahWVOVJFT84Hswiw5tf5YrjTA5/iRAiH9iiUrQ51RLCIyTXnP836k/sWQq/TubwFa7dBwDYITvRn4T8r+CVNo+n6Qfp52MBAK840UUhsMQ6J1UvyY8YGVVpAwyohzcXeBd6/hRJp3kKWdJgmINL1XMyVAhqyuaEs4ZwfMjm4QHpEPA+6Bj7Un0il7XC/wdohT3fw+nZp/ebfi6VOD61gRLCq2PpRbO3Pd41GUZqs5i4IJ8J2LEd5jhDE+t8Mf6cf4vEC5N7B/C7cp+xfT5clkX4z++066kVMi+4ZgFrXKI7NL2eJ1AMQhxJEjS8ci+JHy5jwW7tCwOR2ZNHfgCVCkfJYqQhsvXyZU8T8+SvgjCdH1FeAIqs3Usdhs9ZgVKPsC/s9Ip5DBJWNC7ZlWyoPUoVwGq1ENet1EHkU8qWflLU8pPS5swUnEot3BHWyEWmdafZKA5zkYRwhHVYAcPIvtKXguaV2R3o3MXFDooTFk94q+0u8YkXNEB89NGkVWA/49g7u1y6nopwCecUKdJeJ7q8m4xtOp1dO7qe+Z+X7JvuFwtDv3MREb/lfJYuBCTciVV0JCYiithnA65y4H1Jzl2Ax8ipW8EDeE8R1Pm8zeM3wbtFWNjs97CdFDlcbss1GW1Pd5NEKRw9Y+EwFEgkxMTNtB/uItI65liKzhSsPJuT1I+yvTclipxPR/Nfyg/jNewpqexF9vuPsXhJZK5niiB+xHVjfcDla0= X-Forefront-Antispam-Report: CIP:216.228.117.161; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:dc6edge2.nvidia.com; CAT:NONE; SFS:(13230031)(4636009)(346002)(396003)(376002)(39850400004)(136003)(230922051799003)(82310400011)(1800799012)(64100799003)(186009)(451199024)(46966006)(36840700001)(478600001)(40480700001)(6666004)(2616005)(36860700001)(82740400003)(110136005)(36756003)(86362001)(70206006)(7696005)(6636002)(70586007)(316002)(41300700001)(55016003)(47076005)(921011)(8936002)(8676002)(83380400001)(2906002)(336012)(426003)(356005)(7636003)(16526019)(6286002)(1076003)(26005)(5660300002); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Dec 2023 09:08:06.4618 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 2fa7f3ab-16c4-479f-d517-08dc06bb56ea 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.161]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: MN1PEPF0000ECDA.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY5PR12MB4968 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 This patchset introduce the NAT64 action support for rte_flow. Bing Zhao (7): ethdev: introduce NAT64 action app/testpmd: add support for NAT64 in the command line net/mlx5: fetch the available registers for NAT64 common/mlx5: add new modify field defininations net/mlx5: create NAT64 actions during configuration net/mlx5: add NAT64 action support in rule creation net/mlx5: validate the actions combination with NAT64 Erez Shitrit (1): net/mlx5/hws: support NAT64 action app/test-pmd/cmdline_flow.c | 23 ++ doc/guides/nics/features/default.ini | 1 + doc/guides/nics/features/mlx5.ini | 1 + doc/guides/nics/mlx5.rst | 9 +- doc/guides/prog_guide/rte_flow.rst | 8 + doc/guides/testpmd_app_ug/testpmd_funcs.rst | 4 + drivers/common/mlx5/mlx5_prm.h | 5 + drivers/net/mlx5/hws/mlx5dr.h | 29 ++ drivers/net/mlx5/hws/mlx5dr_action.c | 437 +++++++++++++++++++- drivers/net/mlx5/hws/mlx5dr_action.h | 35 ++ drivers/net/mlx5/hws/mlx5dr_debug.c | 1 + drivers/net/mlx5/mlx5.c | 9 + drivers/net/mlx5/mlx5.h | 8 + drivers/net/mlx5/mlx5_flow.h | 12 + drivers/net/mlx5/mlx5_flow_dv.c | 4 +- drivers/net/mlx5/mlx5_flow_hw.c | 91 ++++ lib/ethdev/rte_flow.c | 1 + lib/ethdev/rte_flow.h | 27 ++ 18 files changed, 702 insertions(+), 3 deletions(-) -- 2.25.1