get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 84615,
    "url": "http://patches.dpdk.org/api/patches/84615/?format=api",
    "web_url": "http://patches.dpdk.org/project/dts/patch/20201127172708.165646-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": "<20201127172708.165646-1-yinan.wang@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dts/20201127172708.165646-1-yinan.wang@intel.com",
    "date": "2020-11-27T17:27:08",
    "name": "[v1] test_plans/vswitch_sample_cbdma_test_plan.rst",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "90659bbb78d4e0261382b7543a88367baa216afb",
    "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/20201127172708.165646-1-yinan.wang@intel.com/mbox/",
    "series": [
        {
            "id": 14129,
            "url": "http://patches.dpdk.org/api/series/14129/?format=api",
            "web_url": "http://patches.dpdk.org/project/dts/list/?series=14129",
            "date": "2020-11-27T17:27:08",
            "name": "[v1] test_plans/vswitch_sample_cbdma_test_plan.rst",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/14129/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/84615/comments/",
    "check": "pending",
    "checks": "http://patches.dpdk.org/api/patches/84615/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 dpdk.org (dpdk.org [92.243.14.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 6A7C3A0524;\n\tFri, 27 Nov 2020 09:39:25 +0100 (CET)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 346D5C950;\n\tFri, 27 Nov 2020 09:39:24 +0100 (CET)",
            "from mga09.intel.com (mga09.intel.com [134.134.136.24])\n by dpdk.org (Postfix) with ESMTP id 9614EC92A\n for <dts@dpdk.org>; Fri, 27 Nov 2020 09:39:21 +0100 (CET)",
            "from orsmga005.jf.intel.com ([10.7.209.41])\n by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 27 Nov 2020 00:39:19 -0800",
            "from dpdk-yinan-ntb1.sh.intel.com ([10.67.119.39])\n by orsmga005.jf.intel.com with ESMTP; 27 Nov 2020 00:39:16 -0800"
        ],
        "IronPort-SDR": [
            "\n CgS/D0/Gd8DPOKNcYvG8JKHFtKOa3I9j/hn1aYrOdh0qsoF2e/U3cKkaEygl+65UYMK06oKexa\n /vLIbtguHSKQ==",
            "\n 2KWGM2z/FaOhkL3yVC8373UAoQmkYxF6PbjJA4LdNaLyDnzRA3/KT6Vwn1gM3+sSd+yPMw/ZGh\n ifBy5ZJ27qQA=="
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6000,8403,9817\"; a=\"172523353\"",
            "E=Sophos;i=\"5.78,373,1599548400\"; d=\"scan'208\";a=\"172523353\"",
            "E=Sophos;i=\"5.78,373,1599548400\"; d=\"scan'208\";a=\"547978974\""
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "From": "Yinan Wang <yinan.wang@intel.com>",
        "To": "dts@dpdk.org",
        "Cc": "Yinan Wang <yinan.wang@intel.com>",
        "Date": "Fri, 27 Nov 2020 12:27:08 -0500",
        "Message-Id": "<20201127172708.165646-1-yinan.wang@intel.com>",
        "X-Mailer": "git-send-email 2.25.1",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=UTF-8",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[dts]  [PATCH v1] test_plans/vswitch_sample_cbdma_test_plan.rst",
        "X-BeenThere": "dts@dpdk.org",
        "X-Mailman-Version": "2.1.15",
        "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": "Update cbdma enable parameters due to implementation change.\n\nSigned-off-by: Yinan Wang <yinan.wang@intel.com>\n---\n test_plans/vswitch_sample_cbdma_test_plan.rst | 32 +++++++++----------\n 1 file changed, 16 insertions(+), 16 deletions(-)",
    "diff": "diff --git a/test_plans/vswitch_sample_cbdma_test_plan.rst b/test_plans/vswitch_sample_cbdma_test_plan.rst\nindex c57c0015..93887695 100644\n--- a/test_plans/vswitch_sample_cbdma_test_plan.rst\n+++ b/test_plans/vswitch_sample_cbdma_test_plan.rst\n@@ -47,7 +47,7 @@ Test Case1: PVP performance check with CBDMA channel using vhost async driver\n         if (async_vhost_driver) {\n                 \tf.async_inorder = 1;\n \t-               f.async_threshold = 256;\n-\t+               f.async_threshold = 0;\n+\t+               f.async_threshold = 1518;\n                 \treturn rte_vhost_async_channel_register(vid, VIRTIO_RXQ,\n                         \tf.intval, &channel_ops);\n         }\n@@ -57,7 +57,7 @@ Test Case1: PVP performance check with CBDMA channel using vhost async driver\n 3. On host, launch dpdk-vhost by below command::\n \n \t./dpdk-vhost -c 0x1c000000 -n 4 – \\\n-\t-p 0x1 --mergeable 1 --vm2vm 1 --async_vhost_driver --stats 1 --socket-file /tmp/vhost-net -dmas [txd0@00:04.0]\n+\t-p 0x1 --mergeable 1 --vm2vm 1 --dma-type ioat --stats 1 --socket-file /tmp/vhost-net -dmas [txd0@00:04.0]\n \n 4. Launch virtio-user with testpmd::\n \n@@ -96,22 +96,22 @@ Test Case1: PVP performance check with CBDMA channel using vhost async driver\n \t(1)CPU copy vs. sync copy delta < 10% for 64B packet size\n \t(2)CBDMA copy vs sync copy delta > 5% for 1518 packet size\n \n-Test Case2: PV test with multiple CBDMA channels using vhost async driver\n+Test Case2: PVP test with multiple CBDMA channels using vhost async driver\n ==========================================================================\n \n-1. Bind two physical ports to vfio-pci and two CBDMA channels to igb_uio.\n+1. Bind one physical ports to vfio-pci and two CBDMA channels to igb_uio.\n \n 2. On host, launch dpdk-vhost by below command::\n \n \t./dpdk-vhost -c 0x1c000000 -n 4 – \\\n-\t-p 0x1 --mergeable 1 --vm2vm 1 --async_vhost_driver --stats 1 --socket-file /tmp/vhost-net0 -socket-file /tmp/vhost-net1 --dmas [txd0@00:04.0,txd1@00:04.1]\n+\t-p 0x1 --mergeable 1 --vm2vm 1 --dma-type ioat --stats 1 --socket-file /tmp/vhost-net0 -socket-file /tmp/vhost-net1 --dmas [txd0@00:04.0,txd1@00:04.1]\n \n 3. launch two virtio-user ports::\n \n-\t./dpdk-testpmd -l 29-30 -n 4 --no-pci --file-prefix=testpmd0 \\\n+\t./x86_64-native-linuxapp-gcc/app/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 – -i --rxq=1 --txq=1 --txd=1024 --rxd=1024 --nb-cores=1 --no-numa\n \t\n-\t./dpdk-testpmd -l 31-32 -n 4 --no-pci --file-prefix=testpmd1 \\\n+\t./x86_64-native-linuxapp-gcc/app/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 – -i --rxq=1 --txq=1 --txd=1024 --rxd=1024 --nb-cores=1 --no-numa\n \n 4. Start pkts from two virtio-user side individually to let vswitch know the mac addr::\n@@ -131,19 +131,19 @@ Test Case2: PV test with multiple CBDMA channels using vhost async driver\n Test Case3: VM2VM performance test with two CBDMA channels using vhost async driver\n ====================================================================================\n \n-1.Bind two physical ports to vfio-pci and two CBDMA channels to igb_uio.\n+1.Bind one physical ports to vfio-pci and two CBDMA channels to igb_uio.\n \n 2. On host, launch dpdk-vhost by below command::\n \n-\t./dpdk-vhost -c 0x1c000000 -n 4 – -p 0x1 --mergeable 1 --vm2vm 1 --async_vhost_driver \\\n+\t./dpdk-vhost -c 0x1c000000 -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@00:04.0,txd1@00:04.1]\n \n 3. Launch virtio-user::\n \n-\t./dpdk-testpmd -l 29-30 -n 4 --no-pci --file-prefix=testpmd0 \\\n+\t./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 – -i --rxq=1 --txq=1 --txd=1024 --rxd=1024 --nb-cores=1 --no-numa\n \n-\t./dpdk-testpmd -l 31-32 -n 4 --no-pci --file-prefix=testpmd1 \\\n+\t./x86_64-native-linuxapp-gcc/app/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-net0,queues=1 – -i --rxq=1 --txq=1 --txd=1024 --rxd=1024 --nb-cores=1 --no-numa\n \n 4. Start pkts from two virtio-user sides, record performance number with txpkts=256 and 2000 from testpmd1 seperately::\n@@ -173,16 +173,16 @@ Test Case3: VM2VM performance test with two CBDMA channels using vhost async dri\n Test Case4: VM2VM test with 2 vhost device using vhost async driver\n =======================================================================\n \n-1. Bind two physical ports to vfio-pci and two CBDMA channels to igb_uio.\n+1. Bind one physical ports to vfio-pci and two CBDMA channels to igb_uio.\n \n 2. On host, launch dpdk-vhost by below command::\n \n-\t./dpdk-vhost -c 0x1c000000 -n 4 – -p 0x1 --mergeable 1 --vm2vm 1 --async_vhost_driver \\\n+\t./dpdk-vhost -c 0x1c000000 -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@00:04.0,txd1@00:04.1]\n \n 3. Start VM0::\n \n-    qemu-system-x86_64 -name vm1 -enable-kvm -cpu host -smp 4 -m 4096 \\\n+ \t/home/qemu-install/qemu-4.2.1/bin/qemu-system-x86_64 -name vm1 -enable-kvm -cpu host -smp 4 -m 4096 \\\n     -object memory-backend-file,id=mem,size=4096M,mem-path=/mnt/huge,share=on \\\n     -numa node,memdev=mem -mem-prealloc -drive file=/home/osimg/ubuntu20-04.img  \\\n     -chardev socket,path=/tmp/vm2_qga0.sock,server,nowait,id=vm2_qga0 -device virtio-serial \\\n@@ -194,8 +194,8 @@ Test Case4: VM2VM test with 2 vhost device using vhost async driver\n     -device virtio-net-pci,netdev=netdev0,mac=52:54:00:00:00:01,disable-modern=true,mrg_rxbuf=off,csum=on,guest_csum=on,host_tso4=on,guest_tso4=on,guest_ecn=on -vnc :10\n \n 4. Start VM1::\n-   \n-    qemu-system-x86_64 -name vm2 -enable-kvm -cpu host -smp 4 -m 4096 \\\n+\n+\t/home/qemu-install/qemu-4.2.1/bin/qemu-system-x86_64 -name vm2 -enable-kvm -cpu host -smp 4 -m 4096 \\\n     -object memory-backend-file,id=mem,size=4096M,mem-path=/mnt/huge,share=on \\\n     -numa node,memdev=mem -mem-prealloc -drive file=/home/osimg/ubuntu20-04-2.img  \\\n     -chardev socket,path=/tmp/vm2_qga0.sock,server,nowait,id=vm2_qga0 -device virtio-serial \\\n",
    "prefixes": [
        "v1"
    ]
}