get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 125496,
    "url": "http://patches.dpdk.org/api/patches/125496/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20230324021622.1369006-13-zhirun.yan@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": "<20230324021622.1369006-13-zhirun.yan@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20230324021622.1369006-13-zhirun.yan@intel.com",
    "date": "2023-03-24T02:16:19",
    "name": "[v2,12/15] graph: enable graph multicore dispatch scheduler model",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "f91dfb8d6b2e58825181eece5937025ab918eb5b",
    "submitter": {
        "id": 1154,
        "url": "http://patches.dpdk.org/api/people/1154/?format=api",
        "name": "Yan, Zhirun",
        "email": "zhirun.yan@intel.com"
    },
    "delegate": {
        "id": 1,
        "url": "http://patches.dpdk.org/api/users/1/?format=api",
        "username": "tmonjalo",
        "first_name": "Thomas",
        "last_name": "Monjalon",
        "email": "thomas@monjalon.net"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/20230324021622.1369006-13-zhirun.yan@intel.com/mbox/",
    "series": [
        {
            "id": 27532,
            "url": "http://patches.dpdk.org/api/series/27532/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=27532",
            "date": "2023-03-24T02:16:07",
            "name": "graph enhancement for multi-core dispatch",
            "version": 2,
            "mbox": "http://patches.dpdk.org/series/27532/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/125496/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/125496/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 74F394281E;\n\tFri, 24 Mar 2023 04:17:47 +0100 (CET)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 168F442D47;\n\tFri, 24 Mar 2023 04:16:58 +0100 (CET)",
            "from mga06.intel.com (mga06b.intel.com [134.134.136.31])\n by mails.dpdk.org (Postfix) with ESMTP id CB98342D46\n for <dev@dpdk.org>; Fri, 24 Mar 2023 04:16:55 +0100 (CET)",
            "from fmsmga007.fm.intel.com ([10.253.24.52])\n by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 23 Mar 2023 20:16:55 -0700",
            "from dpdk-zhirun-lmm.sh.intel.com ([10.67.119.68])\n by fmsmga007.fm.intel.com with ESMTP; 23 Mar 2023 20:16:53 -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=1679627816; x=1711163816;\n h=from:to:cc:subject:date:message-id:in-reply-to:\n references:mime-version:content-transfer-encoding;\n bh=uEYD7AaT6JY85ASk8lTux/2iq3TH/nB6Z++lQS3gzjs=;\n b=EzlU0ONcE9GmRZvLcDx+Ura9fA+4jN3Z0R7psRiN0RpwGCHJHWlO8rSt\n t9CyoRV4olvyUGWTs2KYhE75I5Ur42iakjqYsdpZD0oChSxSsmWrYjIoC\n Vb45MBCnlRo6X2R/Bdhb5j8A9fO0Qex8DfOBsLqrqq3mrYNidTyfrmT78\n gvS/6m/L302UsBAHe7I0g09OrnBuWncaUUaJubEEkLGql41QxVT/gwGOj\n 8i/H4GoSeLg5mTUVWdGcXzN/D3X1vfIPZipHSLkJ0wkA/rcPFSWgHtNZP\n khYAdff+k4C7vSs+w+R3cAU35WoiPRUHmmckM86tSEC8JNFmBY/QLkku8 A==;",
        "X-IronPort-AV": [
            "E=McAfee;i=\"6600,9927,10658\"; a=\"402266473\"",
            "E=Sophos;i=\"5.98,286,1673942400\"; d=\"scan'208\";a=\"402266473\"",
            "E=McAfee;i=\"6600,9927,10658\"; a=\"684998576\"",
            "E=Sophos;i=\"5.98,286,1673942400\"; d=\"scan'208\";a=\"684998576\""
        ],
        "X-ExtLoop1": "1",
        "From": "Zhirun Yan <zhirun.yan@intel.com>",
        "To": "dev@dpdk.org, jerinj@marvell.com, kirankumark@marvell.com,\n ndabilpuram@marvell.com",
        "Cc": "cunming.liang@intel.com, haiyue.wang@intel.com,\n Zhirun Yan <zhirun.yan@intel.com>",
        "Subject": "[PATCH v2 12/15] graph: enable graph multicore dispatch scheduler\n model",
        "Date": "Fri, 24 Mar 2023 11:16:19 +0900",
        "Message-Id": "<20230324021622.1369006-13-zhirun.yan@intel.com>",
        "X-Mailer": "git-send-email 2.37.2",
        "In-Reply-To": "<20230324021622.1369006-1-zhirun.yan@intel.com>",
        "References": "<20221117050926.136974-1-zhirun.yan@intel.com>\n <20230324021622.1369006-1-zhirun.yan@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 enables to chose new scheduler model.\n\nSigned-off-by: Haiyue Wang <haiyue.wang@intel.com>\nSigned-off-by: Cunming Liang <cunming.liang@intel.com>\nSigned-off-by: Zhirun Yan <zhirun.yan@intel.com>\n---\n lib/graph/rte_graph_worker.h | 9 ++++++++-\n 1 file changed, 8 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/lib/graph/rte_graph_worker.h b/lib/graph/rte_graph_worker.h\nindex 7ea18ba80a..d608c7513e 100644\n--- a/lib/graph/rte_graph_worker.h\n+++ b/lib/graph/rte_graph_worker.h\n@@ -10,6 +10,7 @@ extern \"C\" {\n #endif\n \n #include \"rte_graph_model_rtc.h\"\n+#include \"rte_graph_model_dispatch.h\"\n \n /**\n  * Perform graph walk on the circular buffer and invoke the process function\n@@ -24,7 +25,13 @@ __rte_experimental\n static inline void\n rte_graph_walk(struct rte_graph *graph)\n {\n-\trte_graph_walk_rtc(graph);\n+\tint model = rte_graph_worker_model_get();\n+\n+\tif (model == RTE_GRAPH_MODEL_DEFAULT ||\n+\t    model == RTE_GRAPH_MODEL_RTC)\n+\t\trte_graph_walk_rtc(graph);\n+\telse if (model == RTE_GRAPH_MODEL_MCORE_DISPATCH)\n+\t\trte_graph_walk_mcore_dispatch(graph);\n }\n \n #ifdef __cplusplus\n",
    "prefixes": [
        "v2",
        "12/15"
    ]
}