get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 110412,
    "url": "https://patches.dpdk.org/api/patches/110412/?format=api",
    "web_url": "https://patches.dpdk.org/project/dts/patch/20220428074057.42248-1-weix.ling@intel.com/",
    "project": {
        "id": 3,
        "url": "https://patches.dpdk.org/api/projects/3/?format=api",
        "name": "DTS",
        "link_name": "dts",
        "list_id": "dts.dpdk.org",
        "list_email": "dts@dpdk.org",
        "web_url": "",
        "scm_url": "git://dpdk.org/tools/dts",
        "webscm_url": "http://git.dpdk.org/tools/dts/",
        "list_archive_url": "https://inbox.dpdk.org/dts",
        "list_archive_url_format": "https://inbox.dpdk.org/dts/{}",
        "commit_url_format": ""
    },
    "msgid": "<20220428074057.42248-1-weix.ling@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dts/20220428074057.42248-1-weix.ling@intel.com",
    "date": "2022-04-28T07:40:57",
    "name": "[V2,1/2] test_plans/vdev_primary_secondary_test_plan: fix testcase2 app name error issue",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "5a4ddb335352a3b1a17d53b109bd98a6da22fef7",
    "submitter": {
        "id": 1828,
        "url": "https://patches.dpdk.org/api/people/1828/?format=api",
        "name": "Ling, WeiX",
        "email": "weix.ling@intel.com"
    },
    "delegate": null,
    "mbox": "https://patches.dpdk.org/project/dts/patch/20220428074057.42248-1-weix.ling@intel.com/mbox/",
    "series": [
        {
            "id": 22707,
            "url": "https://patches.dpdk.org/api/series/22707/?format=api",
            "web_url": "https://patches.dpdk.org/project/dts/list/?series=22707",
            "date": "2022-04-28T07:40:37",
            "name": "fix testplan issue and add automation",
            "version": 2,
            "mbox": "https://patches.dpdk.org/series/22707/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/110412/comments/",
    "check": "pending",
    "checks": "https://patches.dpdk.org/api/patches/110412/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<dts-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 64E8EA04FF;\n\tThu, 28 Apr 2022 09:41:13 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 5E2AD41109;\n\tThu, 28 Apr 2022 09:41:13 +0200 (CEST)",
            "from mga06.intel.com (mga06b.intel.com [134.134.136.31])\n by mails.dpdk.org (Postfix) with ESMTP id 1C378410DC\n for <dts@dpdk.org>; Thu, 28 Apr 2022 09:41:11 +0200 (CEST)",
            "from fmsmga002.fm.intel.com ([10.253.24.26])\n by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 28 Apr 2022 00:41:10 -0700",
            "from unknown (HELO localhost.localdomain) ([10.239.251.222])\n by fmsmga002-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 28 Apr 2022 00:41:09 -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=1651131672; x=1682667672;\n h=from:to:cc:subject:date:message-id:mime-version:\n content-transfer-encoding;\n bh=Y89Z6Yqe1Csrhy4sCf+6w3+sN9U+dGNQtwn4wWVBrOA=;\n b=BvYQcJxfyJWc/FSrvQ8yBlDb8sbJxFj7nRcrFAFSRe3RXkQhUHTihNjr\n Ra6t+0nASxdJkRbRBf8nB5Zi+8vBrQV58R1JZo6c0OaHkdZ2+IpQcQLjJ\n qplCswX2Qi0s/0ImmquBPX+F/apReQxW5uBFupNJ4SX6R8NCSwiY47/8+\n I/lHAYcsZuqf9cCg5PdVZpFZnVg094yweDmt4hxf/l5ql46R7T0bU99dZ\n asSagnc1yqmmmeJ24a2kd4Zqm7mUTxCALLcezc6JgzVPM+uI1Y6yF0O4q\n 0ar+0gux6a9Eo4JrN9dU3AdVXt8knz7yqkR6bBq8Wkp26ZN6tjPfb8qVF g==;",
        "X-IronPort-AV": [
            "E=McAfee;i=\"6400,9594,10330\"; a=\"326686374\"",
            "E=Sophos;i=\"5.90,295,1643702400\"; d=\"scan'208\";a=\"326686374\"",
            "E=Sophos;i=\"5.90,295,1643702400\"; d=\"scan'208\";a=\"661615843\""
        ],
        "From": "Wei Ling <weix.ling@intel.com>",
        "To": "dts@dpdk.org",
        "Cc": "Wei Ling <weix.ling@intel.com>",
        "Subject": "[dts][PATCH V2 1/2] test_plans/vdev_primary_secondary_test_plan: fix\n testcase2 app name error issue",
        "Date": "Thu, 28 Apr 2022 07:40:57 +0000",
        "Message-Id": "<20220428074057.42248-1-weix.ling@intel.com>",
        "X-Mailer": "git-send-email 2.34.1",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "X-BeenThere": "dts@dpdk.org",
        "X-Mailman-Version": "2.1.29",
        "Precedence": "list",
        "List-Id": "test suite reviews and discussions <dts.dpdk.org>",
        "List-Unsubscribe": "<https://mails.dpdk.org/options/dts>,\n <mailto:dts-request@dpdk.org?subject=unsubscribe>",
        "List-Archive": "<http://mails.dpdk.org/archives/dts/>",
        "List-Post": "<mailto:dts@dpdk.org>",
        "List-Help": "<mailto:dts-request@dpdk.org?subject=help>",
        "List-Subscribe": "<https://mails.dpdk.org/listinfo/dts>,\n <mailto:dts-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dts-bounces@dpdk.org"
    },
    "content": "v1:\ntest_plans/vdev_primary_secondary_test_plan:\n1)Fix testcase2 app name error issue.\n2)Change testcase1 testpmd fwd mode from `set fwd txonly` and `start`\n  to `set fwd mac` and `start tx_first` take VM and testpmd can loop the traffic.\n\nv2:\nDelete testcase1 step 1 `Bind one port to vfio-pci` because this case\nno need to use port.\n\nSigned-off-by: Wei Ling <weix.ling@intel.com>\n---\n test_plans/vdev_primary_secondary_test_plan.rst | 15 +++++++++------\n 1 file changed, 9 insertions(+), 6 deletions(-)",
    "diff": "diff --git a/test_plans/vdev_primary_secondary_test_plan.rst b/test_plans/vdev_primary_secondary_test_plan.rst\nindex b98d2d04..0a68937e 100644\n--- a/test_plans/vdev_primary_secondary_test_plan.rst\n+++ b/test_plans/vdev_primary_secondary_test_plan.rst\n@@ -126,11 +126,9 @@ between processes, so proper rollback action should be considered.\n Test Case 1: Virtio-pmd primary and secondary process symmetric test\n ====================================================================\n \n-1. Bind one port to vfio-pci, launch testpmd by below command::\n+1. Launch testpmd by below command::\n \n     ./<build_target>/app/dpdk-testpmd -l 1-6 -n 4 --file-prefix=vhost --vdev 'net_vhost,iface=vhost-net,queues=2,client=1' --vdev 'net_vhost1,iface=vhost-net1,queues=2,client=1'  -- -i --nb-cores=4 --rxq=2 --txq=2 --txd=1024 --rxd=1024\n-    testpmd>set fwd txonly\n-    testpmd>start\n \n 2. Launch VM with two virtio ports, must set queues=2 as app receive packets from special queue which index same with proc-id::\n \n@@ -156,7 +154,12 @@ Test Case 1: Virtio-pmd primary and secondary process symmetric test\n     ./<build_target>/examples/dpdk-symmetric_mp -l 1 -n 4 --proc-type=auto -- -p 3 --num-procs=2 --proc-id=0\n     ./<build_target>/examples/dpdk-symmetric_mp -l 2 -n 4 --proc-type=secondary -- -p 3 --num-procs=2 --proc-id=1\n \n-5. Quit all process, check the packets number in rx/tx statistic like below for both primary process and secondary process::\n+5. Send packets from vhost testpmd::\n+\n+    testpmd> set fwd mac\n+    testpmd> start tx_first\n+\n+6. Quit all process, check the packets number in rx/tx statistic like below for both primary process and secondary process::\n \n     Port 0: RX - 27511680, TX - 256, Drop - 27499168\n     Port 1: RX - 27499424, TX - 256, Drop - 27511424\n@@ -191,7 +194,7 @@ Test Case 2: Virtio-pmd primary and secondary process hotplug test\n \n 4. Start sample code as primary process::\n \n-    ./<build_target>/examples/dpdk-symmetric_mp --proc-type=auto -- -p 3 --num-procs=2 --proc-id=0\n+    ./<build_target>/examples/dpdk-hotplug_mp --proc-type=auto -- -p 3 --num-procs=2 --proc-id=0\n     example> list\n     list all etherdev\n     0       0000:00:05.0\n@@ -199,7 +202,7 @@ Test Case 2: Virtio-pmd primary and secondary process hotplug test\n \n 5. Start sample code as secondary process::\n \n-    ./<build_target>/examples/dpdk-symmetric_mp --proc-type=secondary -- -p 3 --num-procs=2 --proc-id=1\n+    ./<build_target>/examples/dpdk-hotplug_mp --proc-type=secondary -- -p 3 --num-procs=2 --proc-id=1\n     example> list\n     list all etherdev\n     0       0000:00:05.0\n",
    "prefixes": [
        "V2",
        "1/2"
    ]
}