get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 110813,
    "url": "http://patchwork.dpdk.org/api/patches/110813/?format=api",
    "web_url": "http://patchwork.dpdk.org/project/dts/patch/20220507091428.308604-1-weix.ling@intel.com/",
    "project": {
        "id": 3,
        "url": "http://patchwork.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": "<20220507091428.308604-1-weix.ling@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dts/20220507091428.308604-1-weix.ling@intel.com",
    "date": "2022-05-07T09:14:28",
    "name": "[V1,2/3] test_plans/vhost_virtio_pmd_interrupt_cbdma_test_plan: add vhost_virtio_pmd_interrupt_cbdma testplan",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "b57bdf5b6e07b9f4c19eed409de993ee02da9074",
    "submitter": {
        "id": 1828,
        "url": "http://patchwork.dpdk.org/api/people/1828/?format=api",
        "name": "Ling, WeiX",
        "email": "weix.ling@intel.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.dpdk.org/project/dts/patch/20220507091428.308604-1-weix.ling@intel.com/mbox/",
    "series": [
        {
            "id": 22826,
            "url": "http://patchwork.dpdk.org/api/series/22826/?format=api",
            "web_url": "http://patchwork.dpdk.org/project/dts/list/?series=22826",
            "date": "2022-05-07T09:14:07",
            "name": "add vhost_virtio_pmd_interrupt_cbdma",
            "version": 1,
            "mbox": "http://patchwork.dpdk.org/series/22826/mbox/"
        }
    ],
    "comments": "http://patchwork.dpdk.org/api/patches/110813/comments/",
    "check": "pending",
    "checks": "http://patchwork.dpdk.org/api/patches/110813/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 C753FA050A;\n\tSat,  7 May 2022 11:14:57 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id C25D640696;\n\tSat,  7 May 2022 11:14:57 +0200 (CEST)",
            "from mga05.intel.com (mga05.intel.com [192.55.52.43])\n by mails.dpdk.org (Postfix) with ESMTP id E4FD040395\n for <dts@dpdk.org>; Sat,  7 May 2022 11:14:55 +0200 (CEST)",
            "from orsmga007.jf.intel.com ([10.7.209.58])\n by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 07 May 2022 02:14:54 -0700",
            "from unknown (HELO localhost.localdomain) ([10.239.251.222])\n by orsmga007-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 07 May 2022 02:14:53 -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=1651914896; x=1683450896;\n h=from:to:cc:subject:date:message-id:mime-version:\n content-transfer-encoding;\n bh=FKFBcpE9Y65hIK1e5ya1Yig1ecszCNw/n/IO0I/e8i8=;\n b=TWVYFB1OQfp41d5XXTdKZJUZIcSrHTS20l5JIKj9rl0F4YtyoSgZYZXF\n HsDDCwiYO4k1hyzN8TtG/AjZLC9eIN0tAi/DO+FMRyQ/8sqMkXhIxxuqE\n NuC36CrcGuOTYjBZFXQjSWWdeF+NI6hrALOkPEE12HkuSlq4BPJEMJXl0\n qUFbTStrAJkVWxSVzJdP1FMbyYoxPGk1A/QTRXB8TBqezzQ6oR0/sIEJ6\n J4xux5NbE6munK5YAAJDcOuf/VG6MxiWJF+1PJyGy+YsSN4CwCbzCYgFE\n scuwPnjN0U5giQ425E0nem7N3oaUVkhj9jlaMOtuxvM/Ddnlhajq8DHzX A==;",
        "X-IronPort-AV": [
            "E=McAfee;i=\"6400,9594,10339\"; a=\"355116342\"",
            "E=Sophos;i=\"5.91,206,1647327600\"; d=\"scan'208\";a=\"355116342\"",
            "E=Sophos;i=\"5.91,206,1647327600\"; d=\"scan'208\";a=\"564244010\""
        ],
        "From": "Wei Ling <weix.ling@intel.com>",
        "To": "dts@dpdk.org",
        "Cc": "Wei Ling <weix.ling@intel.com>",
        "Subject": "[dts][PATCH V1 2/3]\n test_plans/vhost_virtio_pmd_interrupt_cbdma_test_plan: add\n vhost_virtio_pmd_interrupt_cbdma testplan",
        "Date": "Sat,  7 May 2022 05:14:28 -0400",
        "Message-Id": "<20220507091428.308604-1-weix.ling@intel.com>",
        "X-Mailer": "git-send-email 2.25.1",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=y",
        "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": "Add new testplan test_plans/vhost_virtio_pmd_interrupt_cbdma_test_plan into test_plans.\n\nSigned-off-by: Wei Ling <weix.ling@intel.com>\n---\n ...t_virtio_pmd_interrupt_cbdma_test_plan.rst | 172 ++++++++++++++++++\n 1 file changed, 172 insertions(+)\n create mode 100644 test_plans/vhost_virtio_pmd_interrupt_cbdma_test_plan.rst",
    "diff": "diff --git a/test_plans/vhost_virtio_pmd_interrupt_cbdma_test_plan.rst b/test_plans/vhost_virtio_pmd_interrupt_cbdma_test_plan.rst\nnew file mode 100644\nindex 00000000..b055d636\n--- /dev/null\n+++ b/test_plans/vhost_virtio_pmd_interrupt_cbdma_test_plan.rst\n@@ -0,0 +1,172 @@\n+.. Copyright (c) <2022>, Intel Corporation\n+   All rights reserved.\n+\n+   Redistribution and use in source and binary forms, with or without\n+   modification, are permitted provided that the following conditions\n+   are met:\n+\n+   - Redistributions of source code must retain the above copyright\n+     notice, this list of conditions and the following disclaimer.\n+\n+   - Redistributions in binary form must reproduce the above copyright\n+     notice, this list of conditions and the following disclaimer in\n+     the documentation and/or other materials provided with the\n+     distribution.\n+\n+   - Neither the name of Intel Corporation nor the names of its\n+     contributors may be used to endorse or promote products derived\n+     from this software without specific prior written permission.\n+\n+   THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n+   \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n+   LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS\n+   FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE\n+   COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,\n+   INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n+   (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\n+   SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n+   HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,\n+   STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\n+   ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED\n+   OF THE POSSIBILITY OF SUCH DAMAGE.\n+\n+====================================================\n+vhost/virtio-pmd interrupt mode with cbdma test plan\n+====================================================\n+\n+Description\n+===========\n+\n+Virtio-pmd interrupt need test with l3fwd-power sample, small packets send from traffic generator\n+to virtio-pmd side,check virtio-pmd cores can be wakeup status,and virtio-pmd cores should be\n+sleep status after stop sending packets from traffic generator when cbdma enabled.This test plan \n+cover virtio 0.95, virtio 1.0 and virtio 1.1.\n+\n+..Note:\n+1.For packed virtqueue virtio-net test, need qemu version > 4.2.0 and VM kernel version > 5.1, and packed ring multi-queues not support reconnect in qemu yet.\n+2.For split virtqueue virtio-net with multi-queues server mode test, need qemu version >= 5.2.0, dut to old qemu exist reconnect issue when multi-queues test.\n+3.DPDK local patch that about vhost pmd is needed when testing Vhost asynchronous data path with testpmd.\n+\n+Prerequisites\n+=============\n+\n+Test ENV preparation: Kernel version > 4.8.0, mostly linux distribution don't support vfio-noiommu mode by default,\n+so testing this case need rebuild kernel to enable vfio-noiommu.\n+\n+Test flow\n+=========\n+\n+TG --> NIC --> Vhost --> Virtio--> Vhost --> NIC --> TG\n+\n+Test Case1: Basic virtio interrupt test with 16 queues and cbdma enabled\n+=========================================================================\n+\n+1. Bind 16 cbdma channels and one NIC port to vfio-pci, then launch testpmd by below command::\n+\n+    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0x1ffff -n 4 \\\n+    --vdev 'eth_vhost0,iface=vhost-net,queues=16,dmas=[txq0@80:04.0;txq1@80:04.1;txq2@80:04.2;txq3@80:04.3;txq4@80:04.4;txq5@80:04.5;txq6@80:04.6;txq7@80:04.7;txq8@00:04.0;txq9@00:04.1;txq10@00:04.2;txq11@00:04.3;txq12@00:04.4;txq13@00:04.5;txq14@00:04.6;txq15@00:04.7]' \\\n+    -- -i --nb-cores=16 --rxq=16 --txq=16 --rss-ip\n+\n+2. Launch VM1, set queues=16, vectors>=2xqueues+2, mq=on::\n+\n+    taskset -c 34-35 \\\n+    qemu-system-x86_64 -name us-vhost-vm2 \\\n+     -cpu host -enable-kvm -m 2048 -object memory-backend-file,id=mem,size=2048M,mem-path=/mnt/huge,share=on -numa node,memdev=mem -mem-prealloc \\\n+     -smp cores=16,sockets=1 -drive file=/home/osimg/ubuntu1910.img \\\n+     -monitor unix:/tmp/vm2_monitor.sock,server,nowait -device e1000,netdev=nttsip1 \\\n+     -netdev user,id=nttsip1,hostfwd=tcp:127.0.0.1:6003-:22 \\\n+     -chardev socket,id=char1,path=./vhost-net -netdev type=vhost-user,id=mynet2,chardev=char1,vhostforce,queues=16 \\\n+     -device virtio-net-pci,mac=52:54:00:00:00:02,netdev=mynet2,mrg_rxbuf=on,csum=on,mq=on,vectors=40  \\\n+     -vnc :11 -daemonize\n+\n+3. Bind virtio port to vfio-pci::\n+\n+    modprobe vfio enable_unsafe_noiommu_mode=1\n+    modprobe vfio-pci\n+    ./usertools/dpdk-devbind.py --bind=vfio-pci xx:xx.x\n+\n+4. In VM, launch l3fwd-power sample::\n+\n+    ./x86_64-native-linuxapp-gcc/examples/dpdk-l3fwd-power -c 0x0ffff -n 4 --log-level='user1,7' \\\n+    -- -p 1 -P  --config '(0,0,0),(0,1,1),(0,2,2),(0,3,3)(0,4,4),(0,5,5),(0,6,6),(0,7,7)(0,8,8),(0,9,9),(0,10,10),(0,11,11)(0,12,12),(0,13,13),(0,14,14),(0,15,15)' \\\n+    --no-numa  --parse-ptype\n+\n+5. Send random dest ip address packets to host nic with packet generator, packets will distribute to all queues, check l3fwd-power log that all related cores are waked up.\n+\n+6. Change dest IP address to fixed ip, packets will distribute to 1 queue, check l3fwd-power log that only one related core is waked up.\n+\n+7. Stop the date transmitter, check all related core will be back to sleep status.\n+\n+Test Case2: Basic virtio-1.0 interrupt test with 4 queues and cbdma enabled\n+============================================================================\n+\n+1. Bind four cbdma channels and one NIC port to vfio-pci, then launch testpmd by below command::\n+\n+    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0x7c -n 4 \\\n+    --vdev 'net_vhost0,iface=vhost-net,queues=4,dmas=[txq0@80:04.0;txq1@80:04.1;txq2@80:04.2;txq3@80:04.3]' \\\n+    -- -i --nb-cores=4 --rxq=4 --txq=4 --rss-ip\n+\n+2. Launch VM1, set queues=4, vectors>=2xqueues+2, mq=on::\n+\n+    taskset -c 34-35 \\\n+    qemu-system-x86_64 -name us-vhost-vm2 \\\n+     -cpu host -enable-kvm -m 2048 -object memory-backend-file,id=mem,size=2048M,mem-path=/mnt/huge,share=on -numa node,memdev=mem -mem-prealloc \\\n+     -smp cores=4,sockets=1 -drive file=/home/osimg/ubuntu1910.img \\\n+     -monitor unix:/tmp/vm2_monitor.sock,server,nowait -device e1000,netdev=nttsip1 \\\n+     -netdev user,id=nttsip1,hostfwd=tcp:127.0.0.1:6003-:22 \\\n+     -chardev socket,id=char1,path=./vhost-net -netdev type=vhost-user,id=mynet2,chardev=char1,vhostforce,queues=4 \\\n+     -device virtio-net-pci,mac=52:54:00:00:00:02,netdev=mynet2,disable-modern=false,mrg_rxbuf=on,csum=on,mq=on,vectors=15  \\\n+     -vnc :11 -daemonize\n+\n+3. Bind virtio port to vfio-pci::\n+\n+    modprobe vfio enable_unsafe_noiommu_mode=1\n+    modprobe vfio-pci\n+    ./usertools/dpdk-devbind.py --bind=vfio-pci xx:xx.x\n+\n+4. In VM, launch l3fwd-power sample::\n+\n+    ./x86_64-native-linuxapp-gcc/examples/dpdk-l3fwd-power -c 0xf -n 4 --log-level='user1,7' -- -p 1 -P --config=\"(0,0,0),(0,1,1),(0,2,2),(0,3,3)\" --no-numa --parse-ptype\n+\n+5. Send random dest ip address packets to host nic with packet generator, packets will distribute to all queues, check l3fwd-power log that all related cores are waked up.\n+\n+6. Change dest IP address to fixed ip, packets will distribute to 1 queue, check l3fwd-power log that only one related core is waked up.\n+\n+7. Stop the date transmitter, check all related core will be back to sleep status.\n+\n+Test Case3: Packed ring virtio interrupt test with 16 queues and cbdma enabled\n+===============================================================================\n+\n+1. Bind 16 cbdma channels ports and one NIC port to vfio-pci, then launch testpmd by below command::\n+\n+    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0x1ffff -n 4 \\\n+    --vdev 'eth_vhost0,iface=vhost-net,queues=16,dmas=[txq0@80:04.0;txq1@80:04.1;txq2@80:04.2;txq3@80:04.3;txq4@80:04.4;txq5@80:04.5;txq6@80:04.6;txq7@80:04.7;txq8@00:04.0;txq9@00:04.1;txq10@00:04.2;txq11@00:04.3;txq12@00:04.4;txq13@00:04.5;txq14@00:04.6;txq15@00:04.7]' \\\n+    -- -i --nb-cores=16 --rxq=16 --txq=16 --rss-ip\n+\n+2. Launch VM1, set queues=16, vectors>=2xqueues+2, mq=on::\n+\n+    taskset -c 34-35 \\\n+    qemu-system-x86_64 -name us-vhost-vm2 \\\n+     -cpu host -enable-kvm -m 2048 -object memory-backend-file,id=mem,size=2048M,mem-path=/mnt/huge,share=on -numa node,memdev=mem -mem-prealloc \\\n+     -smp cores=16,sockets=1 -drive file=/home/osimg/ubuntu1910.img \\\n+     -monitor unix:/tmp/vm2_monitor.sock,server,nowait -device e1000,netdev=nttsip1 \\\n+     -netdev user,id=nttsip1,hostfwd=tcp:127.0.0.1:6003-:22 \\\n+     -chardev socket,id=char1,path=./vhost-net -netdev type=vhost-user,id=mynet2,chardev=char1,vhostforce,queues=16 \\\n+     -device virtio-net-pci,mac=52:54:00:00:00:02,netdev=mynet2,mrg_rxbuf=on,csum=on,mq=on,vectors=40,packed=on  \\\n+     -vnc :11 -daemonize\n+\n+3. Bind virtio port to vfio-pci::\n+\n+    modprobe vfio enable_unsafe_noiommu_mode=1\n+    modprobe vfio-pci\n+    ./usertools/dpdk-devbind.py --bind=vfio-pci xx:xx.x\n+\n+4. In VM, launch l3fwd-power sample::\n+\n+    ./x86_64-native-linuxapp-gcc/examples/dpdk-l3fwd-power -c 0x0ffff -n 4 --log-level='user1,7' -- -p 1 -P  --config '(0,0,0),(0,1,1),(0,2,2),(0,3,3)(0,4,4),(0,5,5),(0,6,6),(0,7,7)(0,8,8),(0,9,9),(0,10,10),(0,11,11)(0,12,12),(0,13,13),(0,14,14),(0,15,15)' --no-numa  --parse-ptype\n+\n+5. Send random dest ip address packets to host nic with packet generator, packets will distribute to all queues, check l3fwd-power log that all related cores are waked up.\n+\n+6. Change dest IP address to fixed ip, packets will distribute to 1 queue, check l3fwd-power log that only one related core is waked up.\n+\n+7. Stop the date transmitter, check all related core will be back to sleep status.\n",
    "prefixes": [
        "V1",
        "2/3"
    ]
}