get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 98566,
    "url": "https://patches.dpdk.org/api/patches/98566/?format=api",
    "web_url": "https://patches.dpdk.org/project/dts/patch/20210910083347.563543-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": "<20210910083347.563543-1-weix.ling@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dts/20210910083347.563543-1-weix.ling@intel.com",
    "date": "2021-09-10T08:33:47",
    "name": "[V1,1/2] test_plans/vswitch_sample_cbdma_test_plan: modify case 1-3 start virio-user path parameter",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "80021d4941af5828dd3eb95fd7a7b614dd205a1b",
    "submitter": {
        "id": 1828,
        "url": "https://patches.dpdk.org/api/people/1828/?format=api",
        "name": "Ling, WeiX",
        "email": "weix.ling@intel.com"
    },
    "delegate": {
        "id": 23642,
        "url": "https://patches.dpdk.org/api/users/23642/?format=api",
        "username": "lijuantu",
        "first_name": "LIjuan",
        "last_name": "Tu",
        "email": "lijuan.tu@intel.com"
    },
    "mbox": "https://patches.dpdk.org/project/dts/patch/20210910083347.563543-1-weix.ling@intel.com/mbox/",
    "series": [
        {
            "id": 18826,
            "url": "https://patches.dpdk.org/api/series/18826/?format=api",
            "web_url": "https://patches.dpdk.org/project/dts/list/?series=18826",
            "date": "2021-09-10T08:33:37",
            "name": "modify vswitch_sample_cbamd testplan and",
            "version": 1,
            "mbox": "https://patches.dpdk.org/series/18826/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/98566/comments/",
    "check": "pending",
    "checks": "https://patches.dpdk.org/api/patches/98566/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 117C0A0547;\n\tFri, 10 Sep 2021 10:39:30 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 09B7540DFD;\n\tFri, 10 Sep 2021 10:39:30 +0200 (CEST)",
            "from mga09.intel.com (mga09.intel.com [134.134.136.24])\n by mails.dpdk.org (Postfix) with ESMTP id 6B1EF4067E\n for <dts@dpdk.org>; Fri, 10 Sep 2021 10:39:28 +0200 (CEST)",
            "from fmsmga002.fm.intel.com ([10.253.24.26])\n by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 10 Sep 2021 01:39:27 -0700",
            "from unknown (HELO localhost.localdomain) ([10.240.183.222])\n by fmsmga002-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 10 Sep 2021 01:39:26 -0700"
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6200,9189,10102\"; a=\"221062579\"",
            "E=Sophos;i=\"5.85,282,1624345200\"; d=\"scan'208\";a=\"221062579\"",
            "E=Sophos;i=\"5.85,282,1624345200\"; d=\"scan'208\";a=\"549183148\""
        ],
        "From": "\"Ling, WeiX\" <weix.ling@intel.com>",
        "To": "dts@dpdk.org",
        "Cc": "\"Ling, WeiX\" <weix.ling@intel.com>, Ling@dpdk.org",
        "Date": "Fri, 10 Sep 2021 16:33:47 +0800",
        "Message-Id": "<20210910083347.563543-1-weix.ling@intel.com>",
        "X-Mailer": "git-send-email 2.25.1",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[dts] [PATCH V1 1/2] test_plans/vswitch_sample_cbdma_test_plan:\n modify case 1-3 start virio-user path parameter",
        "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": "Modify case 1-3 start virio-user path parameter.\n\nSigned-off-by: Ling, WeiX <weix.ling@intel.com>\n---\n test_plans/vswitch_sample_cbdma_test_plan.rst | 38 +++++++++++--------\n 1 file changed, 22 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 8fcf0b0a..4f2a04fb 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,7 @@ 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,12 +66,12 @@ Test Case1: PVP performance check with CBDMA channel using vhost async driver\n \n 2. On host, launch dpdk-vhost by below command::\n \n-\t./dpdk-vhost -c 0x1c000000 -n 4 -- \\\n+\t./dpdk-vhost -l 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 \n-\t./dpdk-testpmd -l 29-30 -n 4 --no-pci --file-prefix=testpmd0 \\\n+\t./dpdk-testpmd -l 29-30 -n 4 --no-pci --file-prefix=testpmd0 --force-max-simd-bitwidth=512 \\\n \t--vdev=net_virtio_user0,mac=00:11:22:33:44:10,path=/tmp/vhost-net,queues=1,mrg_rxbuf=0,in_order=1,vectorized=1,packed_vq=1,server=1 -- -i --rxq=1 --txq=1 --txd=1024 --rxd=1024 --nb-cores=1\n \n 4. Start pkts from virtio-user side to let vswitch know the mac addr::\n@@ -80,15 +79,22 @@ Test Case1: PVP performance check with CBDMA channel using vhost async driver\n \ttestpmd>set fwd mac\n \ttestpmd>start tx_first\n \n-5. Inject pkts (packets length=64...1518) separately with VLAN_id=1000 and dest_mac=virtio_mac_addresss (specific in above cmd with 00:11:22:33:44:10) to NIC using packet generator, record pvp (PG>nic>vswitch>virtio-user>vswitch>nic>PG) performance number can get expected.\n+5. Inject pkts (packets length=64...1518) separately with dest_mac=virtio_mac_addresss (specific in above cmd with 00:11:22:33:44:10) to NIC using packet generator, record pvp (PG>nic>vswitch>virtio-user>vswitch>nic>PG) performance number can get expected.\n \n-6. Quit and re-launch virtio-user with split ring::\n+6. Quit and re-launch virtio-user with packed ring size not power of 2::\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-net,queues=1,mrg_rxbuf=1,in_order=1,vectorized=1,server=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 --force-max-simd-bitwidth=512 \\\n+\t--vdev=net_virtio_user0,mac=00:11:22:33:44:10,path=/tmp/vhost-net,queues=1,mrg_rxbuf=0,in_order=1,vectorized=1,packed_vq=1,server=1,queue_size=1025 -- -i --rxq=1 --txq=1 --txd=1025 --rxd=1025 --nb-cores=1\n \n 7. Re-test step 4-5, record performance of different packet length.\n \n+8. Quit and re-launch virtio-user with split ring::\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-net,queues=1,mrg_rxbuf=0,in_order=1,vectorized=1,server=1 -- -i --rxq=1 --txq=1 --txd=1024 --rxd=1024 --nb-cores=1\n+\n+9. Re-test step 4-5, record performance of different packet length.\n+\n Test Case2: PVP test with two VM and two CBDMA channels using vhost async driver\n =================================================================================\n \n@@ -97,12 +103,12 @@ Test Case2: PVP test with two VM and two CBDMA channels using vhost async driver\n 2. On host, launch dpdk-vhost by below command::\n \n \t./dpdk-vhost -l 26-28 -n 4 -- \\\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@0000:00:04.0,txd1@0000:00:04.1] --client\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@0000:00:01.0,txd1@0000:00:01.1] --client\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--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=1,in_order=0,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@@ -114,7 +120,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@@ -125,7 +131,7 @@ Test Case2: PVP test with two VM and two CBDMA channels using vhost async driver\n     testpmd1>stop\n     testpmd1>start tx_first\n \n-8. Inject IMIX packets (64b...1518b) to NIC using packet generator, ensure get same throughput as step5.\n+8. 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, ensure get same throughput as step5.\n \n Test Case3: VM2VM forwarding test with two CBDMA channels\n =========================================================\n@@ -134,15 +140,15 @@ 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,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./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 \n 4. Loop pkts between two virtio-user sides, record performance number with 64b/2000b/8000b/IMIX pkts can get expected::\n",
    "prefixes": [
        "V1",
        "1/2"
    ]
}