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 AD61C43A3A; Tue, 6 Feb 2024 15:40:44 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id CAEEE427E2; Tue, 6 Feb 2024 15:40:26 +0100 (CET) Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11on2085.outbound.protection.outlook.com [40.107.223.85]) by mails.dpdk.org (Postfix) with ESMTP id B9D2941157 for ; Tue, 6 Feb 2024 15:40:23 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=UGa0tC29zpIbejuYxLX3GCzdh1hEwhavcHU+A5kjNlPNDe/SB2ki4yW/ahVx5NyyngOJg0bKj0D1ER+wXN8GEk5WF3aVfSeKxXzyZXxeVdS5IxZEKM41ROJ5wnanbmXTuwwLb6tAsqtla8zc4E1FuzDhfjyEJLYj7iDMr+LZ55ISiWvOJDG8d3mjv7LWjEQJESZDnYbm4V+PkZjRwUu1idwTnA5Z+PemCMWJjvp5mku+mgAYoo2JQ5IE8aGowE9EEEDKGAdybGFeTq4I+924UVZpvHS5HCx1o4hFX/54yk25bH5lNUMfq7BTSbqociG2bpZmDfznbVqYtnOHtGhc8A== 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=kYJpe9snfvocXgatSnYM0BGLAo4+oM64cYUv7ieT/zE=; b=f/YZzZk9kUV8ootnw+JNO03I7kmhl1wSozBVgPlty7pMOukujMbTLF43wu8Obvw5vQ1R92HYTt90bODXTbU14MXKD1HjwKIZCAe0wCQM2xQXGkMzJ4ZAXH42V3RE0bMXpgxjhFLhbV+N+kJ2wCo+ChsuDrzqzfKyIOkV2yCC25cr3N0YRclwQa7IhQxYTPL10RKSXZyGWwzrB48V/iL+39sGSh/JHuQuGXmSmlsbBiIH0HqgFCDYfFlNbVU7AUurLbpsezf673gVQZU0qz5CEyQkBkN5sp8BDRP2MBekuCFMG59wg29TbH6t2uEXlrNHJUIyr7H8fZII7lfqg8YLVQ== 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=kYJpe9snfvocXgatSnYM0BGLAo4+oM64cYUv7ieT/zE=; b=B16Hi21+emN7X3/URv46jb98OPVtfgoQLSiBknBjeTW36Dbn6eqWLlpw1303leWdnHBA4cWUZC69oURtAPRLg5vk39GvW7iHCSV6fdQzr5Ibwk3zPkTiKaDDsx+oCmsJd4er1sPffZn/hvLVcGizf0a6+9CMgrC33XCCAsKNWWrbPqPYlf8ZDRZ5sCgx9ykIhXt6qYE9XQVPA0LtPgZuHGu3Mgx6Bg0QCV4yv0eUzNHqeKUYydjqdbBDJKqb7n/kCbBZ+e1PPkFs3YTKugVGei2TOCCktEK3CttOoptkjKknTtTAhDKQ2Tn1em7QbJY/ZuX8SI6IVgBxtJofya/NIw== Received: from DS7PR03CA0342.namprd03.prod.outlook.com (2603:10b6:8:55::14) by CH2PR12MB4278.namprd12.prod.outlook.com (2603:10b6:610:ab::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7270.13; Tue, 6 Feb 2024 14:40:21 +0000 Received: from DS2PEPF0000343B.namprd02.prod.outlook.com (2603:10b6:8:55:cafe::97) by DS7PR03CA0342.outlook.office365.com (2603:10b6:8:55::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7249.36 via Frontend Transport; Tue, 6 Feb 2024 14:40:21 +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 DS2PEPF0000343B.mail.protection.outlook.com (10.167.18.38) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7249.19 via Frontend Transport; Tue, 6 Feb 2024 14:40:21 +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.41; Tue, 6 Feb 2024 06:40:07 -0800 Received: from rnnvmail205.nvidia.com (10.129.68.10) 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.1258.12; Tue, 6 Feb 2024 06:40:07 -0800 Received: from nvidia.com (10.127.8.13) by mail.nvidia.com (10.129.68.10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.41 via Frontend Transport; Tue, 6 Feb 2024 06:40:05 -0800 From: Michael Baum To: CC: Matan Azrad , Dariusz Sosnowski , Raslan Darawsheh , Viacheslav Ovsiienko , Ori Kam , Suanming Mou Subject: [PATCH v1 4/7] common/mlx5: add IPv6 flow label PRM field Date: Tue, 6 Feb 2024 16:39:47 +0200 Message-ID: <20240206143950.1499532-5-michaelba@nvidia.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240206143950.1499532-1-michaelba@nvidia.com> References: <20240206143950.1499532-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: DS2PEPF0000343B:EE_|CH2PR12MB4278:EE_ X-MS-Office365-Filtering-Correlation-Id: 650ee988-c30e-42b8-aa19-08dc27218be6 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: bvym5o0RKGPiwoyc1wWAx2jxhasMcd0kcFNviGEe+gHgXtOpDDGQolQmmSMXnxWCBgWgagnEGQ22LfR5djYgN9IieA4BHrWN2wi3xDBqIPxeeciOZvsutHSdgHgTaoRU8yM9fGy+LKRyNy4uqirBL1NvUPgQMc7TNwr2RiRBs0pdPSZFV89iNqmYY/w4Vyn1PrUuHbN3X1SU54JENQpPTw4ugDoIHvW/re3he4BsDdlSR/7wwtdByN2ltLbZXVhAbNMx4dUiJh0odXKH/AdpOTmWRMqSj77WrF5qGeXDK5CLvQhvOJg4vg5C8GhJra74RyoANYyWSIXeg8c3FmQenjQoBndacVgop56LYJu/0kLInYnRX9wjHRPNMBWQK31v4QJChArIWXnskFWet6B1anPIKotLK/5gM+vTkmzQbujXce92vRAGUU9XNxksm9DLf5VQZcvwzezm2kTdT3/GR/uCoc1hGOZK2hn9oTMB9KRXcagK7E4IiFcHw/rF9UxDPLF+s/xqbB1B9m00BbNkBTAhPXIuv94UalUCOND7cbv35yt5Y5XR8/xS1xZhZOubtCOJZlio68WhiYhJqEAZwS7ZbtP4vKZJAOnz0JvVa5QTKH8hvz+S0olMKnloifXrc1617mvC4UzXhlJ19DNDGBY1VZbu3xbrwECkUDFYP5We7xoeuBj+3DqjQm47wxtqnohIQhJJaOR8evoGofMkjiIhiRdQGoZA/sWCGNQH3ZZQ8V0RMUVTfpw3VFoVuP5Z 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)(346002)(39860400002)(136003)(396003)(376002)(230922051799003)(1800799012)(451199024)(186009)(82310400011)(64100799003)(40470700004)(46966006)(36840700001)(4326008)(5660300002)(478600001)(8936002)(6666004)(107886003)(336012)(70586007)(70206006)(316002)(6916009)(6286002)(47076005)(8676002)(41300700001)(36756003)(82740400003)(26005)(54906003)(426003)(2616005)(36860700001)(7636003)(1076003)(356005)(86362001)(7696005)(55016003)(4744005)(2906002)(40480700001)(40460700003); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Feb 2024 14:40:21.2915 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 650ee988-c30e-42b8-aa19-08dc27218be6 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: DS2PEPF0000343B.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH2PR12MB4278 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 7ac43f42b8..afd0001e8f 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