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 9857243BED; Mon, 26 Feb 2024 14:46:51 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A900742E95; Mon, 26 Feb 2024 14:46:41 +0100 (CET) Received: from NAM10-DM6-obe.outbound.protection.outlook.com (mail-dm6nam10on2079.outbound.protection.outlook.com [40.107.93.79]) by mails.dpdk.org (Postfix) with ESMTP id 55CA842E74 for ; Mon, 26 Feb 2024 14:46:36 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=GtbmhxLb+BwIGuloXhx1DMoKXKPM1LMpAkslPoPFOzNRrmW6BGnh0lKO+asorNTEkttPm03J5ZOrZGXMAQBbZ/q9uXe+t3u32HDqTGCK9EL9zEKYttdj0cbkvzefAWAzY+MYouXle/+WNhwcHxIlGoVcSYMFRYLNfmaN3Q26pTSZmKnsQ1eVXQSzqbooAU5Hn11w+pRVXfkPb0P5Ye6lmVHIczpS5TLCb6IFlqlFJmQtCkYfX30EP/T7J3D++FoArncW4FV9YTryIlFQJUd9wpCQ9GBP/pqp+n08mkFkrFPC2I4JVDcIvhk+N6k5OEtgcqxshYnNa9uM9YDOlcSO2g== 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=frQ7oWY9wqC5nCBiXHsCxToh7YGw/0S3pN/WrKWVMso=; b=B0G5PqRDLMIhr3NvosStDfuj5DWGtn7J8HEeQN28YqmS0f241ryCABa/gFifFudK0H4hCxCnsgB3Q4O0pHTu5m9MfkH7t66tSIFo4vkrB8UDJGzhUS7vMiTZ0BF2cQzDx6ez8glyoZWIp6XL3MFqUAFOZez8zvuQ4Yok1VIRwn2qf5OUEp3uTGwYDB11JG3blXSYFpMD0uwgt44ckMEXfNnM+E3RZNhB+t3JYjTeyiQNm24V6aCWEAzDenZl6USUUEnrEovHhiNBdpM0bkhUjSBeHNczel7T/bH+UPy9d41ENL7/icGiVINqktHqUXiJqqB6l7rRq3heWqLgvxWhPQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.161) 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=frQ7oWY9wqC5nCBiXHsCxToh7YGw/0S3pN/WrKWVMso=; b=qqUbxwgtu2vq7f4gmAl0gBCK07GP8KxOQGfLhhJBRBizDRVFY6Xg57wCoUIfi1jEKdRlDqXOHphtFNeM72sWh6Q80AqTMJ5ff7lVGZc/dE63N6mCe/RK02yGnxCyE9wPORD3b0E2RkMz42BD2PRxEoXtVKgUHEkKZkiMchkq/QX2VjEb9ucWvMZdzEHEwYDQ5Xs3cbs7HNRx8hHgrusC/nDe6YRjzXVZnviktufHEuo1r2rnaVCv6udlfeHo3BG/9KY4ixRCPJEbaQ2nHD8q4cP5RS9KzQvTkrcqzhMfsvBTO7O8alawwt7B1WsVHisy8XUJSjbdi0U5OgOzXMGGkA== Received: from BN9PR03CA0649.namprd03.prod.outlook.com (2603:10b6:408:13b::24) by BN9PR12MB5337.namprd12.prod.outlook.com (2603:10b6:408:102::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7316.36; Mon, 26 Feb 2024 13:46:32 +0000 Received: from BN2PEPF000044A7.namprd04.prod.outlook.com (2603:10b6:408:13b:cafe::32) by BN9PR03CA0649.outlook.office365.com (2603:10b6:408:13b::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7292.49 via Frontend Transport; Mon, 26 Feb 2024 13:46:32 +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 BN2PEPF000044A7.mail.protection.outlook.com (10.167.243.101) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7292.25 via Frontend Transport; Mon, 26 Feb 2024 13:46:32 +0000 Received: from rnnvmail203.nvidia.com (10.129.68.9) 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; Mon, 26 Feb 2024 05:46:15 -0800 Received: from rnnvmail203.nvidia.com (10.129.68.9) by rnnvmail203.nvidia.com (10.129.68.9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1258.12; Mon, 26 Feb 2024 05:46:14 -0800 Received: from nvidia.com (10.127.8.13) by mail.nvidia.com (10.129.68.9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1258.12 via Frontend Transport; Mon, 26 Feb 2024 05:46:12 -0800 From: Michael Baum To: CC: Matan Azrad , Dariusz Sosnowski , Raslan Darawsheh , Viacheslav Ovsiienko , Ori Kam , Suanming Mou Subject: [PATCH v3 4/7] common/mlx5: add IPv6 flow label PRM field Date: Mon, 26 Feb 2024 15:45:53 +0200 Message-ID: <20240226134556.2985054-5-michaelba@nvidia.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240226134556.2985054-1-michaelba@nvidia.com> References: <20240207155533.1582031-1-michaelba@nvidia.com> <20240226134556.2985054-1-michaelba@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-NV-OnPremToCloud: ExternallySecured X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BN2PEPF000044A7:EE_|BN9PR12MB5337:EE_ X-MS-Office365-Filtering-Correlation-Id: 2ce7c20e-b010-4942-5f0a-08dc36d1578c X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: XD2gZou2rHsUfDDVSU+jE+OQuzleRoej1G0wohGfEi7Xl4fHkV9jcOjIdEZcFfBM19H8cej0yektGWGxa3FBbAOfXleuz4mwY93MadoHAjsPnfwBht8FPmfPMfgzR0zadj/mkDyMnCEpGkEUHT9/SM5b8V8FdP0mQcjlIGDpz+5t/lmGOitYnnAgGPANOf35amYJUwyWNc22Iw1BE374chETHo3IRQBrVyIIQnxwWJSnaj+zFAE2Q2ap6gvvkvMqsIAoPewFdg3lodnvPl7vls5SmsfSqarz1XRLkos2t2wAYqV79PMNUUgobRlkRupY4e0g4cad5D+0X2DGnb4knjKXLFxL2TGnhJGdZWtsr63kud4hCV4i/LlqL88yzALKNUFkFvqrBMD4Bh1fDw8IY8cbmicrB/+Hwis+cPJkivXwrHtmb+eEM8EgTDX55VP6eUL/1WGIJKYIWv0y3yvGaDg81ME66LvwRYtcALsprTbv6ANc20Itqx+LuFdqicJajkxc/jSqEPLI87N68C9nKf9rB3oETf0xFkWz3DGVtDIEBLbaYGXqMexy2fh20Wc4obTPL2nMRkd3Nt7uuKXhwA3QGbikGyhT29d5T/D9/L5VxtypkYuCmPg7E3+O1F9cS/mUNphvKuSxGAtkj6Yj7eOSuUFTFbv2M6CdFloY7rKMm5Ol/GKMVQFyaDCOQFrtC6urYy5jofUj9auREVDDIIx9Wboo/JuHYjnOIYpGZqWusVnuH1GTttTcR4qQlOaX 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)(36860700004); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Feb 2024 13:46:32.1993 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 2ce7c20e-b010-4942-5f0a-08dc36d1578c 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: BN2PEPF000044A7.namprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN9PR12MB5337 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 IPv6 flow label field into PRM modify field list. The new values are "MLX5_MODI_OUT_IPV6_FLOW_LABEL" and "MLX5_MODI_IN_IPV6_FLOW_LABEL". Signed-off-by: Michael Baum Acked-by: Dariusz Sosnowski --- drivers/common/mlx5/mlx5_prm.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/common/mlx5/mlx5_prm.h b/drivers/common/mlx5/mlx5_prm.h index 6124af1857..92309d453b 100644 --- a/drivers/common/mlx5/mlx5_prm.h +++ b/drivers/common/mlx5/mlx5_prm.h @@ -864,6 +864,8 @@ enum mlx5_modification_field { MLX5_MODI_IN_IPV4_IHL, MLX5_MODI_IN_TCP_DATA_OFFSET, MLX5_MODI_OUT_IPSEC_NEXT_HDR, + MLX5_MODI_OUT_IPV6_FLOW_LABEL, + MLX5_MODI_IN_IPV6_FLOW_LABEL, MLX5_MODI_INVALID = INT_MAX, }; -- 2.25.1