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 0E32344153; Tue, 4 Jun 2024 14:16:01 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9A72C436E4; Tue, 4 Jun 2024 14:15:55 +0200 (CEST) Received: from NAM12-BN8-obe.outbound.protection.outlook.com (mail-bn8nam12on2055.outbound.protection.outlook.com [40.107.237.55]) by mails.dpdk.org (Postfix) with ESMTP id E646D4357B for ; Tue, 4 Jun 2024 14:15:53 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YpBo/R02deL6AnnNAtWe/9HzS0IJ5qOXbC4AmYHO6qqFkX8TsV1jKIB0l0FbDfu1Qcgf2HZ2JPjCUL9Tn/E/VpuKpj01nd7zhSt/qO7qU3IM3gxnCER0wnuteAp0rUNj9p2KwcFFN7dfUJRmCnFc9cNSam7FsoQ9WoSJ4QBQyvnE+GNamxVo65V5QTfp7dXi7VIJpCaNgSg0QbgypNsMCw5cH2I9jjmCZhwkCU0reOvC/uzwfd4/ej47fe4QZhEDT3bvJ6Be2b81no+G+tuy5jqRNXvfFDCRgRHV3MyvEET8Zx2F8Nq08yF4GgVrG1WZT3f9VLq/Yza5SY5M9YBWQw== 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=wRFc2TKYwCFi/R5sc84hViubiHa4eH8/HSJe9ure3NA=; b=RC/tP8JJ8qVTQuBUrFUyvGaDJtSeFGesqZ9c+lBDl1ncPKr1m4xv62qGUUxnRZ+GdczZoh55uL61WvzI6qNVbFNL3lYlsyA6oSVPSUlCOVPwbNnXbiR1H9Z/XkJGE2fRVLSP8z+ynELCeRd/L9MJsnwEAQVbXMh7mO0h/2LgciDd7NWXwu8d73oLzgPqpBeBMb/cqaAywYnYl9juQIKwsVrsDLaJScPNvt6n34t+DnPAma4JY+VMMrpgK5D18R/w/tSFDdicUVJ574aGPuytYB/JCZU/pRZoyaBgRluFOkK0uQMPtjiSrPQdwTV4jWuu33i4Mvt7IHkVRHE3z7aOyg== 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=wRFc2TKYwCFi/R5sc84hViubiHa4eH8/HSJe9ure3NA=; b=pghlNedn9dUnMh6USQt32Q5GNeqi2WQpvC+19/Y8AM65bB5aqiQ71iMQ+S5odmnkP1f4WvQpEe6wYcUl4yzZZt1v5KlEOd04Gh2rdMAHEpsfvR/nxa+5Dtn7lXnr4B5wdo/NrnX0XnRfcTQlUvlxGyaQdQPxt103lM8re0Rh7MSNt7tukRtirCMcopJIBJ9vUw/Y9C/pSmAv1tugjoLxxWtpL/pPGiGkgr/FI46f7Wg2w9nYy2YcnPbRMSBu5/ScK8DOI3+kwD2Rv4o9GO1ILz7pV8I9/EjvdovXaMW2NPWPDnyy/N/7ZAgrtzZymLy5lhpYfhyhz4qN+L8r3ENgWA== Received: from PH2PEPF00003850.namprd17.prod.outlook.com (2603:10b6:518:1::72) by CYXPR12MB9444.namprd12.prod.outlook.com (2603:10b6:930:d6::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7633.22; Tue, 4 Jun 2024 12:15:51 +0000 Received: from CY4PEPF0000FCBE.namprd03.prod.outlook.com (2a01:111:f403:f910::) by PH2PEPF00003850.outlook.office365.com (2603:1036:903:48::3) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7633.31 via Frontend Transport; Tue, 4 Jun 2024 12:15:51 +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 CY4PEPF0000FCBE.mail.protection.outlook.com (10.167.242.100) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7633.15 via Frontend Transport; Tue, 4 Jun 2024 12:15:51 +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.1544.4; Tue, 4 Jun 2024 05:15:30 -0700 Received: from nvidia.com (10.126.231.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.1544.4; Tue, 4 Jun 2024 05:15:27 -0700 From: Rongwei Liu To: , , , , , CC: Dariusz Sosnowski , Aman Singh , Yuying Zhang , "Ferruh Yigit" , Andrew Rybchenko Subject: [PATCH v3 2/3] ethdev: add VXLAN last reserved field Date: Tue, 4 Jun 2024 15:15:01 +0300 Message-ID: <20240604121502.376102-3-rongweil@nvidia.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20240604121502.376102-1-rongweil@nvidia.com> References: <2585221.otXNkdZ6W1@thomas> <20240604121502.376102-1-rongweil@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.126.231.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: CY4PEPF0000FCBE:EE_|CYXPR12MB9444:EE_ X-MS-Office365-Filtering-Correlation-Id: 13fdd673-498c-4cba-e5ae-08dc8490136d 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; ARA:13230031|36860700004|82310400017|1800799015|376005; X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?MsBpleZRxFKCoXQkhpVKqL7dOtsznsCT8rjY3Yuorq2+DKaf+SG+sZKMRamv?= =?us-ascii?Q?OBEMbWCrPShbCE/9ki+BdEZEphKhlJGb4Ctlvs73hSwbYFMVEFnwjwIR526D?= =?us-ascii?Q?VUGYAluS7xC3nECY58gp9tbAwff1GEhqNj8FJ7gMTetYCKyF37IG8JEMNpFv?= =?us-ascii?Q?VTOdqQdO8JmUrsyqWSO+FFsw35Wi0OP7Rf2qGK7zc/ewNgsfVg12mGWfe7ev?= =?us-ascii?Q?CTOAoykNeB4qJShSUgfk1EslXxkvwS8i23+zOoiTervzFLDt8xcZWkbrBz4C?= =?us-ascii?Q?E016Esg3h7idRPUAyErZi8e7yV7VXCbgM6V0m3iwkNs19mWdRQ7kgqRa78x9?= =?us-ascii?Q?gIxVlKlk/geQUw5IOOuo8ojGlVvWV9fFACW5TbUyZM6rRU0R6sR/mvtdGrx1?= =?us-ascii?Q?aBGZy+BbECJ5zJH0ycFbTtNQ4UIsQJNXcSpEu9Udn5aHWDdQhFNYEK67PGJf?= =?us-ascii?Q?cWrzMG56sQmjbwo4VjJBQUS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q?05Cvk3fUBHbCzM4DrBS4MZNhUblg?= 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)(82310400017)(1800799015)(376005); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Jun 2024 12:15:51.4331 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 13fdd673-498c-4cba-e5ae-08dc8490136d 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: CY4PEPF0000FCBE.namprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CYXPR12MB9444 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 VXLAN last reserved byte in rte flow packet field. Add 'vxlan_last_rsvd' as the modification command string. Signed-off-by: Rongwei Liu Acked-by: Dariusz Sosnowski --- app/test-pmd/cmdline_flow.c | 1 + lib/ethdev/rte_flow.h | 1 + 2 files changed, 2 insertions(+) diff --git a/app/test-pmd/cmdline_flow.c b/app/test-pmd/cmdline_flow.c index 775ce20fc4..f3d6a2cfd7 100644 --- a/app/test-pmd/cmdline_flow.c +++ b/app/test-pmd/cmdline_flow.c @@ -1006,6 +1006,7 @@ static const char *const flow_field_ids[] = { "ipv6_flow_label", "ipv6_traffic_class", "esp_spi", "esp_seq_num", "esp_proto", "random", + "vxlan_last_rsvd", NULL }; diff --git a/lib/ethdev/rte_flow.h b/lib/ethdev/rte_flow.h index 6e8ab1d4c7..5a1dbfc084 100644 --- a/lib/ethdev/rte_flow.h +++ b/lib/ethdev/rte_flow.h @@ -2428,6 +2428,7 @@ enum rte_flow_field_id { RTE_FLOW_FIELD_ESP_SEQ_NUM, /**< ESP Sequence Number. */ RTE_FLOW_FIELD_ESP_PROTO, /**< ESP next protocol value. */ RTE_FLOW_FIELD_RANDOM, /**< Random value. */ + RTE_FLOW_FIELD_VXLAN_RSVD1, /**< VXLAN last reserved byte. */ }; /** -- 2.27.0