get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

GET /api/patches/129101/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 129101,
    "url": "http://patchwork.dpdk.org/api/patches/129101/?format=api",
    "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20230629072125.20369-3-igozlan@nvidia.com/",
    "project": {
        "id": 1,
        "url": "http://patchwork.dpdk.org/api/projects/1/?format=api",
        "name": "DPDK",
        "link_name": "dpdk",
        "list_id": "dev.dpdk.org",
        "list_email": "dev@dpdk.org",
        "web_url": "http://core.dpdk.org",
        "scm_url": "git://dpdk.org/dpdk",
        "webscm_url": "http://git.dpdk.org/dpdk",
        "list_archive_url": "https://inbox.dpdk.org/dev",
        "list_archive_url_format": "https://inbox.dpdk.org/dev/{}",
        "commit_url_format": ""
    },
    "msgid": "<20230629072125.20369-3-igozlan@nvidia.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20230629072125.20369-3-igozlan@nvidia.com",
    "date": "2023-06-29T07:21:23",
    "name": "[3/5] net/mlx5/hws: remove duplicated reformat type",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "9132b0b6d4697a649d0bbd7ac696c0c8ab30e6fc",
    "submitter": {
        "id": 3118,
        "url": "http://patchwork.dpdk.org/api/people/3118/?format=api",
        "name": "Itamar Gozlan",
        "email": "igozlan@nvidia.com"
    },
    "delegate": {
        "id": 3268,
        "url": "http://patchwork.dpdk.org/api/users/3268/?format=api",
        "username": "rasland",
        "first_name": "Raslan",
        "last_name": "Darawsheh",
        "email": "rasland@nvidia.com"
    },
    "mbox": "http://patchwork.dpdk.org/project/dpdk/patch/20230629072125.20369-3-igozlan@nvidia.com/mbox/",
    "series": [
        {
            "id": 28706,
            "url": "http://patchwork.dpdk.org/api/series/28706/?format=api",
            "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=28706",
            "date": "2023-06-29T07:21:21",
            "name": "[1/5] net/mlx5/hws: remove uneeded new line for DR_LOG",
            "version": 1,
            "mbox": "http://patchwork.dpdk.org/series/28706/mbox/"
        }
    ],
    "comments": "http://patchwork.dpdk.org/api/patches/129101/comments/",
    "check": "success",
    "checks": "http://patchwork.dpdk.org/api/patches/129101/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<dev-bounces@dpdk.org>",
        "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])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 5451F42D88;\n\tThu, 29 Jun 2023 09:27:07 +0200 (CEST)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id B32ED42D16;\n\tThu, 29 Jun 2023 09:26:48 +0200 (CEST)",
            "from NAM02-DM3-obe.outbound.protection.outlook.com\n (mail-dm3nam02on2047.outbound.protection.outlook.com [40.107.95.47])\n by mails.dpdk.org (Postfix) with ESMTP id 2E0F041104\n for <dev@dpdk.org>; Thu, 29 Jun 2023 09:22:15 +0200 (CEST)",
            "from DM6PR03CA0076.namprd03.prod.outlook.com (2603:10b6:5:333::9) by\n MW4PR12MB6973.namprd12.prod.outlook.com (2603:10b6:303:20a::15) with\n Microsoft SMTP Server (version=TLS1_2,\n cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6521.23; Thu, 29 Jun\n 2023 07:22:13 +0000",
            "from DM6NAM11FT062.eop-nam11.prod.protection.outlook.com\n (2603:10b6:5:333:cafe::6b) by DM6PR03CA0076.outlook.office365.com\n (2603:10b6:5:333::9) with Microsoft SMTP Server (version=TLS1_2,\n cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6544.20 via Frontend\n Transport; Thu, 29 Jun 2023 07:22:12 +0000",
            "from mail.nvidia.com (216.228.117.161) by\n DM6NAM11FT062.mail.protection.outlook.com (10.13.173.40) with Microsoft SMTP\n Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id\n 15.20.6500.49 via Frontend Transport; Thu, 29 Jun 2023 07:22:12 +0000",
            "from rnnvmail201.nvidia.com (10.129.68.8) by mail.nvidia.com\n (10.129.200.67) with Microsoft SMTP Server (version=TLS1_2,\n cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.5; Thu, 29 Jun 2023\n 00:22:00 -0700",
            "from rnnvmail204.nvidia.com (10.129.68.6) by rnnvmail201.nvidia.com\n (10.129.68.8) with Microsoft SMTP Server (version=TLS1_2,\n cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.37; Thu, 29 Jun\n 2023 00:22:00 -0700",
            "from nvidia.com (10.127.8.12) by mail.nvidia.com (10.129.68.6) with\n Microsoft SMTP Server (version=TLS1_2,\n cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.37 via Frontend\n Transport; Thu, 29 Jun 2023 00:21:57 -0700"
        ],
        "ARC-Seal": "i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none;\n b=Fo9VLvarHnLxk6M4CXURV1JsaAQMzdM2uyXX2VHeXWd5g1g4xUZEN5PMB0/SvTebNNlphNS+DmpN8vLQE5sj607k97QyA3alUhX7xN3eNajPiqptV5tpQI9WSe4VdZ68laSAn6uOXmOqez3pqIUW4LltkOJENPKRtTGj1kDseSiP1t7VnOMjy6emqjBwqNCaaWGzAooe0kA2TX+2GQhskDFqsMoGhIYmLDcInVs9DI7grn7LlfqLqlUyf/eT3ZrlYKgC1kFJNXdd/y+3ZytZV6PHtJqL7L4TZL5spYjAzmv/m6alOInBIMuHZFS5SnK8Uh8q5MX7VkHKLXONEk/qlg==",
        "ARC-Message-Signature": "i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com;\n s=arcselector9901;\n 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;\n bh=GLzzEgQNsbxutZeZw57PT42Jq5feXMH20O8cIGhO3Po=;\n b=mwTN+mO3uPl2oCb+frsjnIv23I5CSYEzwFwmS9yMMVdApCzF7uMw4V5xQ8kJoMAL78weihD0BeHjEp2TsAZuX8a2nWwdBEoA8gBcViU8t1c+i9veqrWcMSB+FGue4eN4LwmTXQiHDjnGQ8H8I9ud6D0twZpQL2UkCYS5cpvbuFjomRhZ6ToiZmrGdyyHIRdPCpepMpHVVvGCPYsBryLlxQLVz+RDvcDStJhF+wUV4CmPV+tO/tdcXQvT4mDhRuweZ5xkOK3sznLTytbsbQu3YBJIRlxz56xjlEXthhJlvTU3bYTzJHAiVVbEM/+h/+C0of9cfcer78iyHkZHXtGS/A==",
        "ARC-Authentication-Results": "i=1; mx.microsoft.com 1; spf=pass (sender ip is\n 216.228.117.161) smtp.rcpttodomain=monjalon.net smtp.mailfrom=nvidia.com;\n dmarc=pass (p=reject sp=reject pct=100) action=none header.from=nvidia.com;\n dkim=none (message not signed); arc=none",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com;\n s=selector2;\n h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;\n bh=GLzzEgQNsbxutZeZw57PT42Jq5feXMH20O8cIGhO3Po=;\n b=ASrqNbr6bGM8LV2lEnGo/GNYh9LmIMSAGXEak1aMEGStAfDGDD+eAxtv/XzdmXrnLBH/3zQHPJJVVE55bv7+ZyszqVTWIuxli2qf9e6KoQesfxQUZpeLPKbFh6fhVEQGsOAjzHpI72tCyN5GDU34YcUPmnVr8aPspIeeDA5cMdq4qrneQ8O3DFxY/WUsaH7R28vWZQLl9m1kT6AmKA4YtM7s5WIdEQdJIpvZdy7fBtr0zlQlJjU706uJr+j51Jr97hFFsWahjSB8ENABMYpC7oWBdkyCicL5Fz6NxrhcTjBapnX0PqBROEg8uM4gcyvJh1RWU2vRiu+jzgRHgFI0WA==",
        "X-MS-Exchange-Authentication-Results": "spf=pass (sender IP is 216.228.117.161)\n smtp.mailfrom=nvidia.com;\n dkim=none (message not signed)\n header.d=none;dmarc=pass action=none header.from=nvidia.com;",
        "Received-SPF": "Pass (protection.outlook.com: domain of nvidia.com designates\n 216.228.117.161 as permitted sender) receiver=protection.outlook.com;\n client-ip=216.228.117.161; helo=mail.nvidia.com; pr=C",
        "From": "Itamar Gozlan <igozlan@nvidia.com>",
        "To": "<valex@nvidia.com>, <viacheslavo@nvidia.com>, <matan@nvidia.com>,\n <thomas@monjalon.net>, <suanmingm@nvidia.com>, Ori Kam <orika@nvidia.com>",
        "CC": "<dev@dpdk.org>, Shun Hao <shunh@nvidia.com>",
        "Subject": "[PATCH 3/5] net/mlx5/hws: remove duplicated reformat type",
        "Date": "Thu, 29 Jun 2023 10:21:23 +0300",
        "Message-ID": "<20230629072125.20369-3-igozlan@nvidia.com>",
        "X-Mailer": "git-send-email 2.18.1",
        "In-Reply-To": "<20230629072125.20369-1-igozlan@nvidia.com>",
        "References": "<20230629072125.20369-1-igozlan@nvidia.com>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain",
        "X-NV-OnPremToCloud": "ExternallySecured",
        "X-EOPAttributedMessage": "0",
        "X-MS-PublicTrafficType": "Email",
        "X-MS-TrafficTypeDiagnostic": "DM6NAM11FT062:EE_|MW4PR12MB6973:EE_",
        "X-MS-Office365-Filtering-Correlation-Id": "2a91b787-fb76-4444-57c6-08db78718ea5",
        "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;",
        "X-Microsoft-Antispam-Message-Info": "\n 6cP1AYsGyr/1VzlJW8WtCNTuvofe9nNbS9qeKl8bEU8AUqaNleB84RK52OjKvaYQh3LZ/8XnFSlhrR4GUya5ig3hGj4oq/ls0c0pLxuw57tAS9O+Yvcr+2HjauiGb9fJneTbnXw74Yr1J9yxdVaNo0okonkPlcMPQteuldAqWxgKRm0rEAAtPTpnK9TBo8yYLrVgVgBJV4X6mykcznLScyau22owB3Cnd9D2ljXygEKLYACrPmv3FXAhCZLnCb3g+EkGnTpebS+/8tZO9UZh9aJZ0E2Stt7skovPGKGEUgz68qR6E2At9LySAGJJwS61rgalkJguL8b1DYJBgp2D1qwYU4NskWMzDG1h+gQt06EKISP5M1edXuhYW4S32unCzpy/Qv1o5rUjCS+AMJyVNuL+5j6Kpcr/IV1AQzNz7gGGs3hG2/uRenVTu7VjR4AmOkcFNLIQhvsdaIWC+dnYUetf/joyvADHnHyjDEn6MBU8VHrkF73qHjzY4+77yQx/tEDcNHtMXlU4eu9KIHo1h8wmlSrjB+Sgb0JztcLFv1kjedK5F4TEScxcokUhNJJn4gu6BV7yef/kghpTcNzsF2GJxx19XApWvRDIcEZiEaKMcmbDogGG6Sx1zRLd8/gRakRmH85/J1kVh7qAn0GUmOr6bXEY4vTXHmbmyYTKQepC9Ebe5JosgZ4BtTOthXhuE4vpS9z5bxDklKEVHarDCc+P5Pw7Hll4DZvYzmZcYgTzM5H4dKZyrg4wWuorzwqV",
        "X-Forefront-Antispam-Report": "CIP:216.228.117.161; CTRY:US; LANG:en; SCL:1;\n SRV:;\n IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:dc6edge2.nvidia.com; CAT:NONE;\n SFS:(13230028)(4636009)(39860400002)(396003)(136003)(376002)(346002)(451199021)(46966006)(36840700001)(40470700004)(5660300002)(4326008)(70206006)(478600001)(36756003)(316002)(6636002)(70586007)(8936002)(8676002)(2906002)(40460700003)(110136005)(36860700001)(30864003)(54906003)(41300700001)(82310400005)(7696005)(40480700001)(55016003)(186003)(86362001)(47076005)(6666004)(426003)(26005)(336012)(6286002)(356005)(1076003)(107886003)(2616005)(82740400003)(83380400001)(7636003);\n DIR:OUT; SFP:1101;",
        "X-OriginatorOrg": "Nvidia.com",
        "X-MS-Exchange-CrossTenant-OriginalArrivalTime": "29 Jun 2023 07:22:12.1332 (UTC)",
        "X-MS-Exchange-CrossTenant-Network-Message-Id": "\n 2a91b787-fb76-4444-57c6-08db78718ea5",
        "X-MS-Exchange-CrossTenant-Id": "43083d15-7273-40c1-b7db-39efd9ccc17a",
        "X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp": "\n TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a; Ip=[216.228.117.161];\n Helo=[mail.nvidia.com]",
        "X-MS-Exchange-CrossTenant-AuthSource": "\n DM6NAM11FT062.eop-nam11.prod.protection.outlook.com",
        "X-MS-Exchange-CrossTenant-AuthAs": "Anonymous",
        "X-MS-Exchange-CrossTenant-FromEntityHeader": "HybridOnPrem",
        "X-MS-Exchange-Transport-CrossTenantHeadersStamped": "MW4PR12MB6973",
        "X-Mailman-Approved-At": "Thu, 29 Jun 2023 09:26:43 +0200",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.29",
        "Precedence": "list",
        "List-Id": "DPDK patches and discussions <dev.dpdk.org>",
        "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n <mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "List-Archive": "<http://mails.dpdk.org/archives/dev/>",
        "List-Post": "<mailto:dev@dpdk.org>",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n <mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org"
    },
    "content": "From: Shun Hao <shunh@nvidia.com>\n\nCurrently there are two enum definitions for reformat type:\nmlx5dr_action_reformat_type and mlx5dr_action_type. They are actually\nthe same. This patch remove the unnecessary mlx5dr_action_reformat_type\nso use only one definition for reformat type.\n\nSigned-off-by: Shun Hao <shunh@nvidia.com>\n---\n drivers/net/mlx5/hws/mlx5dr.h         |  19 ++---\n drivers/net/mlx5/hws/mlx5dr_action.c  | 110 ++++++++++----------------\n drivers/net/mlx5/hws/mlx5dr_debug.c   |   8 +-\n drivers/net/mlx5/hws/mlx5dr_pat_arg.c |   2 +-\n drivers/net/mlx5/mlx5_flow_hw.c       |  34 ++++----\n 5 files changed, 68 insertions(+), 105 deletions(-)",
    "diff": "diff --git a/drivers/net/mlx5/hws/mlx5dr.h b/drivers/net/mlx5/hws/mlx5dr.h\nindex 7942fb0a8f..7d5af4c9bb 100644\n--- a/drivers/net/mlx5/hws/mlx5dr.h\n+++ b/drivers/net/mlx5/hws/mlx5dr.h\n@@ -29,10 +29,10 @@ enum mlx5dr_matcher_resource_mode {\n \n enum mlx5dr_action_type {\n \tMLX5DR_ACTION_TYP_LAST,\n-\tMLX5DR_ACTION_TYP_TNL_L2_TO_L2,\n-\tMLX5DR_ACTION_TYP_L2_TO_TNL_L2,\n-\tMLX5DR_ACTION_TYP_TNL_L3_TO_L2,\n-\tMLX5DR_ACTION_TYP_L2_TO_TNL_L3,\n+\tMLX5DR_ACTION_TYP_REFORMAT_TNL_L2_TO_L2,\n+\tMLX5DR_ACTION_TYP_REFORMAT_L2_TO_TNL_L2,\n+\tMLX5DR_ACTION_TYP_REFORMAT_TNL_L3_TO_L2,\n+\tMLX5DR_ACTION_TYP_REFORMAT_L2_TO_TNL_L3,\n \tMLX5DR_ACTION_TYP_DROP,\n \tMLX5DR_ACTION_TYP_TIR,\n \tMLX5DR_ACTION_TYP_FT,\n@@ -62,13 +62,6 @@ enum mlx5dr_action_flags {\n \tMLX5DR_ACTION_FLAG_SHARED = 1 << 6,\n };\n \n-enum mlx5dr_action_reformat_type {\n-\tMLX5DR_ACTION_REFORMAT_TYPE_TNL_L2_TO_L2,\n-\tMLX5DR_ACTION_REFORMAT_TYPE_L2_TO_TNL_L2,\n-\tMLX5DR_ACTION_REFORMAT_TYPE_TNL_L3_TO_L2,\n-\tMLX5DR_ACTION_REFORMAT_TYPE_L2_TO_TNL_L3,\n-};\n-\n enum mlx5dr_action_aso_meter_color {\n \tMLX5DR_ACTION_ASO_METER_COLOR_RED = 0x0,\n \tMLX5DR_ACTION_ASO_METER_COLOR_YELLOW = 0x1,\n@@ -487,7 +480,7 @@ mlx5dr_action_create_counter(struct mlx5dr_context *ctx,\n  * @param[in] ctx\n  *\tThe context in which the new action will be created.\n  * @param[in] reformat_type\n- *\tType of reformat.\n+ *\tType of reformat prefixed with MLX5DR_ACTION_TYP_REFORMAT.\n  * @param[in] data_sz\n  *\tSize in bytes of data.\n  * @param[in] inline_data\n@@ -500,7 +493,7 @@ mlx5dr_action_create_counter(struct mlx5dr_context *ctx,\n  */\n struct mlx5dr_action *\n mlx5dr_action_create_reformat(struct mlx5dr_context *ctx,\n-\t\t\t      enum mlx5dr_action_reformat_type reformat_type,\n+\t\t\t      enum mlx5dr_action_type reformat_type,\n \t\t\t      size_t data_sz,\n \t\t\t      void *inline_data,\n \t\t\t      uint32_t log_bulk_size,\ndiff --git a/drivers/net/mlx5/hws/mlx5dr_action.c b/drivers/net/mlx5/hws/mlx5dr_action.c\nindex e2db85940c..851cee8802 100644\n--- a/drivers/net/mlx5/hws/mlx5dr_action.c\n+++ b/drivers/net/mlx5/hws/mlx5dr_action.c\n@@ -18,8 +18,8 @@\n static const uint32_t action_order_arr[MLX5DR_TABLE_TYPE_MAX][MLX5DR_ACTION_TYP_MAX] = {\n \t[MLX5DR_TABLE_TYPE_NIC_RX] = {\n \t\tBIT(MLX5DR_ACTION_TYP_TAG),\n-\t\tBIT(MLX5DR_ACTION_TYP_TNL_L2_TO_L2) |\n-\t\tBIT(MLX5DR_ACTION_TYP_TNL_L3_TO_L2),\n+\t\tBIT(MLX5DR_ACTION_TYP_REFORMAT_TNL_L2_TO_L2) |\n+\t\tBIT(MLX5DR_ACTION_TYP_REFORMAT_TNL_L3_TO_L2),\n \t\tBIT(MLX5DR_ACTION_TYP_POP_VLAN),\n \t\tBIT(MLX5DR_ACTION_TYP_POP_VLAN),\n \t\tBIT(MLX5DR_ACTION_TYP_CTR),\n@@ -28,8 +28,8 @@ static const uint32_t action_order_arr[MLX5DR_TABLE_TYPE_MAX][MLX5DR_ACTION_TYP_\n \t\tBIT(MLX5DR_ACTION_TYP_PUSH_VLAN),\n \t\tBIT(MLX5DR_ACTION_TYP_PUSH_VLAN),\n \t\tBIT(MLX5DR_ACTION_TYP_MODIFY_HDR),\n-\t\tBIT(MLX5DR_ACTION_TYP_L2_TO_TNL_L2) |\n-\t\tBIT(MLX5DR_ACTION_TYP_L2_TO_TNL_L3),\n+\t\tBIT(MLX5DR_ACTION_TYP_REFORMAT_L2_TO_TNL_L2) |\n+\t\tBIT(MLX5DR_ACTION_TYP_REFORMAT_L2_TO_TNL_L3),\n \t\tBIT(MLX5DR_ACTION_TYP_FT) |\n \t\tBIT(MLX5DR_ACTION_TYP_MISS) |\n \t\tBIT(MLX5DR_ACTION_TYP_TIR) |\n@@ -46,8 +46,8 @@ static const uint32_t action_order_arr[MLX5DR_TABLE_TYPE_MAX][MLX5DR_ACTION_TYP_\n \t\tBIT(MLX5DR_ACTION_TYP_PUSH_VLAN),\n \t\tBIT(MLX5DR_ACTION_TYP_PUSH_VLAN),\n \t\tBIT(MLX5DR_ACTION_TYP_MODIFY_HDR),\n-\t\tBIT(MLX5DR_ACTION_TYP_L2_TO_TNL_L2) |\n-\t\tBIT(MLX5DR_ACTION_TYP_L2_TO_TNL_L3),\n+\t\tBIT(MLX5DR_ACTION_TYP_REFORMAT_L2_TO_TNL_L2) |\n+\t\tBIT(MLX5DR_ACTION_TYP_REFORMAT_L2_TO_TNL_L3),\n \t\tBIT(MLX5DR_ACTION_TYP_FT) |\n \t\tBIT(MLX5DR_ACTION_TYP_MISS) |\n \t\tBIT(MLX5DR_ACTION_TYP_DROP) |\n@@ -55,8 +55,8 @@ static const uint32_t action_order_arr[MLX5DR_TABLE_TYPE_MAX][MLX5DR_ACTION_TYP_\n \t\tBIT(MLX5DR_ACTION_TYP_LAST),\n \t},\n \t[MLX5DR_TABLE_TYPE_FDB] = {\n-\t\tBIT(MLX5DR_ACTION_TYP_TNL_L2_TO_L2) |\n-\t\tBIT(MLX5DR_ACTION_TYP_TNL_L3_TO_L2),\n+\t\tBIT(MLX5DR_ACTION_TYP_REFORMAT_TNL_L2_TO_L2) |\n+\t\tBIT(MLX5DR_ACTION_TYP_REFORMAT_TNL_L3_TO_L2),\n \t\tBIT(MLX5DR_ACTION_TYP_POP_VLAN),\n \t\tBIT(MLX5DR_ACTION_TYP_POP_VLAN),\n \t\tBIT(MLX5DR_ACTION_TYP_CTR),\n@@ -65,8 +65,8 @@ static const uint32_t action_order_arr[MLX5DR_TABLE_TYPE_MAX][MLX5DR_ACTION_TYP_\n \t\tBIT(MLX5DR_ACTION_TYP_PUSH_VLAN),\n \t\tBIT(MLX5DR_ACTION_TYP_PUSH_VLAN),\n \t\tBIT(MLX5DR_ACTION_TYP_MODIFY_HDR),\n-\t\tBIT(MLX5DR_ACTION_TYP_L2_TO_TNL_L2) |\n-\t\tBIT(MLX5DR_ACTION_TYP_L2_TO_TNL_L3),\n+\t\tBIT(MLX5DR_ACTION_TYP_REFORMAT_L2_TO_TNL_L2) |\n+\t\tBIT(MLX5DR_ACTION_TYP_REFORMAT_L2_TO_TNL_L3),\n \t\tBIT(MLX5DR_ACTION_TYP_FT) |\n \t\tBIT(MLX5DR_ACTION_TYP_MISS) |\n \t\tBIT(MLX5DR_ACTION_TYP_VPORT) |\n@@ -292,10 +292,10 @@ int mlx5dr_action_root_build_attr(struct mlx5dr_rule_action rule_actions[],\n \t\tcase MLX5DR_ACTION_TYP_DROP:\n \t\t\tattr[i].type = MLX5DV_FLOW_ACTION_DROP;\n \t\t\tbreak;\n-\t\tcase MLX5DR_ACTION_TYP_TNL_L2_TO_L2:\n-\t\tcase MLX5DR_ACTION_TYP_L2_TO_TNL_L2:\n-\t\tcase MLX5DR_ACTION_TYP_TNL_L3_TO_L2:\n-\t\tcase MLX5DR_ACTION_TYP_L2_TO_TNL_L3:\n+\t\tcase MLX5DR_ACTION_TYP_REFORMAT_TNL_L2_TO_L2:\n+\t\tcase MLX5DR_ACTION_TYP_REFORMAT_L2_TO_TNL_L2:\n+\t\tcase MLX5DR_ACTION_TYP_REFORMAT_TNL_L3_TO_L2:\n+\t\tcase MLX5DR_ACTION_TYP_REFORMAT_L2_TO_TNL_L3:\n \t\tcase MLX5DR_ACTION_TYP_MODIFY_HDR:\n \t\t\tattr[i].type = MLX5DV_FLOW_ACTION_IBV_FLOW_ACTION;\n \t\t\tattr[i].action = action->flow_action;\n@@ -503,7 +503,7 @@ static void mlx5dr_action_fill_stc_attr(struct mlx5dr_action *action,\n \t\tattr->action_offset = MLX5DR_ACTION_OFFSET_HIT;\n \t\tattr->dest_tir_num = obj->id;\n \t\tbreak;\n-\tcase MLX5DR_ACTION_TYP_TNL_L3_TO_L2:\n+\tcase MLX5DR_ACTION_TYP_REFORMAT_TNL_L3_TO_L2:\n \tcase MLX5DR_ACTION_TYP_MODIFY_HDR:\n \t\tattr->action_offset = MLX5DR_ACTION_OFFSET_DW6;\n \t\tif (action->modify_header.num_of_actions == 1) {\n@@ -529,14 +529,14 @@ static void mlx5dr_action_fill_stc_attr(struct mlx5dr_action *action,\n \t\tattr->action_offset = MLX5DR_ACTION_OFFSET_HIT;\n \t\tattr->dest_table_id = action->root_tbl.sa->id;\n \t\tbreak;\n-\tcase MLX5DR_ACTION_TYP_TNL_L2_TO_L2:\n+\tcase MLX5DR_ACTION_TYP_REFORMAT_TNL_L2_TO_L2:\n \t\tattr->action_type = MLX5_IFC_STC_ACTION_TYPE_HEADER_REMOVE;\n \t\tattr->action_offset = MLX5DR_ACTION_OFFSET_DW5;\n \t\tattr->remove_header.decap = 1;\n \t\tattr->remove_header.start_anchor = MLX5_HEADER_ANCHOR_PACKET_START;\n \t\tattr->remove_header.end_anchor = MLX5_HEADER_ANCHOR_INNER_MAC;\n \t\tbreak;\n-\tcase MLX5DR_ACTION_TYP_L2_TO_TNL_L2:\n+\tcase MLX5DR_ACTION_TYP_REFORMAT_L2_TO_TNL_L2:\n \t\tattr->action_type = MLX5_IFC_STC_ACTION_TYPE_HEADER_INSERT;\n \t\tattr->action_offset = MLX5DR_ACTION_OFFSET_DW6;\n \t\tattr->insert_header.encap = 1;\n@@ -544,7 +544,7 @@ static void mlx5dr_action_fill_stc_attr(struct mlx5dr_action *action,\n \t\tattr->insert_header.arg_id = action->reformat.arg_obj->id;\n \t\tattr->insert_header.header_size = action->reformat.header_size;\n \t\tbreak;\n-\tcase MLX5DR_ACTION_TYP_L2_TO_TNL_L3:\n+\tcase MLX5DR_ACTION_TYP_REFORMAT_L2_TO_TNL_L3:\n \t\tattr->action_type = MLX5_IFC_STC_ACTION_TYPE_HEADER_INSERT;\n \t\tattr->action_offset = MLX5DR_ACTION_OFFSET_DW6;\n \t\tattr->insert_header.encap = 1;\n@@ -1128,49 +1128,24 @@ mlx5dr_action_create_pop_vlan(struct mlx5dr_context *ctx, uint32_t flags)\n \treturn NULL;\n }\n \n-static int\n-mlx5dr_action_conv_reformat_type_to_action(uint32_t reformat_type,\n-\t\t\t\t\t   enum mlx5dr_action_type *action_type)\n-{\n-\tswitch (reformat_type) {\n-\tcase MLX5DR_ACTION_REFORMAT_TYPE_TNL_L2_TO_L2:\n-\t\t*action_type = MLX5DR_ACTION_TYP_TNL_L2_TO_L2;\n-\t\tbreak;\n-\tcase MLX5DR_ACTION_REFORMAT_TYPE_L2_TO_TNL_L2:\n-\t\t*action_type = MLX5DR_ACTION_TYP_L2_TO_TNL_L2;\n-\t\tbreak;\n-\tcase MLX5DR_ACTION_REFORMAT_TYPE_TNL_L3_TO_L2:\n-\t\t*action_type = MLX5DR_ACTION_TYP_TNL_L3_TO_L2;\n-\t\tbreak;\n-\tcase MLX5DR_ACTION_REFORMAT_TYPE_L2_TO_TNL_L3:\n-\t\t*action_type = MLX5DR_ACTION_TYP_L2_TO_TNL_L3;\n-\t\tbreak;\n-\tdefault:\n-\t\tDR_LOG(ERR, \"Invalid reformat type requested\");\n-\t\trte_errno = ENOTSUP;\n-\t\treturn rte_errno;\n-\t}\n-\treturn 0;\n-}\n-\n static void\n mlx5dr_action_conv_reformat_to_verbs(uint32_t action_type,\n \t\t\t\t     uint32_t *verb_reformat_type)\n {\n \tswitch (action_type) {\n-\tcase MLX5DR_ACTION_TYP_TNL_L2_TO_L2:\n+\tcase MLX5DR_ACTION_TYP_REFORMAT_TNL_L2_TO_L2:\n \t\t*verb_reformat_type =\n \t\t\tMLX5DV_FLOW_ACTION_PACKET_REFORMAT_TYPE_L2_TUNNEL_TO_L2;\n \t\tbreak;\n-\tcase MLX5DR_ACTION_TYP_L2_TO_TNL_L2:\n+\tcase MLX5DR_ACTION_TYP_REFORMAT_L2_TO_TNL_L2:\n \t\t*verb_reformat_type =\n \t\t\tMLX5DV_FLOW_ACTION_PACKET_REFORMAT_TYPE_L2_TO_L2_TUNNEL;\n \t\tbreak;\n-\tcase MLX5DR_ACTION_TYP_TNL_L3_TO_L2:\n+\tcase MLX5DR_ACTION_TYP_REFORMAT_TNL_L3_TO_L2:\n \t\t*verb_reformat_type =\n \t\t\tMLX5DV_FLOW_ACTION_PACKET_REFORMAT_TYPE_L3_TUNNEL_TO_L2;\n \t\tbreak;\n-\tcase MLX5DR_ACTION_TYP_L2_TO_TNL_L3:\n+\tcase MLX5DR_ACTION_TYP_REFORMAT_L2_TO_TNL_L3:\n \t\t*verb_reformat_type =\n \t\t\tMLX5DV_FLOW_ACTION_PACKET_REFORMAT_TYPE_L2_TO_L3_TUNNEL;\n \t\tbreak;\n@@ -1470,16 +1445,16 @@ mlx5dr_action_create_reformat_hws(struct mlx5dr_context *ctx,\n \tint ret;\n \n \tswitch (action->type) {\n-\tcase MLX5DR_ACTION_TYP_TNL_L2_TO_L2:\n+\tcase MLX5DR_ACTION_TYP_REFORMAT_TNL_L2_TO_L2:\n \t\tret = mlx5dr_action_create_stcs(action, NULL);\n \t\tbreak;\n-\tcase MLX5DR_ACTION_TYP_L2_TO_TNL_L2:\n+\tcase MLX5DR_ACTION_TYP_REFORMAT_L2_TO_TNL_L2:\n \t\tret = mlx5dr_action_handle_l2_to_tunnel_l2(ctx, data_sz, data, bulk_size, action);\n \t\tbreak;\n-\tcase MLX5DR_ACTION_TYP_L2_TO_TNL_L3:\n+\tcase MLX5DR_ACTION_TYP_REFORMAT_L2_TO_TNL_L3:\n \t\tret = mlx5dr_action_handle_l2_to_tunnel_l3(ctx, data_sz, data, bulk_size, action);\n \t\tbreak;\n-\tcase MLX5DR_ACTION_TYP_TNL_L3_TO_L2:\n+\tcase MLX5DR_ACTION_TYP_REFORMAT_TNL_L3_TO_L2:\n \t\tret = mlx5dr_action_handle_tunnel_l3_to_l2(ctx, data_sz, data, bulk_size, action);\n \t\tbreak;\n \n@@ -1494,21 +1469,16 @@ mlx5dr_action_create_reformat_hws(struct mlx5dr_context *ctx,\n \n struct mlx5dr_action *\n mlx5dr_action_create_reformat(struct mlx5dr_context *ctx,\n-\t\t\t      enum mlx5dr_action_reformat_type reformat_type,\n+\t\t\t      enum mlx5dr_action_type reformat_type,\n \t\t\t      size_t data_sz,\n \t\t\t      void *inline_data,\n \t\t\t      uint32_t log_bulk_size,\n \t\t\t      uint32_t flags)\n {\n-\tenum mlx5dr_action_type action_type;\n \tstruct mlx5dr_action *action;\n \tint ret;\n \n-\tret = mlx5dr_action_conv_reformat_type_to_action(reformat_type, &action_type);\n-\tif (ret)\n-\t\treturn NULL;\n-\n-\taction = mlx5dr_action_create_generic(ctx, flags, action_type);\n+\taction = mlx5dr_action_create_generic(ctx, flags, reformat_type);\n \tif (!action)\n \t\treturn NULL;\n \n@@ -1712,7 +1682,7 @@ static void mlx5dr_action_destroy_hws(struct mlx5dr_action *action)\n \tcase MLX5DR_ACTION_TYP_DROP:\n \tcase MLX5DR_ACTION_TYP_CTR:\n \tcase MLX5DR_ACTION_TYP_FT:\n-\tcase MLX5DR_ACTION_TYP_TNL_L2_TO_L2:\n+\tcase MLX5DR_ACTION_TYP_REFORMAT_TNL_L2_TO_L2:\n \tcase MLX5DR_ACTION_TYP_ASO_METER:\n \tcase MLX5DR_ACTION_TYP_ASO_CT:\n \tcase MLX5DR_ACTION_TYP_PUSH_VLAN:\n@@ -1726,18 +1696,18 @@ static void mlx5dr_action_destroy_hws(struct mlx5dr_action *action)\n \t\tmlx5dr_action_destroy_stcs(action);\n \t\tmlx5dr_action_put_shared_stc(action, MLX5DR_CONTEXT_SHARED_STC_POP);\n \t\tbreak;\n-\tcase MLX5DR_ACTION_TYP_TNL_L3_TO_L2:\n+\tcase MLX5DR_ACTION_TYP_REFORMAT_TNL_L3_TO_L2:\n \tcase MLX5DR_ACTION_TYP_MODIFY_HDR:\n \t\tmlx5dr_action_destroy_stcs(action);\n \t\tif (action->modify_header.num_of_actions > 1)\n \t\t\tmlx5dr_pat_arg_destroy_modify_header(action->ctx, action);\n \t\tbreak;\n-\tcase MLX5DR_ACTION_TYP_L2_TO_TNL_L3:\n+\tcase MLX5DR_ACTION_TYP_REFORMAT_L2_TO_TNL_L3:\n \t\tmlx5dr_action_destroy_stcs(action);\n \t\tmlx5dr_action_put_shared_stc(action, MLX5DR_CONTEXT_SHARED_STC_DECAP);\n \t\tmlx5dr_cmd_destroy_obj(action->reformat.arg_obj);\n \t\tbreak;\n-\tcase MLX5DR_ACTION_TYP_L2_TO_TNL_L2:\n+\tcase MLX5DR_ACTION_TYP_REFORMAT_L2_TO_TNL_L2:\n \t\tmlx5dr_action_destroy_stcs(action);\n \t\tmlx5dr_cmd_destroy_obj(action->reformat.arg_obj);\n \t\tbreak;\n@@ -1747,10 +1717,10 @@ static void mlx5dr_action_destroy_hws(struct mlx5dr_action *action)\n static void mlx5dr_action_destroy_root(struct mlx5dr_action *action)\n {\n \tswitch (action->type) {\n-\tcase MLX5DR_ACTION_TYP_TNL_L2_TO_L2:\n-\tcase MLX5DR_ACTION_TYP_L2_TO_TNL_L2:\n-\tcase MLX5DR_ACTION_TYP_TNL_L3_TO_L2:\n-\tcase MLX5DR_ACTION_TYP_L2_TO_TNL_L3:\n+\tcase MLX5DR_ACTION_TYP_REFORMAT_TNL_L2_TO_L2:\n+\tcase MLX5DR_ACTION_TYP_REFORMAT_L2_TO_TNL_L2:\n+\tcase MLX5DR_ACTION_TYP_REFORMAT_TNL_L3_TO_L2:\n+\tcase MLX5DR_ACTION_TYP_REFORMAT_L2_TO_TNL_L3:\n \tcase MLX5DR_ACTION_TYP_MODIFY_HDR:\n \t\tibv_destroy_flow_action(action->flow_action);\n \t\tbreak;\n@@ -2256,7 +2226,7 @@ int mlx5dr_action_template_process(struct mlx5dr_action_template *at)\n \t\t\tsetter->idx_double = i;\n \t\t\tbreak;\n \n-\t\tcase MLX5DR_ACTION_TYP_TNL_L2_TO_L2:\n+\t\tcase MLX5DR_ACTION_TYP_REFORMAT_TNL_L2_TO_L2:\n \t\t\t/* Single remove header to header */\n \t\t\tsetter = mlx5dr_action_setter_find_first(last_setter, ASF_SINGLE1 | ASF_MODIFY);\n \t\t\tsetter->flags |= ASF_SINGLE1 | ASF_REMOVE | ASF_REPARSE;\n@@ -2264,7 +2234,7 @@ int mlx5dr_action_template_process(struct mlx5dr_action_template *at)\n \t\t\tsetter->idx_single = i;\n \t\t\tbreak;\n \n-\t\tcase MLX5DR_ACTION_TYP_L2_TO_TNL_L2:\n+\t\tcase MLX5DR_ACTION_TYP_REFORMAT_L2_TO_TNL_L2:\n \t\t\t/* Double insert header with pointer */\n \t\t\tsetter = mlx5dr_action_setter_find_first(last_setter, ASF_DOUBLE);\n \t\t\tsetter->flags |= ASF_DOUBLE | ASF_REPARSE;\n@@ -2272,7 +2242,7 @@ int mlx5dr_action_template_process(struct mlx5dr_action_template *at)\n \t\t\tsetter->idx_double = i;\n \t\t\tbreak;\n \n-\t\tcase MLX5DR_ACTION_TYP_L2_TO_TNL_L3:\n+\t\tcase MLX5DR_ACTION_TYP_REFORMAT_L2_TO_TNL_L3:\n \t\t\t/* Single remove + Double insert header with pointer */\n \t\t\tsetter = mlx5dr_action_setter_find_first(last_setter, ASF_SINGLE1 | ASF_DOUBLE);\n \t\t\tsetter->flags |= ASF_SINGLE1 | ASF_DOUBLE | ASF_REPARSE | ASF_REMOVE;\n@@ -2282,7 +2252,7 @@ int mlx5dr_action_template_process(struct mlx5dr_action_template *at)\n \t\t\tsetter->idx_single = i;\n \t\t\tbreak;\n \n-\t\tcase MLX5DR_ACTION_TYP_TNL_L3_TO_L2:\n+\t\tcase MLX5DR_ACTION_TYP_REFORMAT_TNL_L3_TO_L2:\n \t\t\t/* Double modify header list with remove and push inline */\n \t\t\tsetter = mlx5dr_action_setter_find_first(last_setter,\n \t\t\t\t\t\t\t\t ASF_DOUBLE | ASF_REMOVE);\ndiff --git a/drivers/net/mlx5/hws/mlx5dr_debug.c b/drivers/net/mlx5/hws/mlx5dr_debug.c\nindex d249f8d869..5064b23b7d 100644\n--- a/drivers/net/mlx5/hws/mlx5dr_debug.c\n+++ b/drivers/net/mlx5/hws/mlx5dr_debug.c\n@@ -6,10 +6,10 @@\n \n const char *mlx5dr_debug_action_type_str[] = {\n \t[MLX5DR_ACTION_TYP_LAST] = \"LAST\",\n-\t[MLX5DR_ACTION_TYP_TNL_L2_TO_L2] = \"TNL_L2_TO_L2\",\n-\t[MLX5DR_ACTION_TYP_L2_TO_TNL_L2] = \"L2_TO_TNL_L2\",\n-\t[MLX5DR_ACTION_TYP_TNL_L3_TO_L2] = \"TNL_L3_TO_L2\",\n-\t[MLX5DR_ACTION_TYP_L2_TO_TNL_L3] = \"L2_TO_TNL_L3\",\n+\t[MLX5DR_ACTION_TYP_REFORMAT_TNL_L2_TO_L2] = \"TNL_L2_TO_L2\",\n+\t[MLX5DR_ACTION_TYP_REFORMAT_L2_TO_TNL_L2] = \"L2_TO_TNL_L2\",\n+\t[MLX5DR_ACTION_TYP_REFORMAT_TNL_L3_TO_L2] = \"TNL_L3_TO_L2\",\n+\t[MLX5DR_ACTION_TYP_REFORMAT_L2_TO_TNL_L3] = \"L2_TO_TNL_L3\",\n \t[MLX5DR_ACTION_TYP_DROP] = \"DROP\",\n \t[MLX5DR_ACTION_TYP_TIR] = \"TIR\",\n \t[MLX5DR_ACTION_TYP_FT] = \"FT\",\ndiff --git a/drivers/net/mlx5/hws/mlx5dr_pat_arg.c b/drivers/net/mlx5/hws/mlx5dr_pat_arg.c\nindex bedaedb677..309a61d477 100644\n--- a/drivers/net/mlx5/hws/mlx5dr_pat_arg.c\n+++ b/drivers/net/mlx5/hws/mlx5dr_pat_arg.c\n@@ -73,7 +73,7 @@ static bool mlx5dr_pat_compare_pattern(enum mlx5dr_action_type cur_type,\n \t\treturn false;\n \n \t /* All decap-l3 look the same, only change is the num of actions */\n-\tif (type == MLX5DR_ACTION_TYP_TNL_L3_TO_L2)\n+\tif (type == MLX5DR_ACTION_TYP_REFORMAT_TNL_L3_TO_L2)\n \t\treturn true;\n \n \tfor (i = 0; i < num_of_actions; i++) {\ndiff --git a/drivers/net/mlx5/mlx5_flow_hw.c b/drivers/net/mlx5/mlx5_flow_hw.c\nindex b5137a822a..e274fbf34d 100644\n--- a/drivers/net/mlx5/mlx5_flow_hw.c\n+++ b/drivers/net/mlx5/mlx5_flow_hw.c\n@@ -1418,7 +1418,7 @@ __flow_hw_actions_translate(struct rte_eth_dev *dev,\n \tstruct rte_flow_action *actions = at->actions;\n \tstruct rte_flow_action *action_start = actions;\n \tstruct rte_flow_action *masks = at->masks;\n-\tenum mlx5dr_action_reformat_type refmt_type = 0;\n+\tenum mlx5dr_action_type refmt_type = 0;\n \tconst struct rte_flow_action_raw_encap *raw_encap_data;\n \tconst struct rte_flow_item *enc_item = NULL, *enc_item_m = NULL;\n \tuint16_t reformat_src = 0;\n@@ -1573,7 +1573,7 @@ __flow_hw_actions_translate(struct rte_eth_dev *dev,\n \t\t\t\t\t     masks->conf)->definition;\n \t\t\treformat_used = true;\n \t\t\treformat_src = actions - action_start;\n-\t\t\trefmt_type = MLX5DR_ACTION_REFORMAT_TYPE_L2_TO_TNL_L2;\n+\t\t\trefmt_type = MLX5DR_ACTION_TYP_REFORMAT_L2_TO_TNL_L2;\n \t\t\tbreak;\n \t\tcase RTE_FLOW_ACTION_TYPE_NVGRE_ENCAP:\n \t\t\tMLX5_ASSERT(!reformat_used);\n@@ -1584,13 +1584,13 @@ __flow_hw_actions_translate(struct rte_eth_dev *dev,\n \t\t\t\t\t     masks->conf)->definition;\n \t\t\treformat_used = true;\n \t\t\treformat_src = actions - action_start;\n-\t\t\trefmt_type = MLX5DR_ACTION_REFORMAT_TYPE_L2_TO_TNL_L2;\n+\t\t\trefmt_type = MLX5DR_ACTION_TYP_REFORMAT_L2_TO_TNL_L2;\n \t\t\tbreak;\n \t\tcase RTE_FLOW_ACTION_TYPE_VXLAN_DECAP:\n \t\tcase RTE_FLOW_ACTION_TYPE_NVGRE_DECAP:\n \t\t\tMLX5_ASSERT(!reformat_used);\n \t\t\treformat_used = true;\n-\t\t\trefmt_type = MLX5DR_ACTION_REFORMAT_TYPE_TNL_L2_TO_L2;\n+\t\t\trefmt_type = MLX5DR_ACTION_TYP_REFORMAT_TNL_L2_TO_L2;\n \t\t\tbreak;\n \t\tcase RTE_FLOW_ACTION_TYPE_RAW_ENCAP:\n \t\t\traw_encap_data =\n@@ -1606,18 +1606,18 @@ __flow_hw_actions_translate(struct rte_eth_dev *dev,\n \t\t\tif (reformat_used) {\n \t\t\t\trefmt_type = data_size <\n \t\t\t\tMLX5_ENCAPSULATION_DECISION_SIZE ?\n-\t\t\t\tMLX5DR_ACTION_REFORMAT_TYPE_TNL_L3_TO_L2 :\n-\t\t\t\tMLX5DR_ACTION_REFORMAT_TYPE_L2_TO_TNL_L3;\n+\t\t\t\tMLX5DR_ACTION_TYP_REFORMAT_TNL_L3_TO_L2 :\n+\t\t\t\tMLX5DR_ACTION_TYP_REFORMAT_L2_TO_TNL_L3;\n \t\t\t} else {\n \t\t\t\treformat_used = true;\n \t\t\t\trefmt_type =\n-\t\t\t\tMLX5DR_ACTION_REFORMAT_TYPE_L2_TO_TNL_L2;\n+\t\t\t\tMLX5DR_ACTION_TYP_REFORMAT_L2_TO_TNL_L2;\n \t\t\t}\n \t\t\treformat_src = actions - action_start;\n \t\t\tbreak;\n \t\tcase RTE_FLOW_ACTION_TYPE_RAW_DECAP:\n \t\t\treformat_used = true;\n-\t\t\trefmt_type = MLX5DR_ACTION_REFORMAT_TYPE_TNL_L2_TO_L2;\n+\t\t\trefmt_type = MLX5DR_ACTION_TYP_REFORMAT_TNL_L2_TO_L2;\n \t\t\tbreak;\n \t\tcase RTE_FLOW_ACTION_TYPE_SEND_TO_KERNEL:\n \t\t\tflow_hw_translate_group(dev, cfg, attr->group,\n@@ -4517,10 +4517,10 @@ static enum mlx5dr_action_type mlx5_hw_dr_action_types[] = {\n \t[RTE_FLOW_ACTION_TYPE_JUMP] = MLX5DR_ACTION_TYP_FT,\n \t[RTE_FLOW_ACTION_TYPE_QUEUE] = MLX5DR_ACTION_TYP_TIR,\n \t[RTE_FLOW_ACTION_TYPE_RSS] = MLX5DR_ACTION_TYP_TIR,\n-\t[RTE_FLOW_ACTION_TYPE_VXLAN_ENCAP] = MLX5DR_ACTION_TYP_L2_TO_TNL_L2,\n-\t[RTE_FLOW_ACTION_TYPE_NVGRE_ENCAP] = MLX5DR_ACTION_TYP_L2_TO_TNL_L2,\n-\t[RTE_FLOW_ACTION_TYPE_VXLAN_DECAP] = MLX5DR_ACTION_TYP_TNL_L2_TO_L2,\n-\t[RTE_FLOW_ACTION_TYPE_NVGRE_DECAP] = MLX5DR_ACTION_TYP_TNL_L2_TO_L2,\n+\t[RTE_FLOW_ACTION_TYPE_VXLAN_ENCAP] = MLX5DR_ACTION_TYP_REFORMAT_L2_TO_TNL_L2,\n+\t[RTE_FLOW_ACTION_TYPE_NVGRE_ENCAP] = MLX5DR_ACTION_TYP_REFORMAT_L2_TO_TNL_L2,\n+\t[RTE_FLOW_ACTION_TYPE_VXLAN_DECAP] = MLX5DR_ACTION_TYP_REFORMAT_TNL_L2_TO_L2,\n+\t[RTE_FLOW_ACTION_TYPE_NVGRE_DECAP] = MLX5DR_ACTION_TYP_REFORMAT_TNL_L2_TO_L2,\n \t[RTE_FLOW_ACTION_TYPE_MODIFY_FIELD] = MLX5DR_ACTION_TYP_MODIFY_HDR,\n \t[RTE_FLOW_ACTION_TYPE_REPRESENTED_PORT] = MLX5DR_ACTION_TYP_VPORT,\n \t[RTE_FLOW_ACTION_TYPE_CONNTRACK] = MLX5DR_ACTION_TYP_ASO_CT,\n@@ -4598,7 +4598,7 @@ flow_hw_dr_actions_template_create(struct rte_flow_actions_template *at)\n \tenum mlx5dr_action_type action_types[MLX5_HW_MAX_ACTS] = { MLX5DR_ACTION_TYP_LAST };\n \tunsigned int i;\n \tuint16_t curr_off;\n-\tenum mlx5dr_action_type reformat_act_type = MLX5DR_ACTION_TYP_TNL_L2_TO_L2;\n+\tenum mlx5dr_action_type reformat_act_type = MLX5DR_ACTION_TYP_REFORMAT_TNL_L2_TO_L2;\n \tuint16_t reformat_off = UINT16_MAX;\n \tuint16_t mhdr_off = UINT16_MAX;\n \tuint16_t cnt_off = UINT16_MAX;\n@@ -4636,16 +4636,16 @@ flow_hw_dr_actions_template_create(struct rte_flow_actions_template *at)\n \t\t\tdata_size = raw_encap_data->size;\n \t\t\tif (reformat_off != UINT16_MAX) {\n \t\t\t\treformat_act_type = data_size < MLX5_ENCAPSULATION_DECISION_SIZE ?\n-\t\t\t\t\tMLX5DR_ACTION_TYP_TNL_L3_TO_L2 :\n-\t\t\t\t\tMLX5DR_ACTION_TYP_L2_TO_TNL_L3;\n+\t\t\t\t\tMLX5DR_ACTION_TYP_REFORMAT_TNL_L3_TO_L2 :\n+\t\t\t\t\tMLX5DR_ACTION_TYP_REFORMAT_L2_TO_TNL_L3;\n \t\t\t} else {\n \t\t\t\treformat_off = curr_off++;\n-\t\t\t\treformat_act_type = MLX5DR_ACTION_TYP_L2_TO_TNL_L2;\n+\t\t\t\treformat_act_type = MLX5DR_ACTION_TYP_REFORMAT_L2_TO_TNL_L2;\n \t\t\t}\n \t\t\tbreak;\n \t\tcase RTE_FLOW_ACTION_TYPE_RAW_DECAP:\n \t\t\treformat_off = curr_off++;\n-\t\t\treformat_act_type = MLX5DR_ACTION_TYP_TNL_L2_TO_L2;\n+\t\t\treformat_act_type = MLX5DR_ACTION_TYP_REFORMAT_TNL_L2_TO_L2;\n \t\t\tbreak;\n \t\tcase RTE_FLOW_ACTION_TYPE_MODIFY_FIELD:\n \t\t\tif (mhdr_off == UINT16_MAX) {\n",
    "prefixes": [
        "3/5"
    ]
}