get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 128219,
    "url": "http://patches.dpdk.org/api/patches/128219/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20230606144746.708388-14-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": "<20230606144746.708388-14-zhirun.yan@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20230606144746.708388-14-zhirun.yan@intel.com",
    "date": "2023-06-06T14:47:42",
    "name": "[v8,13/17] graph: enable graph multicore dispatch scheduler model",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "5f9e88d1d60034e7bc424d2e987a79d7301f7d5a",
    "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/20230606144746.708388-14-zhirun.yan@intel.com/mbox/",
    "series": [
        {
            "id": 28374,
            "url": "http://patches.dpdk.org/api/series/28374/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=28374",
            "date": "2023-06-06T14:47:29",
            "name": "graph enhancement for multi-core dispatch",
            "version": 8,
            "mbox": "http://patches.dpdk.org/series/28374/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/128219/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/128219/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 603AE42C40;\n\tTue,  6 Jun 2023 16:56:08 +0200 (CEST)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 84195411F3;\n\tTue,  6 Jun 2023 16:55:35 +0200 (CEST)",
            "from mga14.intel.com (mga14.intel.com [192.55.52.115])\n by mails.dpdk.org (Postfix) with ESMTP id 71F6B40A84\n for <dev@dpdk.org>; Tue,  6 Jun 2023 16:55:32 +0200 (CEST)",
            "from fmsmga005.fm.intel.com ([10.253.24.32])\n by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 06 Jun 2023 07:55:22 -0700",
            "from dpdk-zhirun-lmm.sh.intel.com ([10.67.119.94])\n by fmsmga005.fm.intel.com with ESMTP; 06 Jun 2023 07:55:19 -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=1686063332; x=1717599332;\n h=from:to:cc:subject:date:message-id:in-reply-to:\n references:mime-version:content-transfer-encoding;\n bh=hLZR5LglfScRN4CMn6xPgoQ+JdEjh2CHjXIb/73lWbk=;\n b=a0gjmbHBGECHrJzws6XvgvmPEFxF+YQN59RWgdq0/PF8mreGEhI+X5XL\n 49XOPgaYdBgD+/cm+SMOTCwRSFg8+5qb51CkIlY66oOipTIB5aZgAD1qZ\n px96kRNswG6yj15+HbUKnt8rsQNWn/nj7LoF01Zm3zrkOuRfXSKQbq1/g\n HNydL6M58kz1RQ02D6MEj+PsMCOifb1EDgj0DNwo36wnv8t8dgBTXD2vy\n /IRtR9x/rtxmqVCfG0pQS3GMFyN6alk7bgxhktuVIvCPsk2C1SdSGSgRp\n 9Eqz/2M9gN5eB9oGkfVK2ot9sBlr6asZr98QZe9nSZHlIwuH4GvNskgpq w==;",
        "X-IronPort-AV": [
            "E=McAfee;i=\"6600,9927,10733\"; a=\"356705575\"",
            "E=Sophos;i=\"6.00,221,1681196400\"; d=\"scan'208\";a=\"356705575\"",
            "E=McAfee;i=\"6600,9927,10733\"; a=\"1039222893\"",
            "E=Sophos;i=\"6.00,221,1681196400\"; d=\"scan'208\";a=\"1039222893\""
        ],
        "X-ExtLoop1": "1",
        "From": "Zhirun Yan <zhirun.yan@intel.com>",
        "To": "dev@dpdk.org, jerinj@marvell.com, kirankumark@marvell.com,\n ndabilpuram@marvell.com, stephen@networkplumber.org,\n pbhagavatula@marvell.com, jerinjacobk@gmail.com",
        "Cc": "cunming.liang@intel.com, haiyue.wang@intel.com,\n mattias.ronnblom@ericsson.com, Zhirun Yan <zhirun.yan@intel.com>",
        "Subject": "[PATCH v8 13/17] graph: enable graph multicore dispatch scheduler\n model",
        "Date": "Tue,  6 Jun 2023 22:47:42 +0800",
        "Message-Id": "<20230606144746.708388-14-zhirun.yan@intel.com>",
        "X-Mailer": "git-send-email 2.37.2",
        "In-Reply-To": "<20230606144746.708388-1-zhirun.yan@intel.com>",
        "References": "<20230605111923.3772260-1-zhirun.yan@intel.com>\n <20230606144746.708388-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. Must define\nRTE_GRAPH_MODEL_SELECT before including rte_graph_worker.h\nto enable specific model choosing.\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 | 12 ++++++++++++\n 1 file changed, 12 insertions(+)",
    "diff": "diff --git a/lib/graph/rte_graph_worker.h b/lib/graph/rte_graph_worker.h\nindex 5b58f7bda9..69bdd0e074 100644\n--- a/lib/graph/rte_graph_worker.h\n+++ b/lib/graph/rte_graph_worker.h\n@@ -11,6 +11,7 @@ extern \"C\" {\n #endif\n \n #include \"rte_graph_model_rtc.h\"\n+#include \"rte_graph_model_mcore_dispatch.h\"\n \n /**\n  * Perform graph walk on the circular buffer and invoke the process function\n@@ -25,7 +26,18 @@ __rte_experimental\n static inline void\n rte_graph_walk(struct rte_graph *graph)\n {\n+#if !defined(RTE_GRAPH_MODEL_SELECT) || RTE_GRAPH_MODEL_SELECT == RTE_GRAPH_MODEL_RTC\n \trte_graph_walk_rtc(graph);\n+#elif defined(RTE_GRAPH_MODEL_SELECT) && RTE_GRAPH_MODEL_SELECT == RTE_GRAPH_MODEL_MCORE_DISPATCH\n+\trte_graph_walk_mcore_dispatch(graph);\n+#else\n+\tint model = rte_graph_worker_model_get(graph);\n+\n+\tif (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+#endif\n }\n \n #ifdef __cplusplus\n",
    "prefixes": [
        "v8",
        "13/17"
    ]
}