get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 42719,
    "url": "http://patchwork.dpdk.org/api/patches/42719/?format=api",
    "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20180710153301.546-1-benjamin.h.shelton@intel.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": "<20180710153301.546-1-benjamin.h.shelton@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20180710153301.546-1-benjamin.h.shelton@intel.com",
    "date": "2018-07-10T15:33:01",
    "name": "ethdev: Clarify usage of TM node parent update API function",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "6a4436dcaa23d227cf674328daecbaa44356ce46",
    "submitter": {
        "id": 999,
        "url": "http://patchwork.dpdk.org/api/people/999/?format=api",
        "name": "Ben Shelton",
        "email": "benjamin.h.shelton@intel.com"
    },
    "delegate": {
        "id": 10018,
        "url": "http://patchwork.dpdk.org/api/users/10018/?format=api",
        "username": "cristian_dumitrescu",
        "first_name": "Cristian",
        "last_name": "Dumitrescu",
        "email": "cristian.dumitrescu@intel.com"
    },
    "mbox": "http://patchwork.dpdk.org/project/dpdk/patch/20180710153301.546-1-benjamin.h.shelton@intel.com/mbox/",
    "series": [
        {
            "id": 498,
            "url": "http://patchwork.dpdk.org/api/series/498/?format=api",
            "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=498",
            "date": "2018-07-10T15:33:01",
            "name": "ethdev: Clarify usage of TM node parent update API function",
            "version": 1,
            "mbox": "http://patchwork.dpdk.org/series/498/mbox/"
        }
    ],
    "comments": "http://patchwork.dpdk.org/api/patches/42719/comments/",
    "check": "success",
    "checks": "http://patchwork.dpdk.org/api/patches/42719/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 CBD5C1B43D;\n\tTue, 10 Jul 2018 17:33:21 +0200 (CEST)",
            "from mga05.intel.com (mga05.intel.com [192.55.52.43])\n\tby dpdk.org (Postfix) with ESMTP id 9B5751B3BA\n\tfor <dev@dpdk.org>; Tue, 10 Jul 2018 17:33:20 +0200 (CEST)",
            "from fmsmga007.fm.intel.com ([10.253.24.52])\n\tby fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t10 Jul 2018 08:33:15 -0700",
            "from txasoft-yocto.an.intel.com ([10.123.72.192])\n\tby fmsmga007.fm.intel.com with ESMTP; 10 Jul 2018 08:33:14 -0700"
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.51,335,1526367600\"; d=\"scan'208\";a=\"53333728\"",
        "From": "Ben Shelton <benjamin.h.shelton@intel.com>",
        "To": "Cristian Dumitrescu <cristian.dumitrescu@intel.com>,\n\tThomas Monjalon <thomas@monjalon.net>",
        "Cc": "dev@dpdk.org,\n\tBen Shelton <benjamin.h.shelton@intel.com>",
        "Date": "Tue, 10 Jul 2018 10:33:01 -0500",
        "Message-Id": "<20180710153301.546-1-benjamin.h.shelton@intel.com>",
        "X-Mailer": "git-send-email 2.13.6",
        "Subject": "[dpdk-dev] [PATCH] ethdev: Clarify usage of TM node parent update\n\tAPI function",
        "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": "The node parent update API function may be used to update the\npriority/weight of an existing node.  Update the documentation to\nindicate that this use case is supported.\n\nSigned-off-by: Ben Shelton <benjamin.h.shelton@intel.com>\n---\n lib/librte_ethdev/rte_tm.h | 4 ++++\n 1 file changed, 4 insertions(+)",
    "diff": "diff --git a/lib/librte_ethdev/rte_tm.h b/lib/librte_ethdev/rte_tm.h\nindex 7255403..955f02f 100644\n--- a/lib/librte_ethdev/rte_tm.h\n+++ b/lib/librte_ethdev/rte_tm.h\n@@ -1569,6 +1569,10 @@ rte_tm_hierarchy_commit(uint16_t port_id,\n /**\n  * Traffic manager node parent update\n  *\n+ * This function may be used to move a node and its children to a different\n+ * parent.  Additionally, if the new parent is the same as the current parent,\n+ * this function will update the priority/weight of an existing node.\n+ *\n  * Restriction for root node: its parent cannot be changed.\n  *\n  * This function can only be called after the rte_tm_hierarchy_commit()\n",
    "prefixes": []
}