get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 104777,
    "url": "http://patchwork.dpdk.org/api/patches/104777/?format=api",
    "web_url": "http://patchwork.dpdk.org/project/dts/patch/20211130150330.142296-1-linglix.chen@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": "<20211130150330.142296-1-linglix.chen@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dts/20211130150330.142296-1-linglix.chen@intel.com",
    "date": "2021-11-30T15:03:29",
    "name": "[V3,1/2] test_plans/loopback_virtio_user_server_mode: Add two new cases",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "dd896fac3bc96cd78cfb0611c4a10700be8d4dbc",
    "submitter": {
        "id": 1843,
        "url": "http://patchwork.dpdk.org/api/people/1843/?format=api",
        "name": "Lingli Chen",
        "email": "linglix.chen@intel.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.dpdk.org/project/dts/patch/20211130150330.142296-1-linglix.chen@intel.com/mbox/",
    "series": [
        {
            "id": 20814,
            "url": "http://patchwork.dpdk.org/api/series/20814/?format=api",
            "web_url": "http://patchwork.dpdk.org/project/dts/list/?series=20814",
            "date": "2021-11-30T15:03:30",
            "name": "[V3,1/2] test_plans/loopback_virtio_user_server_mode: Add two new cases",
            "version": 3,
            "mbox": "http://patchwork.dpdk.org/series/20814/mbox/"
        }
    ],
    "comments": "http://patchwork.dpdk.org/api/patches/104777/comments/",
    "check": "pending",
    "checks": "http://patchwork.dpdk.org/api/patches/104777/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 2B500A0C58;\n\tTue, 30 Nov 2021 08:03:18 +0100 (CET)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id D3F1A40DF7;\n\tTue, 30 Nov 2021 08:03:17 +0100 (CET)",
            "from mga04.intel.com (mga04.intel.com [192.55.52.120])\n by mails.dpdk.org (Postfix) with ESMTP id 315044068B\n for <dts@dpdk.org>; Tue, 30 Nov 2021 08:03:16 +0100 (CET)",
            "from orsmga003.jf.intel.com ([10.7.209.27])\n by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 29 Nov 2021 23:03:15 -0800",
            "from unknown (HELO dpdk.lan) ([10.240.183.77])\n by orsmga003-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 29 Nov 2021 23:03:12 -0800"
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6200,9189,10183\"; a=\"234882872\"",
            "E=Sophos;i=\"5.87,275,1631602800\"; d=\"scan'208\";a=\"234882872\"",
            "E=Sophos;i=\"5.87,275,1631602800\"; d=\"scan'208\";a=\"458728377\""
        ],
        "From": "Lingli Chen <linglix.chen@intel.com>",
        "To": "dts@dpdk.org",
        "Cc": "Lingli Chen <linglix.chen@intel.com>",
        "Subject": "[dts][PATCH V3 1/2] test_plans/loopback_virtio_user_server_mode: Add\n two new cases",
        "Date": "Tue, 30 Nov 2021 15:03:29 +0000",
        "Message-Id": "<20211130150330.142296-1-linglix.chen@intel.com>",
        "X-Mailer": "git-send-email 2.33.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": "Add 2 new cases: case 13, 14.\n\nSigned-off-by: Lingli Chen <linglix.chen@intel.com>\n---\nV3: fix test_plan WARNING issues\nV2: modify patch TYPO_SPELLING\nV1: test_plans and TestSuite Add two new cases\n\n ...back_virtio_user_server_mode_test_plan.rst | 112 ++++++++++++++++++\n 1 file changed, 112 insertions(+)",
    "diff": "diff --git a/test_plans/loopback_virtio_user_server_mode_test_plan.rst b/test_plans/loopback_virtio_user_server_mode_test_plan.rst\nindex f3e9f1de..e936fad9 100644\n--- a/test_plans/loopback_virtio_user_server_mode_test_plan.rst\n+++ b/test_plans/loopback_virtio_user_server_mode_test_plan.rst\n@@ -826,3 +826,115 @@ Test Case 12: loopback reconnect test with packed ring vectorized path and serve\n 11. Check each RX/TX queue has packets::\n \n      testpmd>stop\n+\n+Test Case 13: loopback packed ring and split ring mergeable path payload check test using server mode and multi-queues\n+======================================================================================================================\n+\n+1. launch vhost::\n+\n+    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 32-33 --no-pci --file-prefix=vhost -n 4 --vdev 'eth_vhost0,iface=vhost-net0,queues=8,client=1' -- -i --nb-cores=1 --rxq=8 --txq=8 --txd=1024 --rxd=1024\n+\n+2. Launch virtio-user with packed ring mergeable inorder path::\n+\n+    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 30,31 -n 4 --file-prefix=virtio --no-pci --vdev=net_virtio_user0,mac=00:11:22:33:44:10,path=./vhost-net0,queues=8,mrg_rxbuf=1,in_order=1,packed_vq=1,server=1 -- -i --nb-cores=1 --rxq=8 --txq=8 --txd=1024 --rxd=1024\n+     testpmd> set fwd csum\n+     testpmd> start\n+\n+3. Attach pdump secondary process to primary process by same file-prefix::\n+\n+   ./x86_64-native-linuxapp-gcc/app/dpdk-pdump -v --file-prefix=virtio -- --pdump 'device_id=net_virtio_user0,queue=*,rx-dev=./pdump-virtio-rx.pcap,mbuf-size=8000'\n+\n+4. Send large pkts from vhost::\n+\n+    testpmd> set fwd csum\n+    testpmd> set txpkts 2000,2000,2000,2000\n+    testpmd> set burst 1\n+    testpmd> start tx_first 1\n+    testpmd> stop\n+\n+5. Quit pdump, check all the packets length are 8000 Byte in the pcap file, and the payload in receive packets are same.\n+\n+6. Quit and relaunch vhost and rerun step3-5.\n+\n+7. Quit and relaunch virtio with packed ring mergeable path as below::\n+\n+    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 30,31 -n 4 --file-prefix=virtio-user0 --no-pci --vdev=net_virtio_user0,mac=00:11:22:33:44:10,path=./vhost-net0,queues=8,mrg_rxbuf=1,in_order=0,packed_vq=1,server=1 -- -i --nb-cores=1 --rxq=8 --txq=8 --txd=1024 --rxd=1024\n+     testpmd> set fwd csum\n+     testpmd> start\n+\n+8. Rerun step3-6.\n+\n+9. Quit and relaunch virtio with split ring mergeable inorder path as below::\n+\n+    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 30,31 -n 4 --file-prefix=virtio-user0 --no-pci --vdev=net_virtio_user0,mac=00:11:22:33:44:10,path=./vhost-net0,queues=8,mrg_rxbuf=1,in_order=1,server=1 -- -i --nb-cores=1 --rxq=8 --txq=8 --txd=1024 --rxd=1024\n+     testpmd>set fwd csum\n+     testpmd>start\n+\n+10. Rerun step3-6.\n+\n+11. Quit and relaunch virtio with split ring mergeable path as below::\n+\n+     ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 30,31 -n 4 --file-prefix=virtio-user0 --no-pci --vdev=net_virtio_user0,mac=00:11:22:33:44:10,path=./vhost-net0,queues=8,mrg_rxbuf=1,in_order=0,server=1 -- -i --nb-cores=1 --rxq=8 --txq=8 --txd=1024 --rxd=1024\n+      testpmd> set fwd csum\n+      testpmd> start\n+\n+12. Rerun step3-6.\n+\n+Test Case 14: loopback packed ring and split ring mergeable path cbdma test payload check with server mode and multi-queues\n+===========================================================================================================================\n+\n+1. bind 8 cbdma port to vfio-pci and launch vhost::\n+\n+   ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 32-33 -n 4 --vdev 'eth_vhost0,iface=vhost-net0,queues=8,client=1,dmas=[txq0@0000:80:04.0;txq1@0000:80:04.1;txq2@0000:80:04.2;txq3@0000:80:04.3;txq4@0000:80:04.4;txq5@0000:80:04.5;txq6@0000:80:04.6;txq7@0000:80:04.7]' -- -i --nb-cores=1 --rxq=8 --txq=8 --txd=1024 --rxd=1024\n+\n+2. Launch virtio-user with packed ring mergeable inorder path::\n+\n+    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 30,31 -n 4 --file-prefix=virtio-user0 --no-pci --vdev=net_virtio_user0,mac=00:11:22:33:44:10,path=./vhost-net0,queues=8,mrg_rxbuf=1,in_order=1,packed_vq=1,server=1 -- -i --nb-cores=1 --rxq=8 --txq=8 --txd=1024 --rxd=1024\n+     testpmd>set fwd csum\n+     testpmd>start\n+\n+3. Attach pdump secondary process to primary process by same file-prefix::\n+\n+   ./x86_64-native-linuxapp-gcc/app/dpdk-pdump -v --file-prefix=virtio-user0 -- --pdump 'device_id=net_virtio_user0,queue=*,rx-dev=./pdump-virtio-rx.pcap,mbuf-size=8000'\n+\n+4. Send large pkts from vhost, check loopback performance can get expected and each queue can receive packets::\n+\n+    testpmd> vhost enable tx all\n+    testpmd> set fwd csum\n+    testpmd> set txpkts 64,64,64,2000,2000,2000\n+    testpmd> start tx_first 32\n+    testpmd> stop\n+\n+5. Quit pdump, check all the packets length are 6192 Byte in the pcap file, and the payload in receive packets are same.\n+\n+6. Quit and relaunch vhost and rerun step3-5.\n+\n+7. Quit and relaunch virtio with packed ring mergeable path as below::\n+\n+    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 30,31 -n 4 --file-prefix=testpmd0 --no-pci --vdev=net_virtio_user0,mac=00:11:22:33:44:10,path=./vhost-net0,queues=8,mrg_rxbuf=1,in_order=0,packed_vq=1,server=1 -- -i --nb-cores=1 --rxq=8 --txq=8 --txd=1024 --rxd=1024\n+    testpmd>set fwd csum\n+    testpmd>start\n+\n+8. Rerun step3-6.\n+\n+9. Quit and relaunch virtio with split ring mergeable inorder path as below::\n+\n+    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 30,31 -n 4 --file-prefix=testpmd0 --no-pci --vdev=net_virtio_user0,mac=00:11:22:33:44:10,path=./vhost-net0,queues=8,mrg_rxbuf=1,in_order=1,server=1 -- -i --nb-cores=1 --rxq=8 --txq=8 --txd=1024 --rxd=1024\n+     testpmd>set fwd csum\n+     testpmd>start\n+\n+10. Rerun step3-6.\n+\n+11. Quit and relaunch virtio with split ring mergeable path as below::\n+\n+     ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 30,31 -n 4 --file-prefix=testpmd0 --no-pci --vdev=net_virtio_user0,mac=00:11:22:33:44:10,path=./vhost-net0,queues=8,mrg_rxbuf=1,in_order=0,server=1 -- -i --nb-cores=1 --rxq=8 --txq=8 --txd=1024 --rxd=1024\n+      testpmd> set fwd csum\n+      testpmd> start\n+\n+12. Rerun step3-6.\n+\n+13. Quit and relaunch vhost w/ iova=pa::\n+\n+    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 2-3 --file-prefix=vhost -n 4 --vdev 'eth_vhost0,iface=vhost-net0,queues=8,client=1,dmas=[txq0@0000:00:04.0;txq1@0000:00:04.1;txq2@0000:00:04.2;txq3@0000:00:04.3;txq4@0000:00:04.4;txq5@0000:00:04.5;txq6@0000:00:04.6;txq7@0000:00:04.7]' --iova=pa -- -i --nb-cores=1 --rxq=8 --txq=8 --txd=1024 --rxd=1024\n+\n+14. rerun step3-5.\n",
    "prefixes": [
        "V3",
        "1/2"
    ]
}