get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 46495,
    "url": "http://patches.dpdk.org/api/patches/46495/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20181010130524.23590-4-jackmin@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": "<20181010130524.23590-4-jackmin@mellanox.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20181010130524.23590-4-jackmin@mellanox.com",
    "date": "2018-10-10T13:06:00",
    "name": "[v3,3/3] net/mlx5: rewrite TTL by E-Switch",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "a936183beb68549b164792e91abac3748ae30be8",
    "submitter": {
        "id": 1065,
        "url": "http://patches.dpdk.org/api/people/1065/?format=api",
        "name": "Xiaoyu Min",
        "email": "jackmin@mellanox.com"
    },
    "delegate": {
        "id": 319,
        "url": "http://patches.dpdk.org/api/users/319/?format=api",
        "username": "fyigit",
        "first_name": "Ferruh",
        "last_name": "Yigit",
        "email": "ferruh.yigit@amd.com"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/20181010130524.23590-4-jackmin@mellanox.com/mbox/",
    "series": [
        {
            "id": 1809,
            "url": "http://patches.dpdk.org/api/series/1809/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=1809",
            "date": "2018-10-10T13:05:46",
            "name": "ethdev: add generic TTL rewrite actions",
            "version": 3,
            "mbox": "http://patches.dpdk.org/series/1809/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/46495/comments/",
    "check": "fail",
    "checks": "http://patches.dpdk.org/api/patches/46495/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 2F3511B5E8;\n\tWed, 10 Oct 2018 15:06:04 +0200 (CEST)",
            "from EUR01-HE1-obe.outbound.protection.outlook.com\n\t(mail-he1eur01on0082.outbound.protection.outlook.com [104.47.0.82])\n\tby dpdk.org (Postfix) with ESMTP id 3C3531B5DE\n\tfor <dev@dpdk.org>; Wed, 10 Oct 2018 15:06:02 +0200 (CEST)",
            "from DB6PR0501MB2023.eurprd05.prod.outlook.com (10.168.9.17) by\n\tDB6PR0501MB2327.eurprd05.prod.outlook.com (10.168.56.26) with\n\tMicrosoft SMTP Server (version=TLS1_2,\n\tcipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id\n\t15.20.1207.23; Wed, 10 Oct 2018 13:06:00 +0000",
            "from DB6PR0501MB2023.eurprd05.prod.outlook.com\n\t([fe80::b1fb:bad3:b5b1:f913]) by\n\tDB6PR0501MB2023.eurprd05.prod.outlook.com\n\t([fe80::b1fb:bad3:b5b1:f913%3]) with mapi id 15.20.1228.020;\n\tWed, 10 Oct 2018 13:06:00 +0000"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com;\n\ts=selector1;\n\th=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;\n\tbh=nHcLhq+FSXa5nheJIFtw1L8PeVvwCd41CNGmv1DOkps=;\n\tb=mZyrSQoLBXg2UBpTjFxba/DmUDP0JHuzLqpJIP6d0WH/D9FZWlEYOJTMEv2kiQNVVBuBiRgny+jz5DdG6ySiXEwRXynPZBdTyWkDQ8c9PaT9rpq+EFmMXtrACqcQo3VkoFRw2S6sEeTXgPHl1nFD2f68knZvnVVV0cEnvvCjTEA=",
        "From": "Jack Min <jackmin@mellanox.com>",
        "To": "Shahaf Shuler <shahafs@mellanox.com>, Yongseok Koh <yskoh@mellanox.com>",
        "CC": "\"dev@dpdk.org\" <dev@dpdk.org>",
        "Thread-Topic": "[PATCH v3 3/3] net/mlx5: rewrite TTL by E-Switch",
        "Thread-Index": "AQHUYJn811IzDKSYJUywmgmIa+d59A==",
        "Date": "Wed, 10 Oct 2018 13:06:00 +0000",
        "Message-ID": "<20181010130524.23590-4-jackmin@mellanox.com>",
        "References": "<20180925143719.23339-1-jackmin@mellanox.com>\n\t<20181010130524.23590-1-jackmin@mellanox.com>",
        "In-Reply-To": "<20181010130524.23590-1-jackmin@mellanox.com>",
        "Accept-Language": "en-US",
        "Content-Language": "en-US",
        "X-MS-Has-Attach": "",
        "X-MS-TNEF-Correlator": "",
        "x-clientproxiedby": "SG2PR01CA0102.apcprd01.prod.exchangelabs.com\n\t(2603:1096:3:15::28) To DB6PR0501MB2023.eurprd05.prod.outlook.com\n\t(2603:10a6:4:6::17)",
        "authentication-results": "spf=none (sender IP is )\n\tsmtp.mailfrom=jackmin@mellanox.com; ",
        "x-ms-exchange-messagesentrepresentingtype": "1",
        "x-originating-ip": "[118.201.220.138]",
        "x-ms-publictraffictype": "Email",
        "x-microsoft-exchange-diagnostics": "1; DB6PR0501MB2327;\n\t6:u2RE/AgWt3Ptxu+sikoi198UwFZajZv3Yf2akp8WeTqQM0uZHeQyMuBuFcwi4f79SfQGqBE05zUCCZ8VLSv3UVmC+7FEPwCwyZkHQ2lPOpceR+8SgGeGKQeQ7Jm6zjphvOmfqqFp0hs9AVOHwKivjzPwgd9YzqhDanO/wUabZRMmraNhIwF+Ja7HrWXmRMhSlaH1SDbNXb4nVi/DdnTpFEUvrSS6MEN/ZJvuIqdlc8v09Hvpo5UD4t8J0hxJaD6+6L62uj3fm3sRbrN35BDhUCyGHAG2f02ITct7dGHTOF3UBxQoRfSnVG2GKQKzB2hmkMZ52Y6uqZeB0l076+Ply5hdAI8iCJpl0yCDKFkJH/RcLZCex4LWWyn+9Gaj77nkNkUoYt4FNuIcOa0G3b4yL2H1enwB0cIhGzaJLvPGU8CtMdFqPjvD3/EbHNhbGArmtz6AeWHflL62sl6rr27iEQ==;\n\t5:DunvxaIy6PwkKFFWvuzMapnKf4VEiMS+k0JwGlZW31Ss/bCDHoL4L74HAiFpjN8F7WjUu3SMLkMOochO2a2HXXR4d4dSV06Wlj/tcNHJR36G9ik7VFrat/SsU/Uy8StwIy7VWdcRM16RQV5XPSwKPkvgOP+Vs+Hg9UUs3uy7qEU=;\n\t7:ou04XTh2N4nEsUgUX/wXdOsMAfAPLEr73eEKgZidYKCG0h7NLEtRrSa4CuDMEds0Wt0VqeeE2Vz6pABfacvA8xvplfIFfQFCRo1c1r0kK2GPmPDZ/D4H87SWoSK8s+Ia1K1CUqMWGt1g4TzCRw7fLsfyoj76LwKf0+2+3/WnhpBGPOB00dH7bOdO5oqDygWeGzNa34s9v8KMQkBukIjdfMm71QsZJq/g64ZXpN/9CvscL95IR1qheB7Gs/Z/qVUU",
        "x-ms-office365-filtering-correlation-id": "41cf6731-0fb8-4429-2162-08d62eb11d98",
        "x-ms-office365-filtering-ht": "Tenant",
        "x-microsoft-antispam": "BCL:0; PCL:0;\n\tRULEID:(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020);\n\tSRVR:DB6PR0501MB2327; ",
        "x-ms-traffictypediagnostic": "DB6PR0501MB2327:",
        "x-microsoft-antispam-prvs": "<DB6PR0501MB2327A95CF200718E5F794E67CCE00@DB6PR0501MB2327.eurprd05.prod.outlook.com>",
        "x-exchange-antispam-report-test": "UriScan:;",
        "x-ms-exchange-senderadcheck": "1",
        "x-exchange-antispam-report-cfa-test": "BCL:0; PCL:0;\n\tRULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(3002001)(3231355)(944501410)(52105095)(93006095)(93001095)(10201501046)(6055026)(149066)(150057)(6041310)(20161123560045)(20161123562045)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(201708071742011)(7699051);\n\tSRVR:DB6PR0501MB2327; BCL:0; PCL:0; RULEID:; SRVR:DB6PR0501MB2327; ",
        "x-forefront-prvs": "08213D42D3",
        "x-forefront-antispam-report": "SFV:NSPM;\n\tSFS:(10009020)(39860400002)(396003)(366004)(376002)(346002)(136003)(189003)(199004)(97736004)(6486002)(186003)(7736002)(26005)(305945005)(5250100002)(66066001)(71200400001)(68736007)(71190400001)(53936002)(8936002)(102836004)(25786009)(14444005)(2900100001)(256004)(6436002)(6512007)(36756003)(76176011)(81166006)(446003)(86362001)(316002)(105586002)(1076002)(2906002)(8676002)(3846002)(110136005)(11346002)(85306007)(386003)(476003)(2616005)(99286004)(478600001)(106356001)(4326008)(5660300001)(6636002)(6116002)(486006)(14454004)(81156014)(6506007)(52116002);\n\tDIR:OUT; SFP:1101; SCL:1; SRVR:DB6PR0501MB2327;\n\tH:DB6PR0501MB2023.eurprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; \n\tPTR:InfoNoRecords; MX:1; A:1; ",
        "received-spf": "None (protection.outlook.com: mellanox.com does not designate\n\tpermitted sender hosts)",
        "x-microsoft-antispam-message-info": "ZIfE2QaiKnYfTrFd6Oq4w/5my1aOF8hUZvhK9l7QkfQwvUOjGtIvpoL9zY7s2OPlBuhJXs0GOvGhn3OEEKuu/zq9R8sBPB2/iQNNMadbCDSZZ2PF1eJUXEU5Q8DMzHtysqbD9UejSbcNZqQZeXhA3iwohgi2eiwXn6PZXmT7nI5EvHmAqEf3QmMY3f+8L37WpaVIlONyPlRTkTCSM5+KB2hSpGwrmAZHb4fxnuYI1Q7lYt14Ee3mfZxyYzPHvP79n92HJCfQfnn8deg7mNGBURQH4aZWymBlQzKMcBcYYjqP3aiyfxEDvhC708/obYQkTi2qPcVuZmVvJWnXxtRHeNjbCN9p5gPo64eINqc59Nw=",
        "spamdiagnosticoutput": "1:99",
        "spamdiagnosticmetadata": "NSPM",
        "Content-Type": "text/plain; charset=\"iso-8859-1\"",
        "Content-Transfer-Encoding": "quoted-printable",
        "MIME-Version": "1.0",
        "X-OriginatorOrg": "Mellanox.com",
        "X-MS-Exchange-CrossTenant-Network-Message-Id": "41cf6731-0fb8-4429-2162-08d62eb11d98",
        "X-MS-Exchange-CrossTenant-originalarrivaltime": "10 Oct 2018 13:06:00.7758\n\t(UTC)",
        "X-MS-Exchange-CrossTenant-fromentityheader": "Hosted",
        "X-MS-Exchange-CrossTenant-id": "a652971c-7d2e-4d9b-a6a4-d149256f461b",
        "X-MS-Exchange-Transport-CrossTenantHeadersStamped": "DB6PR0501MB2327",
        "Subject": "[dpdk-dev] [PATCH v3 3/3] net/mlx5: rewrite TTL by E-Switch",
        "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": "Offload following modify TTL actions to E-Switch via\nTC-Flower driver\n\n- RTE_FLOW_ACTION_TYPE_SET_TTL\n- RTE_FLOW_ACTION_TYPE_DEC_TTL\n\nThe corresponding IP protocol rte_flow_item_ipv[4|6]\nmust be present in rte_flow pattern otherwith PMD\nreturn error\n\nThe example testpmd commands are:\n\n    flow create 0 transfer ingress\n         pattern eth / ipv4 / udp dst is 7000 / end\n\t actions dec_ttl /\n\t port_id id 1 / end\n\n    flow create 0 transfer ingress\n         pattern eth / ipv4 / udp dst is 7001 / end\n\t actions set_ttl ttl_value 10 /\n\t port_id id 1 / end\n\nSigned-off-by: Xiaoyu Min <jackmin@mellanox.com>\n---\n drivers/net/mlx5/mlx5_flow.h     |  2 +\n drivers/net/mlx5/mlx5_flow_tcf.c | 84 +++++++++++++++++++++++++++++++-\n 2 files changed, 84 insertions(+), 2 deletions(-)",
    "diff": "diff --git a/drivers/net/mlx5/mlx5_flow.h b/drivers/net/mlx5/mlx5_flow.h\nindex cbb8c56c8..0ad8c12ea 100644\n--- a/drivers/net/mlx5/mlx5_flow.h\n+++ b/drivers/net/mlx5/mlx5_flow.h\n@@ -84,6 +84,8 @@\n #define MLX5_FLOW_ACTION_SET_IPV6_DST (1u << 14)\n #define MLX5_FLOW_ACTION_SET_TP_SRC (1u << 15)\n #define MLX5_FLOW_ACTION_SET_TP_DST (1u << 16)\n+#define MLX5_FLOW_ACTION_SET_TTL (1u << 17)\n+#define MLX5_FLOW_ACTION_DEC_TTL (1u << 18)\n \n #define MLX5_FLOW_FATE_ACTIONS \\\n \t(MLX5_FLOW_ACTION_DROP | MLX5_FLOW_ACTION_QUEUE | MLX5_FLOW_ACTION_RSS)\ndiff --git a/drivers/net/mlx5/mlx5_flow_tcf.c b/drivers/net/mlx5/mlx5_flow_tcf.c\nindex 65e8a4b3f..af8a68529 100644\n--- a/drivers/net/mlx5/mlx5_flow_tcf.c\n+++ b/drivers/net/mlx5/mlx5_flow_tcf.c\n@@ -217,6 +217,10 @@ struct tc_pedit_sel {\n #define TP_PORT_LEN 2 /* Transport Port (UDP/TCP) Length */\n #endif\n \n+#ifndef TTL_LEN\n+#define TTL_LEN 1\n+#endif\n+\n /** Empty masks for known item types. */\n static const union {\n \tstruct rte_flow_item_port_id port_id;\n@@ -299,13 +303,16 @@ struct flow_tcf_ptoi {\n \t\t\t\tMLX5_FLOW_ACTION_SET_IPV6_SRC | \\\n \t\t\t\tMLX5_FLOW_ACTION_SET_IPV6_DST | \\\n \t\t\t\tMLX5_FLOW_ACTION_SET_TP_SRC   | \\\n-\t\t\t\tMLX5_FLOW_ACTION_SET_TP_DST)\n+\t\t\t\tMLX5_FLOW_ACTION_SET_TP_DST   | \\\n+\t\t\t\tMLX5_FLOW_ACTION_SET_TTL      | \\\n+\t\t\t\tMLX5_FLOW_ACTION_DEC_TTL)\n \n #define MLX5_TCF_CONFIG_ACTIONS (MLX5_FLOW_ACTION_PORT_ID | \\\n \t\t\t\t MLX5_FLOW_ACTION_OF_PUSH_VLAN | \\\n \t\t\t\t MLX5_FLOW_ACTION_OF_SET_VLAN_VID | \\\n \t\t\t\t MLX5_FLOW_ACTION_OF_SET_VLAN_PCP | \\\n-\t\t\t\t MLX5_TCF_PEDIT_ACTIONS)\n+\t\t\t\t (MLX5_TCF_PEDIT_ACTIONS & \\\n+\t\t\t\t  ~MLX5_FLOW_ACTION_DEC_TTL))\n \n #define MAX_PEDIT_KEYS (128)\n #define SZ_PEDIT_KEY_VAL (4)\n@@ -338,6 +345,46 @@ flow_tcf_calc_pedit_keys(const uint64_t size)\n \treturn keys;\n }\n \n+/**\n+ * Set pedit key of decrease/set ttl\n+ *\n+ * @param[in] actions\n+ *   pointer to action specification\n+ * @param[in,out] p_parser\n+ *   pointer to pedit_parser\n+ * @param[in] item_flags\n+ *   flags of all items presented\n+ */\n+static void\n+flow_tcf_pedit_key_set_dec_ttl(const struct rte_flow_action *actions,\n+\t\t\t\tstruct pedit_parser *p_parser,\n+\t\t\t\tuint64_t item_flags)\n+{\n+\tint idx = p_parser->sel.nkeys;\n+\n+\tp_parser->keys[idx].mask = 0xFFFFFF00;\n+\tif (item_flags & MLX5_FLOW_LAYER_OUTER_L3_IPV4) {\n+\t\tp_parser->keys_ex[idx].htype = TCA_PEDIT_KEY_EX_HDR_TYPE_IP4;\n+\t\tp_parser->keys[idx].off =\n+\t\t\toffsetof(struct ipv4_hdr, time_to_live);\n+\t}\n+\tif (item_flags & MLX5_FLOW_LAYER_OUTER_L3_IPV6) {\n+\t\tp_parser->keys_ex[idx].htype = TCA_PEDIT_KEY_EX_HDR_TYPE_IP6;\n+\t\tp_parser->keys[idx].off =\n+\t\t\toffsetof(struct ipv6_hdr, hop_limits);\n+\t}\n+\tif (actions->type == RTE_FLOW_ACTION_TYPE_DEC_TTL) {\n+\t\tp_parser->keys_ex[idx].cmd = TCA_PEDIT_KEY_EX_CMD_ADD;\n+\t\tp_parser->keys[idx].val = 0x000000FF;\n+\t} else {\n+\t\tp_parser->keys_ex[idx].cmd = TCA_PEDIT_KEY_EX_CMD_SET;\n+\t\tp_parser->keys[idx].val =\n+\t\t\t(__u32)((const struct rte_flow_action_set_ttl *)\n+\t\t\t actions->conf)->ttl_value;\n+\t}\n+\tp_parser->sel.nkeys = (++idx);\n+}\n+\n /**\n  * Set pedit key of transport (TCP/UDP) port value\n  *\n@@ -477,6 +524,11 @@ flow_tcf_create_pedit_mnl_msg(struct nlmsghdr *nl,\n \t\t\tflow_tcf_pedit_key_set_tp_port(*actions,\n \t\t\t\t\t\t\t&p_parser, item_flags);\n \t\t\tbreak;\n+\t\tcase RTE_FLOW_ACTION_TYPE_SET_TTL:\n+\t\tcase RTE_FLOW_ACTION_TYPE_DEC_TTL:\n+\t\t\tflow_tcf_pedit_key_set_dec_ttl(*actions,\n+\t\t\t\t\t\t\t&p_parser, item_flags);\n+\t\t\tbreak;\n \t\tdefault:\n \t\t\tgoto pedit_mnl_msg_done;\n \t\t}\n@@ -557,6 +609,14 @@ flow_tcf_get_pedit_actions_size(const struct rte_flow_action **actions,\n \t\t\tkeys += flow_tcf_calc_pedit_keys(TP_PORT_LEN);\n \t\t\tflags |= MLX5_FLOW_ACTION_SET_TP_DST;\n \t\t\tbreak;\n+\t\tcase RTE_FLOW_ACTION_TYPE_SET_TTL:\n+\t\t\tkeys += flow_tcf_calc_pedit_keys(TTL_LEN);\n+\t\t\tflags |= MLX5_FLOW_ACTION_SET_TTL;\n+\t\t\tbreak;\n+\t\tcase RTE_FLOW_ACTION_TYPE_DEC_TTL:\n+\t\t\tkeys += flow_tcf_calc_pedit_keys(TTL_LEN);\n+\t\t\tflags |= MLX5_FLOW_ACTION_DEC_TTL;\n+\t\t\tbreak;\n \t\tdefault:\n \t\t\tgoto get_pedit_action_size_done;\n \t\t}\n@@ -1075,6 +1135,12 @@ flow_tcf_validate(struct rte_eth_dev *dev,\n \t\tcase RTE_FLOW_ACTION_TYPE_SET_TP_DST:\n \t\t\tcurrent_action_flag = MLX5_FLOW_ACTION_SET_TP_DST;\n \t\t\tbreak;\n+\t\tcase RTE_FLOW_ACTION_TYPE_SET_TTL:\n+\t\t\tcurrent_action_flag = MLX5_FLOW_ACTION_SET_TTL;\n+\t\t\tbreak;\n+\t\tcase RTE_FLOW_ACTION_TYPE_DEC_TTL:\n+\t\t\tcurrent_action_flag = MLX5_FLOW_ACTION_DEC_TTL;\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@@ -1169,6 +1235,16 @@ flow_tcf_validate(struct rte_eth_dev *dev,\n \t\treturn rte_flow_error_set(error, EINVAL,\n \t\t\t\t\t  RTE_FLOW_ERROR_TYPE_ACTION, actions,\n \t\t\t\t\t  \"no fate action is found\");\n+\tif (action_flags &\n+\t   (MLX5_FLOW_ACTION_SET_TTL | MLX5_FLOW_ACTION_DEC_TTL)) {\n+\t\tif (!(item_flags &\n+\t\t     (MLX5_FLOW_LAYER_OUTER_L3_IPV4 |\n+\t\t      MLX5_FLOW_LAYER_OUTER_L3_IPV6)))\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  actions,\n+\t\t\t\t\t\t  \"no IP found in pattern\");\n+\t}\n \treturn 0;\n }\n \n@@ -1318,6 +1394,8 @@ flow_tcf_get_actions_and_size(const struct rte_flow_action actions[],\n \t\tcase RTE_FLOW_ACTION_TYPE_SET_IPV6_DST:\n \t\tcase RTE_FLOW_ACTION_TYPE_SET_TP_SRC:\n \t\tcase RTE_FLOW_ACTION_TYPE_SET_TP_DST:\n+\t\tcase RTE_FLOW_ACTION_TYPE_SET_TTL:\n+\t\tcase RTE_FLOW_ACTION_TYPE_DEC_TTL:\n \t\t\tsize += flow_tcf_get_pedit_actions_size(&actions,\n \t\t\t\t\t\t\t\t&flags);\n \t\t\tbreak;\n@@ -1862,6 +1940,8 @@ flow_tcf_translate(struct rte_eth_dev *dev, struct mlx5_flow *dev_flow,\n \t\tcase RTE_FLOW_ACTION_TYPE_SET_IPV6_DST:\n \t\tcase RTE_FLOW_ACTION_TYPE_SET_TP_SRC:\n \t\tcase RTE_FLOW_ACTION_TYPE_SET_TP_DST:\n+\t\tcase RTE_FLOW_ACTION_TYPE_SET_TTL:\n+\t\tcase RTE_FLOW_ACTION_TYPE_DEC_TTL:\n \t\t\tna_act_index =\n \t\t\t\tmnl_attr_nest_start(nlh, na_act_index_cur++);\n \t\t\tflow_tcf_create_pedit_mnl_msg(nlh,\n",
    "prefixes": [
        "v3",
        "3/3"
    ]
}