get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 110399,
    "url": "http://patchwork.dpdk.org/api/patches/110399/?format=api",
    "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20220428033034.3490183-4-wenjun1.wu@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": "<20220428033034.3490183-4-wenjun1.wu@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20220428033034.3490183-4-wenjun1.wu@intel.com",
    "date": "2022-04-28T03:30:28",
    "name": "[v9,3/9] net/ice/base: support priority configuration of the exact node",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "d42f86e5b29375f842d1dd20f9a8ffd267fcbe93",
    "submitter": {
        "id": 2083,
        "url": "http://patchwork.dpdk.org/api/people/2083/?format=api",
        "name": "Wenjun Wu",
        "email": "wenjun1.wu@intel.com"
    },
    "delegate": {
        "id": 1540,
        "url": "http://patchwork.dpdk.org/api/users/1540/?format=api",
        "username": "qzhan15",
        "first_name": "Qi",
        "last_name": "Zhang",
        "email": "qi.z.zhang@intel.com"
    },
    "mbox": "http://patchwork.dpdk.org/project/dpdk/patch/20220428033034.3490183-4-wenjun1.wu@intel.com/mbox/",
    "series": [
        {
            "id": 22704,
            "url": "http://patchwork.dpdk.org/api/series/22704/?format=api",
            "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=22704",
            "date": "2022-04-28T03:30:28",
            "name": "Enable ETS-based TX QoS on PF",
            "version": 9,
            "mbox": "http://patchwork.dpdk.org/series/22704/mbox/"
        }
    ],
    "comments": "http://patchwork.dpdk.org/api/patches/110399/comments/",
    "check": "success",
    "checks": "http://patchwork.dpdk.org/api/patches/110399/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 BC35FA0503;\n\tThu, 28 Apr 2022 05:52:51 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 5C1E3410DC;\n\tThu, 28 Apr 2022 05:52:51 +0200 (CEST)",
            "from mga02.intel.com (mga02.intel.com [134.134.136.20])\n by mails.dpdk.org (Postfix) with ESMTP id B02DE4068F\n for <dev@dpdk.org>; Thu, 28 Apr 2022 05:52:49 +0200 (CEST)",
            "from orsmga003.jf.intel.com ([10.7.209.27])\n by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 27 Apr 2022 20:52:44 -0700",
            "from npg-wuwenjun-dpdk-01.sh.intel.com ([10.67.110.181])\n by orsmga003.jf.intel.com with ESMTP; 27 Apr 2022 20:52:43 -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=1651117969; x=1682653969;\n h=from:to:subject:date:message-id:in-reply-to:references:\n mime-version:content-transfer-encoding;\n bh=ktOj2bbb+GPsPVYYlUyLtrIxuLdSm+53i17qdYeA7VE=;\n b=AyVR8utBYN81ehAOLutOmUdB/G1lAqBOA7vdhlRohJ0W+HOvrfL8ypwE\n CGjcFePM1ThzrdxSj0jPrREoSSV/2EYnniV5HbONcIil41y9wP7u0CHRG\n +ZorVSF3WXQtjsZN1VNjbloCcfFmhK+StqCMwkNKHlkJ8TEdZUAQJOU2q\n wvo7XkfLxjy48LspPllbYNzzJgOZwZF/ps/kWrCWKATFbkHwgQ8ZDr9Ez\n ARfFKe+B+nPNCO/wLcqKxiJHfPOev6G+HUO5voESPPa+1hInYGryaySJR\n Jb41xNeGOsvxwkcM4th4pC+Pg81mtwV9FnHAK+ivC+KmpEsrWlqGhW59r g==;",
        "X-IronPort-AV": [
            "E=McAfee;i=\"6400,9594,10330\"; a=\"253531278\"",
            "E=Sophos;i=\"5.90,295,1643702400\"; d=\"scan'208\";a=\"253531278\"",
            "E=Sophos;i=\"5.90,295,1643702400\"; d=\"scan'208\";a=\"514044793\""
        ],
        "X-ExtLoop1": "1",
        "From": "Wenjun Wu <wenjun1.wu@intel.com>",
        "To": "dev@dpdk.org,\n\tqiming.yang@intel.com,\n\tqi.z.zhang@intel.com",
        "Subject": "[PATCH v9 3/9] net/ice/base: support priority configuration of the\n exact node",
        "Date": "Thu, 28 Apr 2022 11:30:28 +0800",
        "Message-Id": "<20220428033034.3490183-4-wenjun1.wu@intel.com>",
        "X-Mailer": "git-send-email 2.25.1",
        "In-Reply-To": "<20220428033034.3490183-1-wenjun1.wu@intel.com>",
        "References": "<20220329014813.1092054-1-wenjun1.wu@intel.com>\n <20220428033034.3490183-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": "This patch adds priority configuration support of the exact\nnode in the scheduler tree.\nThis function does not need additional calls to the scheduler\nlock.\n\nSigned-off-by: Wenjun Wu <wenjun1.wu@intel.com>\n---\n drivers/net/ice/base/ice_sched.c | 22 ++++++++++++++++++++++\n drivers/net/ice/base/ice_sched.h |  3 +++\n 2 files changed, 25 insertions(+)",
    "diff": "diff --git a/drivers/net/ice/base/ice_sched.c b/drivers/net/ice/base/ice_sched.c\nindex 4ca15bf8f8..1b060d3567 100644\n--- a/drivers/net/ice/base/ice_sched.c\n+++ b/drivers/net/ice/base/ice_sched.c\n@@ -3613,6 +3613,28 @@ ice_cfg_vsi_q_priority(struct ice_port_info *pi, u16 num_qs, u32 *q_ids,\n \treturn status;\n }\n \n+/**\n+ * ice_sched_cfg_sibl_node_prio_lock - config priority of node\n+ * @pi: port information structure\n+ * @node: sched node to configure\n+ * @priority: sibling priority\n+ *\n+ * This function configures node element's sibling priority only.\n+ */\n+enum ice_status\n+ice_sched_cfg_sibl_node_prio_lock(struct ice_port_info *pi,\n+\t\t\t\t  struct ice_sched_node *node,\n+\t\t\t\t  u8 priority)\n+{\n+\tenum ice_status status;\n+\n+\tice_acquire_lock(&pi->sched_lock);\n+\tstatus = ice_sched_cfg_sibl_node_prio(pi, node, priority);\n+\tice_release_lock(&pi->sched_lock);\n+\n+\treturn status;\n+}\n+\n /**\n  * ice_sched_save_q_bw_alloc - save queue node's BW allocation information\n  * @q_ctx: queue context structure\ndiff --git a/drivers/net/ice/base/ice_sched.h b/drivers/net/ice/base/ice_sched.h\nindex 184ad09e6a..c9f3f79eff 100644\n--- a/drivers/net/ice/base/ice_sched.h\n+++ b/drivers/net/ice/base/ice_sched.h\n@@ -169,6 +169,9 @@ enum ice_status\n ice_cfg_agg_bw_no_shared_lmt_per_tc(struct ice_port_info *pi, u32 agg_id,\n \t\t\t\t    u8 tc);\n enum ice_status\n+ice_sched_cfg_sibl_node_prio_lock(struct ice_port_info *pi,\n+\t\t\t\t  struct ice_sched_node *node, u8 priority);\n+enum ice_status\n ice_cfg_vsi_q_priority(struct ice_port_info *pi, u16 num_qs, u32 *q_ids,\n \t\t       u8 *q_prio);\n enum ice_status\n",
    "prefixes": [
        "v9",
        "3/9"
    ]
}