get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 44765,
    "url": "http://patches.dpdk.org/api/patches/44765/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/1537116824-191205-2-git-send-email-orika@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": "<1537116824-191205-2-git-send-email-orika@mellanox.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1537116824-191205-2-git-send-email-orika@mellanox.com",
    "date": "2018-09-16T16:53:42",
    "name": "[1/3] ethdev: add generic L2/L3 tunnel encapsulation actions",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "3c93f2bc51e215d603f6aa318a00ce863a918b54",
    "submitter": {
        "id": 795,
        "url": "http://patches.dpdk.org/api/people/795/?format=api",
        "name": "Ori Kam",
        "email": "orika@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/1537116824-191205-2-git-send-email-orika@mellanox.com/mbox/",
    "series": [
        {
            "id": 1340,
            "url": "http://patches.dpdk.org/api/series/1340/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=1340",
            "date": "2018-09-16T16:53:41",
            "name": "add generic L2/L3 tunnel encapsulation actions",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/1340/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/44765/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/44765/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 8DC375A6A;\n\tSun, 16 Sep 2018 18:56:29 +0200 (CEST)",
            "from EUR02-AM5-obe.outbound.protection.outlook.com\n\t(mail-eopbgr00056.outbound.protection.outlook.com [40.107.0.56])\n\tby dpdk.org (Postfix) with ESMTP id 279895A44\n\tfor <dev@dpdk.org>; Sun, 16 Sep 2018 18:56:28 +0200 (CEST)",
            "from mellanox.com (37.142.13.130) by\n\tHE1PR05MB3434.eurprd05.prod.outlook.com (2603:10a6:7:33::24) with\n\tMicrosoft SMTP Server (version=TLS1_2,\n\tcipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id\n\t15.20.1143.15; Sun, 16 Sep 2018 16:56:24 +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=wnRYNtNZbYuWSG4wxILPJuH7aYzlvpfTEO7JOeZBOyE=;\n\tb=N5+qL6BG9FSj8in/8o15VnXSRn8z3pDTJPgmMOiN/FYbHWYjzgo8J2p4sK/1E6Fx9IA5WcjWc3G4smD9INo0VJiAUubWGYFycu8Ig33mu8NzmskyXMZ4FvdacszJYUqkvbyo5mSLo533YG3RalKbaBnIrfBSOdYbjfq7B2XcZ24=",
        "Authentication-Results": "spf=none (sender IP is )\n\tsmtp.mailfrom=orika@mellanox.com; ",
        "From": "Ori Kam <orika@mellanox.com>",
        "To": "arybchenko@solarflare.com, ferruh.yigit@intel.com,\n\tstephen@networkplumber.org, adrien.mazarguil@6wind.com",
        "Cc": "dev@dpdk.org, dekelp@mellanox.com, thomas@monjalon.net,\n\tnelio.laranjeiro@6wind.com, yskoh@mellanox.com, orika@mellanox.com",
        "Date": "Sun, 16 Sep 2018 16:53:42 +0000",
        "Message-Id": "<1537116824-191205-2-git-send-email-orika@mellanox.com>",
        "X-Mailer": "git-send-email 1.8.3.1",
        "In-Reply-To": "<1537116824-191205-1-git-send-email-orika@mellanox.com>",
        "References": "<1537116824-191205-1-git-send-email-orika@mellanox.com>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain",
        "X-Originating-IP": "[37.142.13.130]",
        "X-ClientProxiedBy": "DB6P193CA0021.EURP193.PROD.OUTLOOK.COM\n\t(2603:10a6:6:29::31)\n\tTo HE1PR05MB3434.eurprd05.prod.outlook.com\n\t(2603:10a6:7:33::24)",
        "X-MS-PublicTrafficType": "Email",
        "X-MS-Office365-Filtering-Correlation-Id": "4c2ff7e1-70a8-4c98-da1c-08d61bf556f2",
        "X-MS-Office365-Filtering-HT": "Tenant",
        "X-Microsoft-Antispam": "BCL:0; PCL:0;\n\tRULEID:(7020095)(4652040)(8989137)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020);\n\tSRVR:HE1PR05MB3434; ",
        "X-Microsoft-Exchange-Diagnostics": [
            "1; HE1PR05MB3434;\n\t3:iP2XCksQWnvddXSrjTBB8n7NHye8ceOch3M25vpidOWUgYseBrQeiTgt2w5Z8kXID3gE9ASafj40bb1tAyS59Hy+PBcKDADYp2UXwdAf+HWevtqnfsqRvcHcxOc1Nn4z0WXOQG3Lp2Ur9mudk/yPugcIAXGnTz7JppkCEQYVF8fYNoon3zEgzAEnf4sRgb7PelROYMWi3gejU0A7n3Ea5YdNU10D6A05wmfMybyaj6Ew6iUPV4+X2jOSjLS6orG2;\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LGR78zT5S+P55j826+1+iIoSRbg==;\n\t5:NoP04LN8FgzHb/IUryfnrIb5mqSTk4nWIXJcpCrxCs0eOwu28nGv946b3pRkRWldpH0AZKh74LoSuQTRlxSKypnbpm5gcmuKp4DGuSM2QW5Ol5WPobsNMxybIU5+WrQDqiNtKDV5QfSegQ4uOaOOe/qJzj8DbX6HNOK2V/mkXzA=;\n\t7:zm+huPeVc8IKLbb4khaYOIb80TOoyCkSjpfB7UKUQ5iOQcYscbmfZIUofwz0AMS798QiREsdzLuzvIfIGxZ81X6nURIOzavooODg1FDJ/MzgiwMWwY3N/o2ajTkE+4Za/c2taSIh1BgqH0d3zd3O425fzHMthcm+E907iITdVy72XBtZiRhyKcOoNBgipXrS7OpLXmfxHdD+rTW6Ulkryns1a7kRLrvPFSVyi6ZXoV1QtPnyoMfLeglp22hX+GQW"
        ],
        "X-MS-TrafficTypeDiagnostic": "HE1PR05MB3434:",
        "X-LD-Processed": "a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtAddr",
        "X-Microsoft-Antispam-PRVS": "<HE1PR05MB3434A765A23F12BC7C7323F3DB1F0@HE1PR05MB3434.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)(5005006)(8121501046)(3231355)(944501410)(52105095)(10201501046)(3002001)(93006095)(93001095)(6055026)(149027)(150027)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(20161123560045)(20161123562045)(20161123564045)(201708071742011)(7699050);\n\tSRVR:HE1PR05MB3434; BCL:0; PCL:0; RULEID:; SRVR:HE1PR05MB3434; ",
        "X-Forefront-PRVS": "079756C6B9",
        "X-Forefront-Antispam-Report": "SFV:NSPM;\n\tSFS:(10009020)(136003)(346002)(366004)(396003)(39860400002)(376002)(189003)(199004)(16586007)(47776003)(81156014)(6666003)(50226002)(8936002)(25786009)(5660300001)(68736007)(81166006)(8676002)(4326008)(106356001)(105586002)(2906002)(4720700003)(69596002)(316002)(21086003)(305945005)(8886007)(7736002)(66066001)(33026002)(107886003)(956004)(3846002)(476003)(48376002)(51416003)(478600001)(97736004)(7696005)(52116002)(55016002)(53936002)(14444005)(26005)(36756003)(186003)(16526019)(386003)(50466002)(76176011)(2616005)(86362001)(6116002)(11346002)(446003)(486006)(41533002);\n\tDIR:OUT; SFP:1101; SCL:1; SRVR:HE1PR05MB3434; H:mellanox.com; FPR:;\n\tSPF:None; \n\tLANG:en; PTR: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": "XCmip9LMpXB2d74IgL4JHxzKGXqBvS+7ZX0nI1VwcCjr65E0pDxWrAHf5hbRUf6uIwGCyC++GgChVWkhZ+10PvDiFzY+O4fPYdtKBBcGM2xV0LmkeBWaGXUbXqNQgt1A9I/8ItRCN61bAgDQdwuwV+QIQzyZsRQR2epNqzsy7RYWx+OETvVCv2XYpCemUzbceBNbPTmJoPVStW0WxiqoAjYxt9Se19gCa+JqZXMVQRnjh5cEUPV/se8xdjgcf6QfJ1HhMAVDU4qwIkvdVrxOaQGycXxii4pQjo6sD54vfCPU4dwF8Apa1/Skn5CUX1RH1z5DDd7N5uCRmzntxy6CgrNKHPjQIgMBiPZ9Jbz2qgk=",
        "SpamDiagnosticOutput": "1:99",
        "SpamDiagnosticMetadata": "NSPM",
        "X-OriginatorOrg": "Mellanox.com",
        "X-MS-Exchange-CrossTenant-OriginalArrivalTime": "16 Sep 2018 16:56:24.0760\n\t(UTC)",
        "X-MS-Exchange-CrossTenant-Network-Message-Id": "4c2ff7e1-70a8-4c98-da1c-08d61bf556f2",
        "X-MS-Exchange-CrossTenant-FromEntityHeader": "Hosted",
        "X-MS-Exchange-CrossTenant-Id": "a652971c-7d2e-4d9b-a6a4-d149256f461b",
        "X-MS-Exchange-Transport-CrossTenantHeadersStamped": "HE1PR05MB3434",
        "Subject": "[dpdk-dev] [PATCH 1/3] ethdev: add generic L2/L3 tunnel\n\tencapsulation actions",
        "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": "Currenlty the encap/decap actions only support encapsulation\nof VXLAN and NVGRE L2 packets (L2 encapsulation is where\nthe inner packet has a valid Ethernet header, while L3 encapsulation\nis where the inner packet doesn't have the Ethernet header).\nIn addtion the parameter to to the encap action is a list of rte items,\nthis results in 2 extra translation, between the application to the action\nand from the action to the NIC. This results in negetive impact on the\ninsertion performance.\n\nLooking forward there are going to be a need to support many more tunnel\nencapsulations. For example MPLSoGRE, MPLSoUDP.\nAdding the new encapsulation will result in duplication of code.\nFor example the code for handling NVGRE and VXLAN are exactly the same,\nand each new tunnel will have the same exact structure.\n\nThis patch introduce a generic encapsulation for L2 tunnel types, and\ngeneric encapsulation for L3 tunnel types. In addtion the new\nencapsulations commands are using raw buffer inorder to save the\nconverstion time, both for the application and the PMD.\n\nSigned-off-by: Ori Kam <orika@mellanox.com>\n---\n doc/guides/prog_guide/rte_flow.rst | 70 ++++++++++++++++++++++++++++++++++++++\n lib/librte_ethdev/rte_flow.h       | 64 ++++++++++++++++++++++++++++++++++\n 2 files changed, 134 insertions(+)",
    "diff": "diff --git a/doc/guides/prog_guide/rte_flow.rst b/doc/guides/prog_guide/rte_flow.rst\nindex b305a72..0f29435 100644\n--- a/doc/guides/prog_guide/rte_flow.rst\n+++ b/doc/guides/prog_guide/rte_flow.rst\n@@ -2076,6 +2076,76 @@ RTE_FLOW_ERROR_TYPE_ACTION error should be returned.\n \n This action modifies the payload of matched flows.\n \n+Action: ``TUNNEL_ENCAP``\n+^^^^^^^^^^^^^^^^^^^^^^^^\n+\n+Performs a tunnel encapsulation action by encapsulating the matched flow with\n+a tunnel header as defined in the``rte_flow_action_tunnel_encap``.\n+\n+This action modifies the payload of matched flows. The flow definition specified\n+in the ``rte_flow_action_tunnel_encap`` action structure must define a valid\n+tunnel packet overlay.\n+\n+.. _table_rte_flow_action_tunnel_encap:\n+\n+.. table:: TUNNEL_ENCAP\n+\n+   +----------------+-------------------------------------+\n+   | Field          | Value                               |\n+   +================+=====================================+\n+   | ``buf``        | Tunnel end-point overlay definition |\n+   +----------------+-------------------------------------+\n+   | ``size``       | The size of the buffer in bytes     |\n+   +----------------+-------------------------------------+\n+\n+Action: ``TUNNEL_DECAP``\n+^^^^^^^^^^^^^^^^^^^^^^^^\n+\n+Performs a decapsulation action by stripping all headers of the tunnel\n+network overlay from the matched flow.\n+\n+The flow items pattern defined for the flow rule with which a ``TUNNEL_DECAP``\n+action is specified, must define a valid tunnel. If the\n+flow pattern does not specify a valid tunnel then a\n+RTE_FLOW_ERROR_TYPE_ACTION error should be returned.\n+\n+This action modifies the payload of matched flows.\n+\n+Action: ``TUNNEL_ENCAP_L3``\n+^^^^^^^^^^^^^^^^^^^^^^^^^^^\n+\n+Replace the packet layer 2 header with the encapsulation tunnel header\n+as defined in the ``rte_flow_action_tunnel_encap_l3``.\n+\n+This action modifies the payload of matched flows. The flow definition specified\n+in the ``rte_flow_action_tunnel_encap_l3`` action structure must define a valid\n+tunnel packet overlay.\n+\n+.. _table_rte_flow_action_tunnel_encap_l3:\n+\n+.. table:: TUNNEL_ENCAP_L3\n+\n+   +----------------+-------------------------------------+\n+   | Field          | Value                               |\n+   +================+=====================================+\n+   | ``buf``        | Tunnel end-point overlay definition |\n+   +----------------+-------------------------------------+\n+   | ``size``       | The size of the buffer in bytes     |\n+   +----------------+-------------------------------------+\n+\n+Action: ``TUNNEL_DECAP_L3``\n+^^^^^^^^^^^^^^^^^^^^^^^^^^^\n+\n+Replace the packet tunnel network overlay from the matched flow with\n+layer 2 header as defined by ``rte_flow_action_tunnel_decap_l3``.\n+\n+The flow items pattern defined for the flow rule with which a ``TUNNEL_DECAP_L3``\n+action is specified, must define a valid tunnel. If the\n+flow pattern does not specify a valid tunnel then a\n+RTE_FLOW_ERROR_TYPE_ACTION error should be returned.\n+\n+This action modifies the payload of matched flows.\n+\n Negative types\n ~~~~~~~~~~~~~~\n \ndiff --git a/lib/librte_ethdev/rte_flow.h b/lib/librte_ethdev/rte_flow.h\nindex f8ba71c..d1f7ebf 100644\n--- a/lib/librte_ethdev/rte_flow.h\n+++ b/lib/librte_ethdev/rte_flow.h\n@@ -1505,6 +1505,40 @@ enum rte_flow_action_type {\n \t * error.\n \t */\n \tRTE_FLOW_ACTION_TYPE_NVGRE_DECAP,\n+\n+\t/**\n+\t * Encapsulate the packet with tunnel header as defined in\n+\t * rte_flow_action_tunnel_encap action structure.\n+\t *\n+\t * See struct rte_flow_action_tunnel_encap.\n+\t */\n+\tRTE_FLOW_ACTION_TYPE_TUNNEL_ENCAP,\n+\n+\t/**\n+\t * Decapsulate outer most tunnel from matched flow.\n+\t *\n+\t * The flow pattern must have a valid tunnel header\n+\t */\n+\tRTE_FLOW_ACTION_TYPE_TUNNEL_DECAP,\n+\n+\t/**\n+\t * Remove the packet L2 header and encapsulate the\n+\t * packet with tunnel header as defined in\n+\t * rte_flow_action_tunnel_encap_l3 action structure.\n+\t *\n+\t * See struct rte_flow_action_tunnel_encap.\n+\t */\n+\tRTE_FLOW_ACTION_TYPE_TUNNEL_ENCAP_L3,\n+\n+\t/**\n+\t * Decapsulate outer most tunnel from matched flow,\n+\t * and add L2 layer.\n+\t *\n+\t * The flow pattern must have a valid tunnel header.\n+\t *\n+\t * See struct ret_flow_action_tunnel_decap_l3\n+\t */\n+\tRTE_FLOW_ACTION_TYPE_TUNNEL_DECAP_L3,\n };\n \n /**\n@@ -1868,6 +1902,36 @@ struct rte_flow_action_nvgre_encap {\n \tstruct rte_flow_item *definition;\n };\n \n+/**\n+ * @warning\n+ * @b EXPERIMENTAL: this structure may change without prior notice\n+ *\n+ * RTE_FLOW_ACTION_TYPE_TUNNEL_ENCAP\n+ *\n+ * Tunnel end-point encapsulation data definition\n+ *\n+ * The encapsulation header is provided through raw buffer.\n+ */\n+struct rte_flow_action_tunnel_encap {\n+\tuint8_t *buf; /**< Encapsulation data. */\n+\tuint16_t size; /**< Buffer size. */\n+};\n+\n+/**\n+ * @warning\n+ * @b EXPERIMENTAL: this structure may change without prior notice\n+ *\n+ * RTE_FLOW_ACTION_TYPE_TUNNEL_ENCAP_L3\n+ *\n+ * Tunnel end-point encapsulation data definition\n+ *\n+ * The encapsulation header is provided through raw buffer.\n+ */\n+struct rte_flow_action_tunnel_encap_l3 {\n+\tuint8_t *buf; /**< Encapsulation data. */\n+\tuint16_t size; /**< Buffer size. */\n+};\n+\n /*\n  * Definition of a single action.\n  *\n",
    "prefixes": [
        "1/3"
    ]
}