get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 90838,
    "url": "http://patches.dpdk.org/api/patches/90838/?format=api",
    "web_url": "http://patches.dpdk.org/project/dts/patch/20210408061643.543881-1-weix.ling@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": "<20210408061643.543881-1-weix.ling@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dts/20210408061643.543881-1-weix.ling@intel.com",
    "date": "2021-04-08T06:16:43",
    "name": "[V1] tests/vm2vm_virtio_net_perf: modify test case sync with testplan",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "094f833ff413c15a4a3962af9797a4b3ad9e6a1c",
    "submitter": {
        "id": 1828,
        "url": "http://patches.dpdk.org/api/people/1828/?format=api",
        "name": "Ling, WeiX",
        "email": "weix.ling@intel.com"
    },
    "delegate": null,
    "mbox": "http://patches.dpdk.org/project/dts/patch/20210408061643.543881-1-weix.ling@intel.com/mbox/",
    "series": [
        {
            "id": 16184,
            "url": "http://patches.dpdk.org/api/series/16184/?format=api",
            "web_url": "http://patches.dpdk.org/project/dts/list/?series=16184",
            "date": "2021-04-08T06:16:43",
            "name": "[V1] tests/vm2vm_virtio_net_perf: modify test case sync with testplan",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/16184/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/90838/comments/",
    "check": "pending",
    "checks": "http://patches.dpdk.org/api/patches/90838/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 2B2BAA0579;\n\tThu,  8 Apr 2021 08:18:29 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 008B640698;\n\tThu,  8 Apr 2021 08:18:29 +0200 (CEST)",
            "from mga06.intel.com (mga06.intel.com [134.134.136.31])\n by mails.dpdk.org (Postfix) with ESMTP id 27E7040138\n for <dts@dpdk.org>; Thu,  8 Apr 2021 08:18:26 +0200 (CEST)",
            "from orsmga008.jf.intel.com ([10.7.209.65])\n by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 07 Apr 2021 23:18:25 -0700",
            "from unknown (HELO localhost.localdomain) ([10.240.183.222])\n by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 07 Apr 2021 23:18:24 -0700"
        ],
        "IronPort-SDR": [
            "\n psDyZg8GpiaCotaMJ4HGieXjx1s3xx9yrVuZAr27n7BVpB8V/JorGgi/HkCdd4YbLQI1aB/FzZ\n MOKNK2wAba8w==",
            "\n 4gnD21HzaHe8+vAC+F05QCufX5mmEyxjMff3vIUbwbR2I2ddYSCm38skXam/xa+Ej75EQlFlw1\n /hYGa6DZG4Yg=="
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6000,8403,9947\"; a=\"254808242\"",
            "E=Sophos;i=\"5.82,205,1613462400\"; d=\"scan'208\";a=\"254808242\"",
            "E=Sophos;i=\"5.82,205,1613462400\"; d=\"scan'208\";a=\"422092156\""
        ],
        "From": "Ling Wei <weix.ling@intel.com>",
        "To": "dts@dpdk.org",
        "Cc": "Ling Wei <weix.ling@intel.com>",
        "Date": "Thu,  8 Apr 2021 14:16:43 +0800",
        "Message-Id": "<20210408061643.543881-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] tests/vm2vm_virtio_net_perf: modify test case sync\n with testplan",
        "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.Modify testcase 5,6,11,12 name sync with testplan.\n2.Modify testcase 11,12 use default config qemu version to start vm.\n\nSigned-off-by: Ling Wei <weix.ling@intel.com>\n---\n tests/TestSuite_vm2vm_virtio_net_perf.py | 30 ++++++++++++------------\n 1 file changed, 15 insertions(+), 15 deletions(-)",
    "diff": "diff --git a/tests/TestSuite_vm2vm_virtio_net_perf.py b/tests/TestSuite_vm2vm_virtio_net_perf.py\nindex f7dd0d99..d1e94093 100644\n--- a/tests/TestSuite_vm2vm_virtio_net_perf.py\n+++ b/tests/TestSuite_vm2vm_virtio_net_perf.py\n@@ -227,7 +227,7 @@ class TestVM2VMVirtioNetPerf(TestCase):\n         if iperf_mode == \"tso\":\n             iperf_server = \"iperf -f g -s -i 1\"\n             iperf_client = \"iperf -f g -c 1.1.1.2 -i 1 -t 60\"\n-        else:\n+        elif iperf_mode == 'ufo':\n             iperf_server = \"iperf -f g -s -u -i 1\"\n             iperf_client = \"iperf -f g -c 1.1.1.2 -i 1 -t 30 -P 4 -u -b 1G -l 9000\"\n         self.vm_dut[0].send_expect(\"%s > iperf_server.log &\" % iperf_server, \"\", 10)\n@@ -393,7 +393,7 @@ class TestVM2VMVirtioNetPerf(TestCase):\n         self.offload_capbility_check(self.vm_dut[0])\n         self.offload_capbility_check(self.vm_dut[1])\n \n-    def test_vm2vm_split_ring_mergeable_path_check_large_packet_and_cbdma_enable_8queue(self):\n+    def test_vm2vm_split_ring_with_mergeable_path_check_large_packet_and_cbdma_enable_8queue(self):\n         \"\"\"\n         TestCase5: VM2VM virtio-net split ring mergeable CBDMA enable test with large packet payload valid check\n         \"\"\"\n@@ -433,7 +433,7 @@ class TestVM2VMVirtioNetPerf(TestCase):\n                     \"CMDMA enable: %s is lower than CBDMA disable: %s\" % (\n                         iperf_data_cbdma_enable_8_queue, iperf_data_cbdma_disable_8_queue))\n \n-    def test_vm2vm_split_ring_no_mergeable_path_check_large_packet_and_cbdma_enable_8queue(self):\n+    def test_vm2vm_split_ring_with_no_mergeable_path_check_large_packet_and_cbdma_enable_8queue(self):\n         \"\"\"\n         TestCase6: VM2VM virtio-net split ring non-mergeable CBDMA enable test with large packet payload valid check\n         \"\"\"\n@@ -480,7 +480,7 @@ class TestVM2VMVirtioNetPerf(TestCase):\n         self.vm_args = \"disable-modern=false,mrg_rxbuf=on,csum=on,guest_csum=on,host_tso4=on,guest_tso4=on,guest_ecn=on,packed=on\"\n         self.prepare_test_env(cbdma=False, no_pci=True, client_mode=False, enable_queues=1, nb_cores=2,\n                               server_mode=False, opt_queue=1, combined=False, rxq_txq=None)\n-        self.start_iperf_and_verify_vhost_xstats_info()\n+        self.start_iperf_and_verify_vhost_xstats_info(iperf_mode='tso')\n \n     def test_vm2vm_packed_ring_iperf_with_tso_and_cbdma_enable(self):\n         \"\"\"\n@@ -490,28 +490,28 @@ class TestVM2VMVirtioNetPerf(TestCase):\n         self.vm_args = \"disable-modern=false,mrg_rxbuf=on,csum=on,guest_csum=on,host_tso4=on,guest_tso4=on,guest_ecn=on,packed=on\"\n         self.prepare_test_env(cbdma=True, no_pci=False, client_mode=False, enable_queues=1, nb_cores=2,\n                               server_mode=False, opt_queue=None, combined=False, rxq_txq=None)\n-        self.start_iperf_and_verify_vhost_xstats_info(iperf_mode='other')\n+        self.start_iperf_and_verify_vhost_xstats_info(iperf_mode='ufo')\n \n-    def test_vm2vm_packed_ring_device_capbility(self):\n+    def test_vm2vm_packed_ring_iperf_with_ufo(self):\n         \"\"\"\n-        TestCase9: Check packed ring virtio-net device capability\n+        Test Case 9: VM2VM packed ring vhost-user/virtio-net test with udp trafficc\n         \"\"\"\n         self.vm_args = \"disable-modern=false,mrg_rxbuf=on,csum=on,guest_csum=on,host_tso4=on,guest_tso4=on,guest_ecn=on,packed=on\"\n         self.prepare_test_env(cbdma=False, no_pci=True, client_mode=False, enable_queues=1, nb_cores=2,\n                               server_mode=False, opt_queue=None, combined=False, rxq_txq=None)\n         self.start_iperf_and_verify_vhost_xstats_info(iperf_mode='ufo')\n \n-    def test_vm2vm_packed_ring_mergeable_path_check_large_packet(self):\n+    def test_vm2vm_packed_ring_device_capbility(self):\n         \"\"\"\n-        TestCase10: VM2VM packed ring virtio-net mergeable with large packet payload valid check\n+        Test Case 10: Check packed ring virtio-net device capability\n         \"\"\"\n-        self.vm_args = \"disable-modern=false,mrg_rxbuf=on,mq=on,vectors=40,csum=on,guest_csum=on,host_tso4=on,guest_tso4=on,guest_ecn=on,guest_ufo=on,host_ufo=on,packed=on\"\n+        self.vm_args = \"disable-modern=false,mrg_rxbuf=on,csum=on,guest_csum=on,host_tso4=on,guest_tso4=on,guest_ecn=on,packed=on\"\n         self.start_vhost_testpmd(cbdma=False, no_pci=True, client_mode=False, enable_queues=1, nb_cores=2, rxq_txq=None)\n         self.start_vms()\n         self.offload_capbility_check(self.vm_dut[0])\n         self.offload_capbility_check(self.vm_dut[1])\n \n-    def test_vm2vm_packed_ring_mergeable_path_check_large_packet_and_cbdma_enable_8queue(self):\n+    def test_vm2vm_packed_ring_with_mergeable_path_check_large_packet_and_cbdma_enable_8queue(self):\n         \"\"\"\n         Test Case 11: VM2VM virtio-net packed ring mergeable 8 queues CBDMA enable test with large packet payload valid check\n         \"\"\"\n@@ -520,9 +520,9 @@ class TestVM2VMVirtioNetPerf(TestCase):\n         self.get_cbdma_ports_info_and_bind_to_dpdk(cbdma_num=16, allow_diff_socket=True)\n \n         self.logger.info(\"Launch vhost-testpmd with CBDMA and used 8 queue\")\n-        self.vm_args = \"disable-modern=false,mrg_rxbuf=off,mq=on,vectors=40,csum=on,guest_csum=on,host_tso4=on,guest_tso4=on,guest_ecn=on,guest_ufo=on,host_ufo=on,packed=on\"\n+        self.vm_args = \"disable-modern=false,mrg_rxbuf=on,mq=on,vectors=40,csum=on,guest_csum=on,host_tso4=on,guest_tso4=on,guest_ecn=on,guest_ufo=on,host_ufo=on,packed=on\"\n         self.prepare_test_env(cbdma=True, no_pci=False, client_mode=True, enable_queues=8, nb_cores=4,\n-                              server_mode=True, opt_queue=8, combined=True, rxq_txq=8, vm_config='vm')\n+                              server_mode=True, opt_queue=8, combined=True, rxq_txq=8)\n         self.check_scp_file_valid_between_vms()\n         iperf_data_cbdma_enable_8_queue = self.start_iperf_and_verify_vhost_xstats_info(iperf_mode='tso')\n         ipef_result.append(['Enable', 'mergeable path', 8, iperf_data_cbdma_enable_8_queue])\n@@ -551,7 +551,7 @@ class TestVM2VMVirtioNetPerf(TestCase):\n                     \"CMDMA enable: %s is lower than CBDMA disable: %s\" % (\n                         iperf_data_cbdma_enable_8_queue, iperf_data_cbdma_disable_8_queue))\n \n-    def test_vm2vm_packed_ring_no_mergeable_path_check_large_packet_and_cbdma_enable_8queue(self):\n+    def test_vm2vm_packed_ring_with_no_mergeable_path_check_large_packet_and_cbdma_enable_8queue(self):\n         \"\"\"\n         Test Case 12: VM2VM virtio-net packed ring non-mergeable 8 queues CBDMA enable test with large packet payload valid check\n         \"\"\"\n@@ -562,7 +562,7 @@ class TestVM2VMVirtioNetPerf(TestCase):\n         self.logger.info(\"Launch vhost-testpmd with CBDMA and used 8 queue\")\n         self.vm_args = \"disable-modern=false,mrg_rxbuf=off,mq=on,vectors=40,csum=on,guest_csum=on,host_tso4=on,guest_tso4=on,guest_ecn=on,guest_ufo=on,host_ufo=on,packed=on\"\n         self.prepare_test_env(cbdma=True, no_pci=False, client_mode=True, enable_queues=8, nb_cores=4,\n-                              server_mode=True, opt_queue=8, combined=True, rxq_txq=8, vm_config='vm')\n+                              server_mode=True, opt_queue=8, combined=True, rxq_txq=8)\n         self.check_scp_file_valid_between_vms()\n         iperf_data_cbdma_enable_8_queue = self.start_iperf_and_verify_vhost_xstats_info(iperf_mode='tso')\n         ipef_result.append(['Enable', 'mergeable path', 8, iperf_data_cbdma_enable_8_queue])\n",
    "prefixes": [
        "V1"
    ]
}