get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 125586,
    "url": "http://patches.dpdk.org/api/patches/125586/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20230329064340.2550530-16-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": "<20230329064340.2550530-16-zhirun.yan@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20230329064340.2550530-16-zhirun.yan@intel.com",
    "date": "2023-03-29T06:43:40",
    "name": "[v3,15/15] doc: update multicore dispatch model in graph guides",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "a8855e2b3b370968903059406487c07db72b7810",
    "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/20230329064340.2550530-16-zhirun.yan@intel.com/mbox/",
    "series": [
        {
            "id": 27571,
            "url": "http://patches.dpdk.org/api/series/27571/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=27571",
            "date": "2023-03-29T06:43:25",
            "name": "graph enhancement for multi-core dispatch",
            "version": 3,
            "mbox": "http://patches.dpdk.org/series/27571/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/125586/comments/",
    "check": "fail",
    "checks": "http://patches.dpdk.org/api/patches/125586/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 583E04285E;\n\tWed, 29 Mar 2023 08:45:46 +0200 (CEST)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 35AC442D69;\n\tWed, 29 Mar 2023 08:44:22 +0200 (CEST)",
            "from mga02.intel.com (mga02.intel.com [134.134.136.20])\n by mails.dpdk.org (Postfix) with ESMTP id 7C88842D46\n for <dev@dpdk.org>; Wed, 29 Mar 2023 08:44:20 +0200 (CEST)",
            "from fmsmga002.fm.intel.com ([10.253.24.26])\n by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 28 Mar 2023 23:44:20 -0700",
            "from dpdk-zhirun-lmm.sh.intel.com ([10.67.119.68])\n by fmsmga002.fm.intel.com with ESMTP; 28 Mar 2023 23:44: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=1680072260; x=1711608260;\n h=from:to:cc:subject:date:message-id:in-reply-to:\n references:mime-version:content-transfer-encoding;\n bh=cVBFyFydx/huomX4CzztdGz9CKHuz3+cEWi6ghu8TOU=;\n b=YjcxqY5fbAb8oW+A/3xSWc4FxUkDYOYejs9pvROWFUCgt7smbmP3xwUU\n RCxXzKavwHFPwl4UkwvN3weHG4geGegqHi464xHQuIdhMgcqEdve3jdBJ\n TTcbzFc/YhOO9ddUKcsm1SIRb1QzEDrocgRXXSuPevZktrSn+IK7BG4EU\n gGTCtoqJ/ECwxiPzQvxfBURuQzQyU1Fm6qmMej96Zy1QX/XIxNIIaFTXT\n uc8yjKZ7OL+rPvcL2LWPgVSkbbAiqXwKKrOa7CtG4h8BN+lnTaRdt0tq0\n AgO6YprR7z0CEy+tLnB2480DlJpirqyJWcdCebBCPeFXKOL1/jMLGcC01 g==;",
        "X-IronPort-AV": [
            "E=McAfee;i=\"6600,9927,10663\"; a=\"329260520\"",
            "E=Sophos;i=\"5.98,300,1673942400\"; d=\"scan'208\";a=\"329260520\"",
            "E=McAfee;i=\"6600,9927,10663\"; a=\"795105086\"",
            "E=Sophos;i=\"5.98,300,1673942400\"; d=\"scan'208\";a=\"795105086\""
        ],
        "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 v3 15/15] doc: update multicore dispatch model in graph guides",
        "Date": "Wed, 29 Mar 2023 15:43:40 +0900",
        "Message-Id": "<20230329064340.2550530-16-zhirun.yan@intel.com>",
        "X-Mailer": "git-send-email 2.37.2",
        "In-Reply-To": "<20230329064340.2550530-1-zhirun.yan@intel.com>",
        "References": "<20230324021622.1369006-1-zhirun.yan@intel.com>\n <20230329064340.2550530-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": "Update graph documentation to introduce new multicore dispatch 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 doc/guides/prog_guide/graph_lib.rst | 59 +++++++++++++++++++++++++++--\n 1 file changed, 55 insertions(+), 4 deletions(-)",
    "diff": "diff --git a/doc/guides/prog_guide/graph_lib.rst b/doc/guides/prog_guide/graph_lib.rst\nindex 1cfdc86433..72e26f3a5a 100644\n--- a/doc/guides/prog_guide/graph_lib.rst\n+++ b/doc/guides/prog_guide/graph_lib.rst\n@@ -189,14 +189,65 @@ In the above example, A graph object will be created with ethdev Rx\n node of port 0 and queue 0, all ipv4* nodes in the system,\n and ethdev tx node of all ports.\n \n-Multicore graph processing\n-~~~~~~~~~~~~~~~~~~~~~~~~~~\n-In the current graph library implementation, specifically,\n-``rte_graph_walk()`` and ``rte_node_enqueue*`` fast path API functions\n+graph model chossing\n+~~~~~~~~~~~~~~~~~~~~\n+Currently, there are 2 different walking model. Use\n+``rte_graph_worker_model_set()`` to set the walking model.\n+\n+RTC (Run-To-Completion)\n+^^^^^^^^^^^^^^^^^^^^^^^\n+This is the default graph walking model. specifically,\n+``rte_graph_walk_rtc()`` and ``rte_node_enqueue*`` fast path API functions\n are designed to work on single-core to have better performance.\n The fast path API works on graph object, So the multi-core graph\n processing strategy would be to create graph object PER WORKER.\n \n+Example:\n+\n+Graph: node-0 -> node-1 -> node-2 @Core0.\n+\n+.. code-block:: diff\n+\n+    + - - - - - - - - - - - - - - - - - - - - - +\n+    '                  Core #0                  '\n+    '                                           '\n+    ' +--------+     +---------+     +--------+ '\n+    ' | Node-0 | --> | Node-1  | --> | Node-2 | '\n+    ' +--------+     +---------+     +--------+ '\n+    '                                           '\n+    + - - - - - - - - - - - - - - - - - - - - - +\n+\n+Dispatch model\n+^^^^^^^^^^^^^^\n+The dispatch model enables a cross-core dispatching mechanism which employs\n+a scheduling work-queue to dispatch streams to other worker cores which\n+being associated with the destination node.\n+\n+Use ``rte_graph_model_dispatch_lcore_affinity_set()`` to set lcore affinity\n+with the node.\n+Each worker core will have a graph repetition. Use ``rte_graph_clone()`` to\n+clone graph for each worker and use``rte_graph_model_dispatch_core_bind()``\n+to bind graph with the worker core.\n+\n+Example:\n+\n+Graph topo: node-0 -> Core1; node-1 -> node-2; node-2 -> node-3.\n+Config graph: node-0 @Core0; node-1/3 @Core1; node-2 @Core2.\n+\n+.. code-block:: diff\n+\n+    + - - - - - -+     +- - - - - - - - - - - - - +     + - - - - - -+\n+    '  Core #0   '     '          Core #1         '     '  Core #2   '\n+    '            '     '                          '     '            '\n+    ' +--------+ '     ' +--------+    +--------+ '     ' +--------+ '\n+    ' | Node-0 | - - - ->| Node-1 |    | Node-3 |<- - - - | Node-2 | '\n+    ' +--------+ '     ' +--------+    +--------+ '     ' +--------+ '\n+    '            '     '     |                    '     '      ^     '\n+    + - - - - - -+     +- - -|- - - - - - - - - - +     + - - -|- - -+\n+                             |                                 |\n+                             + - - - - - - - - - - - - - - - - +\n+\n+\n In fast path\n ~~~~~~~~~~~~\n Typical fast-path code looks like below, where the application\n",
    "prefixes": [
        "v3",
        "15/15"
    ]
}