get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 109459,
    "url": "http://patches.dpdk.org/api/patches/109459/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20220408053815.850191-2-wenjun1.wu@intel.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": "<20220408053815.850191-2-wenjun1.wu@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20220408053815.850191-2-wenjun1.wu@intel.com",
    "date": "2022-04-08T05:38:06",
    "name": "[v6,01/10] net/ice/base: fix dead lock issue when getting node from ID type",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "9e21e74160b142acfa053d89d962ec57e6cb5bdd",
    "submitter": {
        "id": 2083,
        "url": "http://patches.dpdk.org/api/people/2083/?format=api",
        "name": "Wenjun Wu",
        "email": "wenjun1.wu@intel.com"
    },
    "delegate": {
        "id": 1540,
        "url": "http://patches.dpdk.org/api/users/1540/?format=api",
        "username": "qzhan15",
        "first_name": "Qi",
        "last_name": "Zhang",
        "email": "qi.z.zhang@intel.com"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/20220408053815.850191-2-wenjun1.wu@intel.com/mbox/",
    "series": [
        {
            "id": 22426,
            "url": "http://patches.dpdk.org/api/series/22426/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=22426",
            "date": "2022-04-08T05:38:06",
            "name": "Enable ETS-based TX QoS on PF",
            "version": 6,
            "mbox": "http://patches.dpdk.org/series/22426/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/109459/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/109459/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 92F02A0513;\n\tFri,  8 Apr 2022 07:59:17 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 3BC104003F;\n\tFri,  8 Apr 2022 07:59:17 +0200 (CEST)",
            "from mga12.intel.com (mga12.intel.com [192.55.52.136])\n by mails.dpdk.org (Postfix) with ESMTP id E329A4003F\n for <dev@dpdk.org>; Fri,  8 Apr 2022 07:59:15 +0200 (CEST)",
            "from fmsmga003.fm.intel.com ([10.253.24.29])\n by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 07 Apr 2022 22:59:14 -0700",
            "from npg-wuwenjun-dpdk-01.sh.intel.com ([10.67.110.181])\n by FMSMGA003.fm.intel.com with ESMTP; 07 Apr 2022 22:59:13 -0700"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple;\n d=intel.com; i=@intel.com; q=dns/txt; s=Intel;\n t=1649397556; x=1680933556;\n h=from:to:subject:date:message-id:in-reply-to:references:\n mime-version:content-transfer-encoding;\n bh=xEKefMjR3h9JAESPdnQE2kx5ptBt1rR8l5zTEtJ2nDc=;\n b=Y7I3bjAImX0fT18z4YOckQYKLfUb4omgkPTXt8ln3+0Uyvu3t/g8Am+r\n C7qbqqvMhALXhtiHXeCYpxZVTNzLNV1CR/gdDJ352OlEk7pseVgCKDD/f\n 8uFSpDcA+JDBsUUzRQoZijqLmh5AsNERW9kI/uae7YQJqHNrYYMlASQy8\n HqXf51bJkw61Mk2kTJTpTzBV7HnN/PNEbwWDTetJtnuYsu5GLe0OWZUQf\n W5TTzC73jXsGWWQY/WTd7Ddq+g8HoQ3bPMm1ycdE3LFGJ5auYiFrLHtDc\n haW7ZcRksCawKJl2IV5hoVT8C12gXJbxZzoMGu1GYR1q4gi2/1hawK1Xu g==;",
        "X-IronPort-AV": [
            "E=McAfee;i=\"6400,9594,10310\"; a=\"241450369\"",
            "E=Sophos;i=\"5.90,244,1643702400\"; d=\"scan'208\";a=\"241450369\"",
            "E=Sophos;i=\"5.90,244,1643702400\"; d=\"scan'208\";a=\"642773515\""
        ],
        "X-ExtLoop1": "1",
        "From": "Wenjun Wu <wenjun1.wu@intel.com>",
        "To": "dev@dpdk.org,\n\tqi.z.zhang@intel.com,\n\tqiming.yang@intel.com",
        "Subject": "[PATCH v6 01/10] net/ice/base: fix dead lock issue when getting node\n from ID type",
        "Date": "Fri,  8 Apr 2022 13:38:06 +0800",
        "Message-Id": "<20220408053815.850191-2-wenjun1.wu@intel.com>",
        "X-Mailer": "git-send-email 2.25.1",
        "In-Reply-To": "<20220408053815.850191-1-wenjun1.wu@intel.com>",
        "References": "<20220329014813.1092054-1-wenjun1.wu@intel.com>\n <20220408053815.850191-1-wenjun1.wu@intel.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "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": "The function ice_sched_get_node_by_id_type needs to be called\nwith the scheduler lock held. However, the function\nice_sched_get_node also requests the scheduler lock.\nIt will cause the dead lock issue.\n\nThis patch replaces function ice_sched_get_node with\nfunction ice_sched_find_node_by_teid to solve this problem.\n\nSigned-off-by: Wenjun Wu <wenjun1.wu@intel.com>\n---\n drivers/net/ice/base/ice_sched.c | 4 ++--\n 1 file changed, 2 insertions(+), 2 deletions(-)",
    "diff": "diff --git a/drivers/net/ice/base/ice_sched.c b/drivers/net/ice/base/ice_sched.c\nindex 2620892c9e..e697c579be 100644\n--- a/drivers/net/ice/base/ice_sched.c\n+++ b/drivers/net/ice/base/ice_sched.c\n@@ -4774,12 +4774,12 @@ ice_sched_get_node_by_id_type(struct ice_port_info *pi, u32 id,\n \n \tcase ICE_AGG_TYPE_Q:\n \t\t/* The current implementation allows single queue to modify */\n-\t\tnode = ice_sched_get_node(pi, id);\n+\t\tnode = ice_sched_find_node_by_teid(pi->root, id);\n \t\tbreak;\n \n \tcase ICE_AGG_TYPE_QG:\n \t\t/* The current implementation allows single qg to modify */\n-\t\tchild_node = ice_sched_get_node(pi, id);\n+\t\tchild_node = ice_sched_find_node_by_teid(pi->root, id);\n \t\tif (!child_node)\n \t\t\tbreak;\n \t\tnode = child_node->parent;\n",
    "prefixes": [
        "v6",
        "01/10"
    ]
}