get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 108997,
    "url": "http://patches.dpdk.org/api/patches/108997/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20220329093852.1360767-3-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": "<20220329093852.1360767-3-wenjun1.wu@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20220329093852.1360767-3-wenjun1.wu@intel.com",
    "date": "2022-03-29T09:38:45",
    "name": "[v5,2/9] net/ice/base: support priority configuration of the exact node",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "1cc53a058aaedc0a7aa253619925c56b03cae1b5",
    "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/20220329093852.1360767-3-wenjun1.wu@intel.com/mbox/",
    "series": [
        {
            "id": 22281,
            "url": "http://patches.dpdk.org/api/series/22281/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=22281",
            "date": "2022-03-29T09:38:43",
            "name": "Enable ETS-based TX QoS on PF",
            "version": 5,
            "mbox": "http://patches.dpdk.org/series/22281/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/108997/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/108997/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 9BFB8A0032;\n\tTue, 29 Mar 2022 12:01:30 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 50490428BA;\n\tTue, 29 Mar 2022 12:01:23 +0200 (CEST)",
            "from mga02.intel.com (mga02.intel.com [134.134.136.20])\n by mails.dpdk.org (Postfix) with ESMTP id 2C38542818\n for <dev@dpdk.org>; Tue, 29 Mar 2022 12:01:21 +0200 (CEST)",
            "from orsmga007.jf.intel.com ([10.7.209.58])\n by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 29 Mar 2022 03:01:20 -0700",
            "from npg-wuwenjun-dpdk-01.sh.intel.com ([10.67.110.181])\n by orsmga007.jf.intel.com with ESMTP; 29 Mar 2022 03:01:18 -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=1648548081; x=1680084081;\n h=from:to:subject:date:message-id:in-reply-to:references:\n mime-version:content-transfer-encoding;\n bh=dTNehpnax13DOZ/3DtDt9rANbydwbAH5ufjInT2sV6U=;\n b=UaUs10DPjv8ix4McitZ03N+x/sFlJ/A27yutuUzyMJi9xmUF/tkhnfqm\n R3JhPWKOjTtjbCZWvA29GwbMIn+1EqeYVZqGWFK0vSqwYNTu4LwpElt9b\n ySnep46lRmBYW5wA2Bfe7/4sK2+GgFG+9rYSrpOvpXuslFTZNQMTGfsPH\n 33tDE4eosfll4esed+AyGyS5zjJ32a0k6ar+bIC4nYVqDhF+EwaWolc5t\n SBNT2AmBeroy8QVbaO18HpMcundKiNp579F6Vv5x8FksU2ptNObr6rOFf\n J0dReu9Z4zgaUBOD6rzQl+dwwRyF3pOJEXX4a30+bcDq15q59AgrXA/pu Q==;",
        "X-IronPort-AV": [
            "E=McAfee;i=\"6200,9189,10300\"; a=\"246701844\"",
            "E=Sophos;i=\"5.90,220,1643702400\"; d=\"scan'208\";a=\"246701844\"",
            "E=Sophos;i=\"5.90,220,1643702400\"; d=\"scan'208\";a=\"546325873\""
        ],
        "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 v5 2/9] net/ice/base: support priority configuration of the\n exact node",
        "Date": "Tue, 29 Mar 2022 17:38:45 +0800",
        "Message-Id": "<20220329093852.1360767-3-wenjun1.wu@intel.com>",
        "X-Mailer": "git-send-email 2.25.1",
        "In-Reply-To": "<20220329093852.1360767-1-wenjun1.wu@intel.com>",
        "References": "<20220329045612.1262025-1-wenjun1.wu@intel.com>\n <20220329093852.1360767-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 | 21 +++++++++++++++++++++\n drivers/net/ice/base/ice_sched.h |  3 +++\n 2 files changed, 24 insertions(+)",
    "diff": "diff --git a/drivers/net/ice/base/ice_sched.c b/drivers/net/ice/base/ice_sched.c\nindex e697c579be..c0f90b762b 100644\n--- a/drivers/net/ice/base/ice_sched.c\n+++ b/drivers/net/ice/base/ice_sched.c\n@@ -3613,6 +3613,27 @@ ice_cfg_vsi_q_priority(struct ice_port_info *pi, u16 num_qs, u32 *q_ids,\n \treturn status;\n }\n \n+/**\n+ * ice_cfg_node_priority - 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_cfg_node_priority(struct ice_port_info *pi, struct ice_sched_node *node,\n+\t\t      u8 priority)\n+{\n+\tenum ice_status status = ICE_ERR_PARAM;\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_cfg_agg_vsi_priority_per_tc - config aggregator's VSI priority per TC\n  * @pi: port information structure\ndiff --git a/drivers/net/ice/base/ice_sched.h b/drivers/net/ice/base/ice_sched.h\nindex 1441b5f191..e1dc6e18a4 100644\n--- a/drivers/net/ice/base/ice_sched.h\n+++ b/drivers/net/ice/base/ice_sched.h\n@@ -172,6 +172,9 @@ 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+ice_cfg_node_priority(struct ice_port_info *pi,\n+\t\t      struct ice_sched_node *node, u8 priority);\n+enum ice_status\n ice_cfg_vsi_bw_alloc(struct ice_port_info *pi, u16 vsi_handle, u8 ena_tcmap,\n \t\t     enum ice_rl_type rl_type, u8 *bw_alloc);\n enum ice_status\n",
    "prefixes": [
        "v5",
        "2/9"
    ]
}