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 ADDDC43AA0; Wed, 7 Feb 2024 16:56:16 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6D0DE42DF7; Wed, 7 Feb 2024 16:56:02 +0100 (CET) Received: from NAM11-BN8-obe.outbound.protection.outlook.com (mail-bn8nam11on2041.outbound.protection.outlook.com [40.107.236.41]) by mails.dpdk.org (Postfix) with ESMTP id 0301842DE1 for ; Wed, 7 Feb 2024 16:56:01 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=SGaYiuLMqgOjFUbTNqZEgQbFX+g0/KgX7ETXxg7O/M7JkKWZ656yc8dd8mMXs+nwQ0Jv/mOyfZaygJig0/VNhnH0A27fidJuGgrUBtc/eVw2u/XddU7e8lRI5yK9Xpufs8woMS66fYmxLZe9wgaT8P9E+moVmhK0uRz7HTsxd+cb8cCgucivscMTTy4T93UK2caSRk1RuMi4VN3GBwL8fwz8TpIa9dO7Nf0wZQGbT3iUeA3Tlr78sXcCEoiPslQaocLKnR4gcUisNG+rEdpSWVeo4Io9T8iQgtNJgEwPRxe0dyaZQ4Bd3BeamfOEQ/V858Y9dwuwNehTY97nnW/ekw== 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=CW8WcSXA11ou1pZkGvV5J8iuV6WE4EnF6BMm3CIlffk=; b=duhIeo/WomsGP1buP8cVJeKR1fqc8CzQrsv2fVlf9Rlb/t6wKslqQm/c8RQvGGW9yhpRqE/jmEYeBBA3MQmAGxYAkdD0G9yeyXRk3v+JWcwpAfNi/WCp5QOcKPa8CTyVoifaHQo/8gBCUxXILHHGMHIIRTyL1u+R9o+cCGh/6hqtFsFwGs10hl21nVHaydySLrZPdU8xVBBZMyVHYTZptBplH75El1LVdECM9qX6rP6LPoxwqTkaT1XNbU8B48hF0k4UForycHoagTGgy7/X9DKYIbAbK/u5S6qBA5arnune8rz/O+P5B/r0+2sygaPb178hlcAtXNjeTA1yp3LJTw== 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=CW8WcSXA11ou1pZkGvV5J8iuV6WE4EnF6BMm3CIlffk=; b=hLwgKZWmWrPY7UFAt4AE4CLTKlwdHsGO7q+hHMzDlDWS39jv/LmFJlocADhWtiEIbU5hqMLdmSzizaWdfzxjOyq/p9k9vDcBjOn64HXRyfohaDBBbeluF9hckJnM5QiwhlTLazWfaNR4miSPbNF+CXq4K8PMgCp7runHMkqElBS/AhUeWTWLGnO5twxmeoHRBApqtY0otg9WiS4u2gc6AQOlL+h8TmK8afosrUfVkZXVocEdLpT8JWPIlTsKiHJLVjJGg5gWMKVWOn3abTa1HNQqHp1e+2LYg3Xs9IAF9xnsHZWs2Thxe5tUvhtz85Zk7oimgYmGyerypdPc6adCWA== Received: from PH8PR07CA0030.namprd07.prod.outlook.com (2603:10b6:510:2cf::16) by DS0PR12MB7583.namprd12.prod.outlook.com (2603:10b6:8:13f::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7270.16; Wed, 7 Feb 2024 15:55:58 +0000 Received: from SA2PEPF000015CC.namprd03.prod.outlook.com (2603:10b6:510:2cf:cafe::48) by PH8PR07CA0030.outlook.office365.com (2603:10b6:510:2cf::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7249.37 via Frontend Transport; Wed, 7 Feb 2024 15:55:58 +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 SA2PEPF000015CC.mail.protection.outlook.com (10.167.241.202) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7249.19 via Frontend Transport; Wed, 7 Feb 2024 15:55:57 +0000 Received: from rnnvmail203.nvidia.com (10.129.68.9) 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.41; Wed, 7 Feb 2024 07:55:49 -0800 Received: from rnnvmail202.nvidia.com (10.129.68.7) 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.986.41; Wed, 7 Feb 2024 07:55:49 -0800 Received: from nvidia.com (10.127.8.13) by mail.nvidia.com (10.129.68.7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1258.12 via Frontend Transport; Wed, 7 Feb 2024 07:55:47 -0800 From: Michael Baum To: CC: Matan Azrad , Dariusz Sosnowski , Raslan Darawsheh , Viacheslav Ovsiienko , Ori Kam , Suanming Mou Subject: [PATCH v2 4/7] common/mlx5: add IPv6 flow label PRM field Date: Wed, 7 Feb 2024 17:55:30 +0200 Message-ID: <20240207155533.1582031-5-michaelba@nvidia.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240207155533.1582031-1-michaelba@nvidia.com> References: <20240206143950.1499532-1-michaelba@nvidia.com> <20240207155533.1582031-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: SA2PEPF000015CC:EE_|DS0PR12MB7583:EE_ X-MS-Office365-Filtering-Correlation-Id: d5c2c576-50e7-4036-ab61-08dc27f5464f X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: tLLDLI53fQZvOpp3/+EFFyl5qI/TAs+Q3U8rvVS8WcgBrOfcO45zmRVywstIauNocfRE3COFCu2PpvVzCHbQFYa31lX4xVGsI7f8kZkL2OlwEr979/ZpDdyu7bLN45ci/yPWi2hOYhB3w40ac7SJwuBoRHq23WOzRwKaQqtgx/TFLHelRn0zzabyHGtuQkl1KupdyOAty3nehA1MzRctm4ouNKpyDL3/AYOI/jaNYarp8KVMqySfl9t1DJhRjXOZ8sOapL3ow19Y+1CahpdNw1K7BmcZTok5mLkzovJUkU/X+qkrsfyhwB8rMuE1F7LuMdH2R/gm61s3mctVzwh2omcRS9uSeX8Q9GDc/tOpQyfBOeLe2cguIkWm+9yCnbDAjb6Q1pZHLeaHfJiSrkoAwR/AxyIVdNBo5I86NzGuJEzT56lUZGrC4gFzAlKT6SBHNckJNO6HTbvkbbqhK+WA7JPNPlQKcOKUKogrVyr6TC5Z/5eYdhInAUk9VtIRa2Yzesc1RYoDXDMV8RY+7giD0X3me6/89BDJ2O4tXQ7r3A2LAXiUkQqwGA42tUTOJWqhQZgLMPcXHjRvbhNhtrVR/sI+mgU0a0diPpsqVivZlfZlBY6d3bWgdjV/lJ73/khN+i/8nDOZjGDjHlimzdTdvuaRKneJ/HTbjHC0P1VuoBtTMFtQ7S5givj2vJtye9NE7Iha4ls2bpUZnWueexL/kiYEq4eL1LWFwv8INeCK4j/7TubCjaX2qiPwuHpl290a 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:(13230031)(4636009)(39860400002)(136003)(376002)(396003)(346002)(230922051799003)(64100799003)(1800799012)(82310400011)(451199024)(186009)(46966006)(40470700004)(36840700001)(26005)(316002)(6916009)(54906003)(7636003)(356005)(8676002)(82740400003)(4326008)(6666004)(7696005)(47076005)(107886003)(5660300002)(6286002)(1076003)(86362001)(70206006)(55016003)(478600001)(70586007)(2906002)(336012)(36860700001)(8936002)(2616005)(426003)(4744005)(40480700001)(40460700003)(36756003)(41300700001); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Feb 2024 15:55:57.8302 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: d5c2c576-50e7-4036-ab61-08dc27f5464f 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: SA2PEPF000015CC.namprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS0PR12MB7583 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 --- 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 c6d409833a..59d885e43b 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