get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 52977,
    "url": "http://patches.dpdk.org/api/patches/52977/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/02925f9e43672fdb9b0abf543403ccfc63be2383.1555926274.git.dekelp@mellanox.com/",
    "project": {
        "id": 1,
        "url": "http://patches.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": "<02925f9e43672fdb9b0abf543403ccfc63be2383.1555926274.git.dekelp@mellanox.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/02925f9e43672fdb9b0abf543403ccfc63be2383.1555926274.git.dekelp@mellanox.com",
    "date": "2019-04-22T11:22:53",
    "name": "[v5,3/3] net/mlx5: update modify header using Direct Verbs",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "084041329a225db988607769e5ee0a87f475309e",
    "submitter": {
        "id": 1082,
        "url": "http://patches.dpdk.org/api/people/1082/?format=api",
        "name": "Dekel Peled",
        "email": "dekelp@mellanox.com"
    },
    "delegate": {
        "id": 6624,
        "url": "http://patches.dpdk.org/api/users/6624/?format=api",
        "username": "shahafs",
        "first_name": "Shahaf",
        "last_name": "Shuler",
        "email": "shahafs@mellanox.com"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/02925f9e43672fdb9b0abf543403ccfc63be2383.1555926274.git.dekelp@mellanox.com/mbox/",
    "series": [
        {
            "id": 4409,
            "url": "http://patches.dpdk.org/api/series/4409/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=4409",
            "date": "2019-04-22T11:22:50",
            "name": "add actions to modify header fields",
            "version": 5,
            "mbox": "http://patches.dpdk.org/series/4409/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/52977/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/52977/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<dev-bounces@dpdk.org>",
        "X-Original-To": "patchwork@dpdk.org",
        "Delivered-To": "patchwork@dpdk.org",
        "Received": [
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 71F1F1B483;\n\tMon, 22 Apr 2019 13:26:34 +0200 (CEST)",
            "from mellanox.co.il (mail-il-dmz.mellanox.com [193.47.165.129])\n\tby dpdk.org (Postfix) with ESMTP id 24A851B47C\n\tfor <dev@dpdk.org>; Mon, 22 Apr 2019 13:26:30 +0200 (CEST)",
            "from Internal Mail-Server by MTLPINE1 (envelope-from\n\tdekelp@mellanox.com)\n\twith ESMTPS (AES256-SHA encrypted); 22 Apr 2019 14:26:25 +0300",
            "from mtl-vdi-280.wap.labs.mlnx. (mtl-vdi-280.wap.labs.mlnx\n\t[10.128.130.87])\n\tby labmailer.mlnx (8.13.8/8.13.8) with ESMTP id x3MBQA07026285;\n\tMon, 22 Apr 2019 14:26:25 +0300"
        ],
        "From": "Dekel Peled <dekelp@mellanox.com>",
        "To": "adrien.mazarguil@6wind.com, wenzhuo.lu@intel.com, jingjing.wu@intel.com, \n\tbernard.iremonger@intel.com, yskoh@mellanox.com, shahafs@mellanox.com,\n\tarybchenko@solarflare.com",
        "Cc": "dev@dpdk.org, orika@mellanox.com, dekelp@mellanox.com",
        "Date": "Mon, 22 Apr 2019 14:22:53 +0300",
        "Message-Id": "<02925f9e43672fdb9b0abf543403ccfc63be2383.1555926274.git.dekelp@mellanox.com>",
        "X-Mailer": "git-send-email 1.7.1",
        "In-Reply-To": "<cover.1555926274.git.dekelp@mellanox.com>",
        "References": "<cover.1554896841.git.dekelp@mellanox.com>\n\t<cover.1555926274.git.dekelp@mellanox.com>",
        "Subject": "[dpdk-dev] [PATCH v5 3/3] net/mlx5: update modify header using\n\tDirect Verbs",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.15",
        "Precedence": "list",
        "List-Id": "DPDK patches and discussions <dev.dpdk.org>",
        "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n\t<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\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "This patch implements additional actions of packet header\nmodifications.\n\nAdd actions:\n- INC_TCP_SEQ - Increase sequence number in the outermost TCP header.\n- DEC_TCP_SEQ - Decrease sequence number in the outermost TCP header.\n- INC_TCP_ACK - Increase acknowledgment number in the outermost TCP\n\t\theader.\n- DEC_TCP_ACK - Decrease acknowledgment number in the outermost TCP\n\t\theader.\n\nOriginal work by Xiaoyu Min.\n\nSigned-off-by: Dekel Peled <dekelp@mellanox.com>\nAcked-by: Shahaf Shuler <shahafs@mellanox.com>\n---\n drivers/net/mlx5/mlx5_flow.h    |  10 +-\n drivers/net/mlx5/mlx5_flow_dv.c | 239 ++++++++++++++++++++++++++++++++++++++++\n drivers/net/mlx5/mlx5_prm.h     |  12 ++\n 3 files changed, 260 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/drivers/net/mlx5/mlx5_flow.h b/drivers/net/mlx5/mlx5_flow.h\nindex 9f47fd4..1d56911 100644\n--- a/drivers/net/mlx5/mlx5_flow.h\n+++ b/drivers/net/mlx5/mlx5_flow.h\n@@ -113,6 +113,10 @@\n #define MLX5_FLOW_ACTION_NVGRE_DECAP (1u << 25)\n #define MLX5_FLOW_ACTION_RAW_ENCAP (1u << 26)\n #define MLX5_FLOW_ACTION_RAW_DECAP (1u << 27)\n+#define MLX5_FLOW_ACTION_INC_TCP_SEQ (1u << 28)\n+#define MLX5_FLOW_ACTION_DEC_TCP_SEQ (1u << 29)\n+#define MLX5_FLOW_ACTION_INC_TCP_ACK (1u << 30)\n+#define MLX5_FLOW_ACTION_DEC_TCP_ACK (1u << 31)\n \n #define MLX5_FLOW_FATE_ACTIONS \\\n \t(MLX5_FLOW_ACTION_DROP | MLX5_FLOW_ACTION_QUEUE | \\\n@@ -135,7 +139,11 @@\n \t\t\t\t      MLX5_FLOW_ACTION_SET_TTL | \\\n \t\t\t\t      MLX5_FLOW_ACTION_DEC_TTL | \\\n \t\t\t\t      MLX5_FLOW_ACTION_SET_MAC_SRC | \\\n-\t\t\t\t      MLX5_FLOW_ACTION_SET_MAC_DST)\n+\t\t\t\t      MLX5_FLOW_ACTION_SET_MAC_DST | \\\n+\t\t\t\t      MLX5_FLOW_ACTION_INC_TCP_SEQ | \\\n+\t\t\t\t      MLX5_FLOW_ACTION_DEC_TCP_SEQ | \\\n+\t\t\t\t      MLX5_FLOW_ACTION_INC_TCP_ACK | \\\n+\t\t\t\t      MLX5_FLOW_ACTION_DEC_TCP_ACK)\n \n #ifndef IPPROTO_MPLS\n #define IPPROTO_MPLS 137\ndiff --git a/drivers/net/mlx5/mlx5_flow_dv.c b/drivers/net/mlx5/mlx5_flow_dv.c\nindex 3862b26..4a87a4c 100644\n--- a/drivers/net/mlx5/mlx5_flow_dv.c\n+++ b/drivers/net/mlx5/mlx5_flow_dv.c\n@@ -127,6 +127,8 @@ struct field_modify_info modify_udp[] = {\n struct field_modify_info modify_tcp[] = {\n \t{2, 0, MLX5_MODI_OUT_TCP_SPORT},\n \t{2, 2, MLX5_MODI_OUT_TCP_DPORT},\n+\t{4, 4, MLX5_MODI_OUT_TCP_SEQ_NUM},\n+\t{4, 8, MLX5_MODI_OUT_TCP_ACK_NUM},\n \t{0, 0, 0},\n };\n \n@@ -552,6 +554,98 @@ struct field_modify_info modify_tcp[] = {\n }\n \n /**\n+ * Convert modify-header increment/decrement TCP Sequence number\n+ * to DV specification.\n+ *\n+ * @param[in,out] resource\n+ *   Pointer to the modify-header resource.\n+ * @param[in] action\n+ *   Pointer to action specification.\n+ * @param[out] error\n+ *   Pointer to the error structure.\n+ *\n+ * @return\n+ *   0 on success, a negative errno value otherwise and rte_errno is set.\n+ */\n+static int\n+flow_dv_convert_action_modify_tcp_seq\n+\t\t\t(struct mlx5_flow_dv_modify_hdr_resource *resource,\n+\t\t\t const struct rte_flow_action *action,\n+\t\t\t struct rte_flow_error *error)\n+{\n+\tconst struct rte_flow_integer_action *conf =\n+\t\t(const struct rte_flow_integer_action *)(action->conf);\n+\tuint64_t value = rte_be_to_cpu_32(conf->rte_flow_int.be32);\n+\tstruct rte_flow_item item;\n+\tstruct rte_flow_item_tcp tcp;\n+\tstruct rte_flow_item_tcp tcp_mask;\n+\n+\tmemset(&tcp, 0, sizeof(tcp));\n+\tmemset(&tcp_mask, 0, sizeof(tcp_mask));\n+\tif (action->type == RTE_FLOW_ACTION_TYPE_DEC_TCP_SEQ)\n+\t\t/*\n+\t\t * The HW has no decrement operation, only increment operation.\n+\t\t * To simulate decrement X from Y using increment operation\n+\t\t * we need to add UINT32_MAX X times to Y.\n+\t\t * Each adding of UINT32_MAX decrements Y by 1.\n+\t\t */\n+\t\tvalue *= UINT32_MAX;\n+\ttcp.hdr.sent_seq = rte_cpu_to_be_32((uint32_t)value);\n+\ttcp_mask.hdr.sent_seq = RTE_BE32(UINT32_MAX);\n+\titem.type = RTE_FLOW_ITEM_TYPE_TCP;\n+\titem.spec = &tcp;\n+\titem.mask = &tcp_mask;\n+\treturn flow_dv_convert_modify_action(&item, modify_tcp, resource,\n+\t\t\t\t\t     MLX5_MODIFICATION_TYPE_ADD, error);\n+}\n+\n+/**\n+ * Convert modify-header increment/decrement TCP Acknowledgment number\n+ * to DV specification.\n+ *\n+ * @param[in,out] resource\n+ *   Pointer to the modify-header resource.\n+ * @param[in] action\n+ *   Pointer to action specification.\n+ * @param[out] error\n+ *   Pointer to the error structure.\n+ *\n+ * @return\n+ *   0 on success, a negative errno value otherwise and rte_errno is set.\n+ */\n+static int\n+flow_dv_convert_action_modify_tcp_ack\n+\t\t\t(struct mlx5_flow_dv_modify_hdr_resource *resource,\n+\t\t\t const struct rte_flow_action *action,\n+\t\t\t struct rte_flow_error *error)\n+{\n+\tconst struct rte_flow_integer_action *conf =\n+\t\t(const struct rte_flow_integer_action *)(action->conf);\n+\tuint64_t value = rte_be_to_cpu_32(conf->rte_flow_int.be32);\n+\tstruct rte_flow_item item;\n+\tstruct rte_flow_item_tcp tcp;\n+\tstruct rte_flow_item_tcp tcp_mask;\n+\n+\tmemset(&tcp, 0, sizeof(tcp));\n+\tmemset(&tcp_mask, 0, sizeof(tcp_mask));\n+\tif (action->type == RTE_FLOW_ACTION_TYPE_DEC_TCP_ACK)\n+\t\t/*\n+\t\t * The HW has no decrement operation, only increment operation.\n+\t\t * To simulate decrement X from Y using increment operation\n+\t\t * we need to add UINT32_MAX X times to Y.\n+\t\t * Each adding of UINT32_MAX decrements Y by 1.\n+\t\t */\n+\t\tvalue *= UINT32_MAX;\n+\ttcp.hdr.recv_ack = rte_cpu_to_be_32((uint32_t)value);\n+\ttcp_mask.hdr.recv_ack = RTE_BE32(UINT32_MAX);\n+\titem.type = RTE_FLOW_ITEM_TYPE_TCP;\n+\titem.spec = &tcp;\n+\titem.mask = &tcp_mask;\n+\treturn flow_dv_convert_modify_action(&item, modify_tcp, resource,\n+\t\t\t\t\t     MLX5_MODIFICATION_TYPE_ADD, error);\n+}\n+\n+/**\n  * Validate META item.\n  *\n  * @param[in] dev\n@@ -1498,6 +1592,96 @@ struct field_modify_info modify_tcp[] = {\n }\n \n /**\n+ * Validate the modify-header actions of increment/decrement\n+ * TCP Sequence-number.\n+ *\n+ * @param[in] action_flags\n+ *   Holds the actions detected until now.\n+ * @param[in] action\n+ *   Pointer to the modify action.\n+ * @param[in] item_flags\n+ *   Holds the items detected.\n+ * @param[out] error\n+ *   Pointer to error structure.\n+ *\n+ * @return\n+ *   0 on success, a negative errno value otherwise and rte_errno is set.\n+ */\n+static int\n+flow_dv_validate_action_modify_tcp_seq(const uint64_t action_flags,\n+\t\t\t\t       const struct rte_flow_action *action,\n+\t\t\t\t       const uint64_t item_flags,\n+\t\t\t\t       struct rte_flow_error *error)\n+{\n+\tint ret = 0;\n+\n+\tret = flow_dv_validate_action_modify_hdr(action_flags, action, error);\n+\tif (!ret) {\n+\t\tif (!(item_flags & MLX5_FLOW_LAYER_OUTER_L4_TCP))\n+\t\t\treturn rte_flow_error_set(error, EINVAL,\n+\t\t\t\t\t\t  RTE_FLOW_ERROR_TYPE_ACTION,\n+\t\t\t\t\t\t  NULL, \"no TCP item in\"\n+\t\t\t\t\t\t  \" pattern\");\n+\t\tif ((action->type == RTE_FLOW_ACTION_TYPE_INC_TCP_SEQ &&\n+\t\t\t(action_flags & MLX5_FLOW_ACTION_DEC_TCP_SEQ)) ||\n+\t\t    (action->type == RTE_FLOW_ACTION_TYPE_DEC_TCP_SEQ &&\n+\t\t\t(action_flags & MLX5_FLOW_ACTION_INC_TCP_SEQ)))\n+\t\t\treturn rte_flow_error_set(error, EINVAL,\n+\t\t\t\t\t\t  RTE_FLOW_ERROR_TYPE_ACTION,\n+\t\t\t\t\t\t  NULL,\n+\t\t\t\t\t\t  \"cannot decrease and increase\"\n+\t\t\t\t\t\t  \" TCP sequence number\"\n+\t\t\t\t\t\t  \" at the same time\");\n+\t}\n+\treturn ret;\n+}\n+\n+/**\n+ * Validate the modify-header actions of increment/decrement\n+ * TCP Acknowledgment number.\n+ *\n+ * @param[in] action_flags\n+ *   Holds the actions detected until now.\n+ * @param[in] action\n+ *   Pointer to the modify action.\n+ * @param[in] item_flags\n+ *   Holds the items detected.\n+ * @param[out] error\n+ *   Pointer to error structure.\n+ *\n+ * @return\n+ *   0 on success, a negative errno value otherwise and rte_errno is set.\n+ */\n+static int\n+flow_dv_validate_action_modify_tcp_ack(const uint64_t action_flags,\n+\t\t\t\t       const struct rte_flow_action *action,\n+\t\t\t\t       const uint64_t item_flags,\n+\t\t\t\t       struct rte_flow_error *error)\n+{\n+\tint ret = 0;\n+\n+\tret = flow_dv_validate_action_modify_hdr(action_flags, action, error);\n+\tif (!ret) {\n+\t\tif (!(item_flags & MLX5_FLOW_LAYER_OUTER_L4_TCP))\n+\t\t\treturn rte_flow_error_set(error, EINVAL,\n+\t\t\t\t\t\t  RTE_FLOW_ERROR_TYPE_ACTION,\n+\t\t\t\t\t\t  NULL, \"no TCP item in\"\n+\t\t\t\t\t\t  \" pattern\");\n+\t\tif ((action->type == RTE_FLOW_ACTION_TYPE_INC_TCP_ACK &&\n+\t\t\t(action_flags & MLX5_FLOW_ACTION_DEC_TCP_ACK)) ||\n+\t\t    (action->type == RTE_FLOW_ACTION_TYPE_DEC_TCP_ACK &&\n+\t\t\t(action_flags & MLX5_FLOW_ACTION_INC_TCP_ACK)))\n+\t\t\treturn rte_flow_error_set(error, EINVAL,\n+\t\t\t\t\t\t  RTE_FLOW_ERROR_TYPE_ACTION,\n+\t\t\t\t\t\t  NULL,\n+\t\t\t\t\t\t  \"cannot decrease and increase\"\n+\t\t\t\t\t\t  \" TCP acknowledgment number\"\n+\t\t\t\t\t\t  \" at the same time\");\n+\t}\n+\treturn ret;\n+}\n+\n+/**\n  * Validate the modify-header TTL actions.\n  *\n  * @param[in] action_flags\n@@ -2126,6 +2310,40 @@ struct field_modify_info modify_tcp[] = {\n \t\t\t++actions_n;\n \t\t\taction_flags |= MLX5_FLOW_ACTION_JUMP;\n \t\t\tbreak;\n+\t\tcase RTE_FLOW_ACTION_TYPE_INC_TCP_SEQ:\n+\t\tcase RTE_FLOW_ACTION_TYPE_DEC_TCP_SEQ:\n+\t\t\tret = flow_dv_validate_action_modify_tcp_seq\n+\t\t\t\t\t\t\t\t(action_flags,\n+\t\t\t\t\t\t\t\t actions,\n+\t\t\t\t\t\t\t\t item_flags,\n+\t\t\t\t\t\t\t\t error);\n+\t\t\tif (ret < 0)\n+\t\t\t\treturn ret;\n+\t\t\t/* Count all modify-header actions as one action. */\n+\t\t\tif (!(action_flags & MLX5_FLOW_MODIFY_HDR_ACTIONS))\n+\t\t\t\t++actions_n;\n+\t\t\taction_flags |= actions->type ==\n+\t\t\t\t\tRTE_FLOW_ACTION_TYPE_INC_TCP_SEQ ?\n+\t\t\t\t\t\tMLX5_FLOW_ACTION_INC_TCP_SEQ :\n+\t\t\t\t\t\tMLX5_FLOW_ACTION_DEC_TCP_SEQ;\n+\t\t\tbreak;\n+\t\tcase RTE_FLOW_ACTION_TYPE_INC_TCP_ACK:\n+\t\tcase RTE_FLOW_ACTION_TYPE_DEC_TCP_ACK:\n+\t\t\tret = flow_dv_validate_action_modify_tcp_ack\n+\t\t\t\t\t\t\t\t(action_flags,\n+\t\t\t\t\t\t\t\t actions,\n+\t\t\t\t\t\t\t\t item_flags,\n+\t\t\t\t\t\t\t\t error);\n+\t\t\tif (ret < 0)\n+\t\t\t\treturn ret;\n+\t\t\t/* Count all modify-header actions as one action. */\n+\t\t\tif (!(action_flags & MLX5_FLOW_MODIFY_HDR_ACTIONS))\n+\t\t\t\t++actions_n;\n+\t\t\taction_flags |= actions->type ==\n+\t\t\t\t\tRTE_FLOW_ACTION_TYPE_INC_TCP_ACK ?\n+\t\t\t\t\t\tMLX5_FLOW_ACTION_INC_TCP_ACK :\n+\t\t\t\t\t\tMLX5_FLOW_ACTION_DEC_TCP_ACK;\n+\t\t\tbreak;\n \t\tdefault:\n \t\t\treturn rte_flow_error_set(error, ENOTSUP,\n \t\t\t\t\t\t  RTE_FLOW_ERROR_TYPE_ACTION,\n@@ -3465,6 +3683,27 @@ struct field_modify_info modify_tcp[] = {\n \t\t\t\treturn -rte_errno;\n \t\t\taction_flags |= MLX5_FLOW_ACTION_SET_TTL;\n \t\t\tbreak;\n+\t\tcase RTE_FLOW_ACTION_TYPE_INC_TCP_SEQ:\n+\t\tcase RTE_FLOW_ACTION_TYPE_DEC_TCP_SEQ:\n+\t\t\tif (flow_dv_convert_action_modify_tcp_seq(&res, actions,\n+\t\t\t\t\t\t\t\t  error))\n+\t\t\t\treturn -rte_errno;\n+\t\t\taction_flags |= actions->type ==\n+\t\t\t\t\tRTE_FLOW_ACTION_TYPE_INC_TCP_SEQ ?\n+\t\t\t\t\tMLX5_FLOW_ACTION_INC_TCP_SEQ :\n+\t\t\t\t\tMLX5_FLOW_ACTION_DEC_TCP_SEQ;\n+\t\t\tbreak;\n+\n+\t\tcase RTE_FLOW_ACTION_TYPE_INC_TCP_ACK:\n+\t\tcase RTE_FLOW_ACTION_TYPE_DEC_TCP_ACK:\n+\t\t\tif (flow_dv_convert_action_modify_tcp_ack(&res, actions,\n+\t\t\t\t\t\t\t\t  error))\n+\t\t\t\treturn -rte_errno;\n+\t\t\taction_flags |= actions->type ==\n+\t\t\t\t\tRTE_FLOW_ACTION_TYPE_INC_TCP_ACK ?\n+\t\t\t\t\tMLX5_FLOW_ACTION_INC_TCP_ACK :\n+\t\t\t\t\tMLX5_FLOW_ACTION_DEC_TCP_ACK;\n+\t\t\tbreak;\n \t\tcase RTE_FLOW_ACTION_TYPE_END:\n \t\t\tactions_end = true;\n \t\t\tif (action_flags & MLX5_FLOW_MODIFY_HDR_ACTIONS) {\ndiff --git a/drivers/net/mlx5/mlx5_prm.h b/drivers/net/mlx5/mlx5_prm.h\nindex b15266f..a644369 100644\n--- a/drivers/net/mlx5/mlx5_prm.h\n+++ b/drivers/net/mlx5/mlx5_prm.h\n@@ -336,6 +336,18 @@ enum mlx5_modification_field {\n \tMLX5_MODI_IN_IPV6_HOPLIMIT,\n \tMLX5_MODI_META_DATA_REG_A,\n \tMLX5_MODI_META_DATA_REG_B = 0x50,\n+\tMLX5_MODI_META_REG_C_0,\n+\tMLX5_MODI_META_REG_C_1,\n+\tMLX5_MODI_META_REG_C_2,\n+\tMLX5_MODI_META_REG_C_3,\n+\tMLX5_MODI_META_REG_C_4,\n+\tMLX5_MODI_META_REG_C_5,\n+\tMLX5_MODI_META_REG_C_6,\n+\tMLX5_MODI_META_REG_C_7,\n+\tMLX5_MODI_OUT_TCP_SEQ_NUM,\n+\tMLX5_MODI_IN_TCP_SEQ_NUM,\n+\tMLX5_MODI_OUT_TCP_ACK_NUM,\n+\tMLX5_MODI_IN_TCP_ACK_NUM = 0x5C,\n };\n \n /* Modification sub command. */\n",
    "prefixes": [
        "v5",
        "3/3"
    ]
}