get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 96374,
    "url": "http://patches.dpdk.org/api/patches/96374/?format=api",
    "web_url": "http://patches.dpdk.org/project/dts/patch/20210729175126.1264991-1-yinan.wang@intel.com/",
    "project": {
        "id": 3,
        "url": "http://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": "<20210729175126.1264991-1-yinan.wang@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dts/20210729175126.1264991-1-yinan.wang@intel.com",
    "date": "2021-07-29T17:51:26",
    "name": "[v2] test_plans/vswitch_sample_cbdma_test_plan.rst",
    "commit_ref": null,
    "pull_url": null,
    "state": "changes-requested",
    "archived": false,
    "hash": "d26c852f9b6772be547a28027993a07c436fed9e",
    "submitter": {
        "id": 1081,
        "url": "http://patches.dpdk.org/api/people/1081/?format=api",
        "name": "Wang, Yinan",
        "email": "yinan.wang@intel.com"
    },
    "delegate": null,
    "mbox": "http://patches.dpdk.org/project/dts/patch/20210729175126.1264991-1-yinan.wang@intel.com/mbox/",
    "series": [
        {
            "id": 18053,
            "url": "http://patches.dpdk.org/api/series/18053/?format=api",
            "web_url": "http://patches.dpdk.org/project/dts/list/?series=18053",
            "date": "2021-07-29T17:51:26",
            "name": "[v2] test_plans/vswitch_sample_cbdma_test_plan.rst",
            "version": 2,
            "mbox": "http://patches.dpdk.org/series/18053/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/96374/comments/",
    "check": "pending",
    "checks": "http://patches.dpdk.org/api/patches/96374/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 EA16FA0C40;\n\tThu, 29 Jul 2021 11:09:42 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id B7F0140687;\n\tThu, 29 Jul 2021 11:09:42 +0200 (CEST)",
            "from mga09.intel.com (mga09.intel.com [134.134.136.24])\n by mails.dpdk.org (Postfix) with ESMTP id 518C740041\n for <dts@dpdk.org>; Thu, 29 Jul 2021 11:09:40 +0200 (CEST)",
            "from fmsmga006.fm.intel.com ([10.253.24.20])\n by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 29 Jul 2021 02:09:39 -0700",
            "from dpdk-yinan-ntb1.sh.intel.com ([10.67.119.39])\n by fmsmga006.fm.intel.com with ESMTP; 29 Jul 2021 02:09:37 -0700"
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6200,9189,10059\"; a=\"212828330\"",
            "E=Sophos;i=\"5.84,278,1620716400\"; d=\"scan'208\";a=\"212828330\"",
            "E=Sophos;i=\"5.84,278,1620716400\"; d=\"scan'208\";a=\"664289547\""
        ],
        "X-ExtLoop1": "1",
        "From": "Yinan Wang <yinan.wang@intel.com>",
        "To": "dts@dpdk.org",
        "Cc": "Yinan Wang <yinan.wang@intel.com>",
        "Date": "Thu, 29 Jul 2021 13:51:26 -0400",
        "Message-Id": "<20210729175126.1264991-1-yinan.wang@intel.com>",
        "X-Mailer": "git-send-email 2.25.1",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[dts] [PATCH v2] test_plans/vswitch_sample_cbdma_test_plan.rst",
        "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",
        "Sender": "\"dts\" <dts-bounces@dpdk.org>"
    },
    "content": "1. Change case2 and case3 with in-order flag to 0 since feature bit not support in this case.\n2. Add a tip that cbdma case need special dpdk code.\n3. Correct test app name.\n\nSigned-off-by: Yinan Wang <yinan.wang@intel.com>\n---\n test_plans/vswitch_sample_cbdma_test_plan.rst | 24 +++++++++----------\n 1 file changed, 12 insertions(+), 12 deletions(-)\n\n \n 2. On host, launch dpdk-vhost by below command::\n \n-\t./dpdk-vhost -c 0x1c000000 -n 4 -- \\\n+\t./dpdk-vhost -c 31-32 -n 4 -- \\\n \t-p 0x1 --mergeable 1 --vm2vm 1 --dma-type ioat --stats 1 --socket-file /tmp/vhost-net --dmas [txd0@0000:00:04.0] --client\n \n 3. Launch virtio-user with packed ring::\n@@ -102,10 +102,10 @@ Test Case2: PVP test with two VM and two CBDMA channels using vhost async driver\n 3. launch two virtio-user ports::\n \n \t./dpdk-testpmd -l 29-30 -n 4 --no-pci --file-prefix=testpmd0 \\\n-\t--vdev=net_virtio_user0,mac=00:11:22:33:44:10,path=/tmp/vhost-net0,queues=1,server=1,mrg_rxbuf=0,in_order=1,vectorized=1,packed_vq=1 -- -i --rxq=1 --txq=1 --txd=1024 --rxd=1024 --nb-cores=1\n+\t--vdev=net_virtio_user0,mac=00:11:22:33:44:10,path=/tmp/vhost-net0,queues=1,server=1,mrg_rxbuf=0,in_order=0,vectorized=1,packed_vq=1 -- -i --rxq=1 --txq=1 --txd=1024 --rxd=1024 --nb-cores=1\n \t\n \t./dpdk-testpmd -l 31-32 -n 4 --no-pci --file-prefix=testpmd1 \\\n-\t--vdev=net_virtio_user0,mac=00:11:22:33:44:11,path=/tmp/vhost-net1,queues=1,server=1,mrg_rxbuf=1,in_order=1,vectorized=1 -- -i --rxq=1 --txq=1 --txd=1024 --rxd=1024 --nb-cores=1\n+\t--vdev=net_virtio_user0,mac=00:11:22:33:44:11,path=/tmp/vhost-net1,queues=1,server=1,mrg_rxbuf=1,in_order=0,vectorized=1 -- -i --rxq=1 --txq=1 --txd=1024 --rxd=1024 --nb-cores=1\n \n 4. Start pkts from two virtio-user side individually to let vswitch know the mac addr::\n \n@@ -114,7 +114,7 @@ Test Case2: PVP test with two VM and two CBDMA channels using vhost async driver\n \ttestpmd1>start tx_first\n \ttestpmd1>start tx_first\n \n-5. Inject IMIX packets (64b...1518b) with VLAN_id=1000 and dest_mac=virtio_mac_addresss (00:11:22:33:44:10 and 00:11:22:33:44:11) to NIC using packet generator,record performance number can get expected from Packet generator rx side.\n+5. Inject IMIX packets (64b...1518b) with dest_mac=virtio_mac_addresss (00:11:22:33:44:10 and 00:11:22:33:44:11) to NIC using packet generator,record performance number can get expected from Packet generator rx side.\n \n 6. Stop dpdk-vhost side and relaunch it with same cmd as step2.\n \n@@ -134,16 +134,16 @@ Test Case3: VM2VM forwarding test with two CBDMA channels\n \n 2. On host, launch dpdk-vhost by below command::\n \n-\t./x86_64-native-linuxapp-gcc/examples/dpdk-vhost -l 26-28 -n 4 -- -p 0x1 --mergeable 1 --vm2vm 1 --dma-type ioat \\\n+\t./dpdk-vhost -l 26-28 -n 4 -- -p 0x1 --mergeable 1 --vm2vm 1 --dma-type ioat \\\n \t--socket-file /tmp/vhost-net0 --socket-file /tmp/vhost-net1 --dmas [txd0@0000:00:04.0,txd1@0000:00:04.1]  --client\n \n 3. Launch virtio-user::\n \n-\t./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 29-30 -n 4 --no-pci --file-prefix=testpmd0 \\\n-\t--vdev=net_virtio_user0,mac=00:11:22:33:44:10,path=/tmp/vhost-net0,queues=1,server=1,mrg_rxbuf=1,in_order=1,vectorized=1,packed_vq=1 -- -i --rxq=1 --txq=1 --txd=1024 --rxd=1024 --nb-cores=1\n+\t./dpdk-testpmd -l 29-30 -n 4 --no-pci --file-prefix=testpmd0 \\\n+\t--vdev=net_virtio_user0,mac=00:11:22:33:44:10,path=/tmp/vhost-net0,queues=1,server=1,mrg_rxbuf=1,in_order=0,vectorized=1,packed_vq=1 -- -i --rxq=1 --txq=1 --txd=1024 --rxd=1024 --nb-cores=1\n \n-\t./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 31-32 -n 4 --no-pci --file-prefix=testpmd1 \\\n-\t--vdev=net_virtio_user0,mac=00:11:22:33:44:11,path=/tmp/vhost-net1,queues=1,server=1,mrg_rxbuf=1,in_order=1,vectorized=1 -- -i --rxq=1 --txq=1 --txd=1024 --rxd=1024 --nb-cores=1\n+\t./dpdk-testpmd -l 31-32 -n 4 --no-pci --file-prefix=testpmd1 \\\n+\t--vdev=net_virtio_user0,mac=00:11:22:33:44:11,path=/tmp/vhost-net1,queues=1,server=1,mrg_rxbuf=1,in_order=0,vectorized=1 -- -i --rxq=1 --txq=1 --txd=1024 --rxd=1024 --nb-cores=1\n \n 4. Loop pkts between two virtio-user sides, record performance number with 64b/2000b/8000b/IMIX pkts can get expected::\n \n@@ -370,4 +370,4 @@ Test Case6: VM2VM packed ring test with iperf and reconnect stable test\n \n      Under VM1, run: `scp [xxx] root@1.1.1.8:/`   [xxx] is the file name\n \n-10. Rerun step 7-9 five times.\n\\ No newline at end of file\n+10. Rerun step 7-9 five times.",
    "diff": "diff --git a/test_plans/vswitch_sample_cbdma_test_plan.rst b/test_plans/vswitch_sample_cbdma_test_plan.rst\nindex 8fcf0b0a..1b8d293c 100644\n--- a/test_plans/vswitch_sample_cbdma_test_plan.rst\n+++ b/test_plans/vswitch_sample_cbdma_test_plan.rst\n@@ -40,8 +40,8 @@ Description\n Vswitch sample can leverage IOAT to accelerate vhost async data-path from dpdk 20.11. This plan test\n vhost DMA operation callbacks for CBDMA PMD and vhost async data-path in vhost sample.\n From 20.11 to 21.02, only split ring support cbdma copy with vhost enqueue direction;\n-from 21.05,packed ring also can support cbdma copy with vhost enqueue direction;\n-from 21.08, split ring support cbdma copy both vhost enqueue and dequeue direction.\n+from 21.05,packed ring also can support cbdma copy with vhost enqueue direction.\n \n Prerequisites\n =============\n@@ -67,7 +67,7 @@ Test Case1: PVP performance check with CBDMA channel using vhost async driver\n",
    "prefixes": [
        "v2"
    ]
}