From patchwork Wed Feb 8 06:19:09 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Baum X-Patchwork-Id: 123424 Return-Path: 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 8E99741C3A; Wed, 8 Feb 2023 07:19:33 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1848640DFD; Wed, 8 Feb 2023 07:19:33 +0100 (CET) Received: from NAM10-BN7-obe.outbound.protection.outlook.com (mail-bn7nam10on2050.outbound.protection.outlook.com [40.107.92.50]) by mails.dpdk.org (Postfix) with ESMTP id 2BB9840141 for ; Wed, 8 Feb 2023 07:19:32 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dQXL9yKeT7Zxb2vIOEkxlDND5JjxXiWBDrzgBGxsIAGthZ59lL/lhOEP6a2jX8DVkcqDmpNnqrblhhQrG2D6U2wNXdkOdeeDnwk4EqVc8cxInMj+doryMrub+DqNRo/JsmV6Ja6G/PDkgBlRSLgBk4LUNF0eS2DlrDM7rPzCGmTICC1wxmdqxqEvHxGaigsDZddZXCCK6j7Z3QXZ2MWEphKkWExbV+eIfu0cXyqVdWR1DlS3GEQJiLSsAViarAhm4uZXBsP83Rs7EpD6r+hIe1XgGENkFaAcJGm84dQfdq5LoricYelnwgmadvyKHHF5kelmdjKwGeWV4ZZmypvA8w== 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=IojG7uzlMGa6SGZWx1/Pux2pyKsZInQEihKnRvyslvg=; b=PlERBVCm85oBnGDjQpITfd8SJprTa8oZUSuI4KQHcbWEOMCnvXr0uqONhOcb8qTWofF2BCrotCQx6KaZzKEG+S86jQuijnS4nlrMqcDX7fTb/lIRQR0UQxz0qvkuwE5XFYGbjAs6fqNTVDCN66KQUbXjRI8mw57EINh6VdNxgkCd3UxNnII2OpFN6VkU2UejdGuyYhEaGVbwTJQGqjKzJUwJFeA06iVOJEqhfs1D1bU0SuB3BC2pDJIUca4/KQu3iPJzFzMG/Q62GXCRVMpjge+CPOICw/rbsZFmmwQg7VBTHZDborh+SqTNaofFZG+NsQRnpNvZuIqCbVhbD870gw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.118.233) 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=IojG7uzlMGa6SGZWx1/Pux2pyKsZInQEihKnRvyslvg=; b=oRY9Mrx4GtM3gD7JKR/bfJKAvQPSrRkBjLu1MxQ5vi0/ZTitQQ5gpAregdYJnVvt1cgpYZb3eXA5kphgprKArcdkzkVkx1jNDKl7kzzmmnKU8Dd5sgU01COONn35fJ3M9EyLm0qt2veM6mdD2jDjR9Q7qBZIJXbelPHMp741j79GstT/BKWz8rHFAOXZqm52L4mubEzJUFeAy1mFD7RAvEqVU7/bGvd4lXpalSPQ3ls+diyskPJifHWOOAebKYQk9NhEnTkUirBA5OPLuXujmlTQNv+6mt8KjxowmpPMNaQaX9PasX8OgHx862ArQkvttPFqRuruRdn7nfmhkgtd/Q== Received: from BN9PR03CA0650.namprd03.prod.outlook.com (2603:10b6:408:13b::25) by DM4PR12MB7503.namprd12.prod.outlook.com (2603:10b6:8:111::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6064.36; Wed, 8 Feb 2023 06:19:30 +0000 Received: from BN8NAM11FT076.eop-nam11.prod.protection.outlook.com (2603:10b6:408:13b:cafe::28) by BN9PR03CA0650.outlook.office365.com (2603:10b6:408:13b::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6064.36 via Frontend Transport; Wed, 8 Feb 2023 06:19:29 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.118.233) 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.118.233 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.118.233; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (216.228.118.233) by BN8NAM11FT076.mail.protection.outlook.com (10.13.176.174) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6086.17 via Frontend Transport; Wed, 8 Feb 2023 06:19:29 +0000 Received: from drhqmail202.nvidia.com (10.126.190.181) by mail.nvidia.com (10.127.129.6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.36; Tue, 7 Feb 2023 22:19:21 -0800 Received: from drhqmail203.nvidia.com (10.126.190.182) by drhqmail202.nvidia.com (10.126.190.181) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.36; Tue, 7 Feb 2023 22:19:21 -0800 Received: from nvidia.com (10.127.8.13) by mail.nvidia.com (10.126.190.182) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.36 via Frontend Transport; Tue, 7 Feb 2023 22:19:20 -0800 From: Michael Baum To: CC: Matan Azrad , Raslan Darawsheh , Viacheslav Ovsiienko Subject: [PATCH 0/2] net/mlx5: support MPLSoUDP for HWS Date: Wed, 8 Feb 2023 08:19:09 +0200 Message-ID: <20230208061911.1644248-1-michaelba@nvidia.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BN8NAM11FT076:EE_|DM4PR12MB7503:EE_ X-MS-Office365-Filtering-Correlation-Id: 9836a52a-7472-4b31-0d1e-08db099c6fc1 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Bpod9q7YXfJeuSBH1ovJ2EYhbhEHIGBGHetNTgzFwuEY9avWktn7cZySNkE00hsLubJbiRmNTI43dKYWKLnHuE8Zuy4Lh+dLCSVmVVebpx05Ju16oY9gUMLoiccFKIMfN87iqgDERDKZbuW5JqtTGM+IhKTBL+2HLAJcNZ0DAIDJGiS4lsZFRn3CUIBEcDd5H9uXf/Nvl3KlwCN3jgGi6FpYzuZrP6tYuiqqsce1rz12M8mIEH3DINE6yOChSpRCJBHW79DFiAOWSdAOmNEWDM6mB2jcrqlfBEoAJW0zFEwmiHAeITCVK+chQqmSIs0dNfZACAciIGOHSvEgoIieNi+RQtnTHKBfSSHUz2UhJZjC7KwOqxBAEA8rDMi9asW1pbZFMv23YSOUwgWUr3xWjCHAeX7Xm/drqoybS0mhJbbpTkWnH8Bz5WKtAvjmDs4SIOapWRC4UPuDkOODzffDzNlgugUWfmmfSoGM7VAuq4jAhNwRFMVKFoinXusv93+qEwuoS9oiF/sltXKNTDV9HgE4UI6shwkh1ys5WVeaf6MI1mt3k+Lm19Gbg/VNaBdPWUVFzJvoY3OwTJr1/y+UScmB6Ct8MhbUrW/55noD3RU0If5CSDQQEtscKZbab+LxkANo+SDYpmt06nLRQQJo3jFD7wYoQF4zEgo67mALN3AuNalZLllqeaH8zNb3cBtbr61Mucc6sNi8ayrhD9eb0w== X-Forefront-Antispam-Report: CIP:216.228.118.233; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:dc7edge2.nvidia.com; CAT:NONE; SFS:(13230025)(4636009)(39860400002)(376002)(346002)(396003)(136003)(451199018)(36840700001)(46966006)(40470700004)(7636003)(83380400001)(82740400003)(36860700001)(36756003)(86362001)(356005)(2906002)(41300700001)(4744005)(5660300002)(8936002)(82310400005)(55016003)(40480700001)(186003)(26005)(6286002)(40460700003)(107886003)(426003)(47076005)(70586007)(2616005)(1076003)(8676002)(316002)(54906003)(4326008)(336012)(70206006)(6666004)(7696005)(478600001)(6916009); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Feb 2023 06:19:29.5340 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 9836a52a-7472-4b31-0d1e-08db099c6fc1 X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a; Ip=[216.228.118.233]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: BN8NAM11FT076.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR12MB7503 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 Add support for matching/encap/decap MPLSoUDP including multiple MPLS headers. Erez Shitrit (1): net/mlx5/hws: support matching on MPLSoUDP Michael Baum (1): net/mlx5: add MPLS tunnel support for HWS doc/guides/nics/mlx5.rst | 4 + doc/guides/rel_notes/release_23_03.rst | 4 + drivers/net/mlx5/hws/mlx5dr_definer.c | 183 ++++++++++++++++++++++++- drivers/net/mlx5/hws/mlx5dr_definer.h | 32 ++++- drivers/net/mlx5/mlx5_flow_hw.c | 1 + 5 files changed, 221 insertions(+), 3 deletions(-)