Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/116473/?format=api
http://patchwork.dpdk.org/api/patches/116473/?format=api", "web_url": "http://patchwork.dpdk.org/project/dts/patch/20220920075004.673785-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": "<20220920075004.673785-1-weix.ling@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dts/20220920075004.673785-1-weix.ling@intel.com", "date": "2022-09-20T07:50:04", "name": "[V1,2/2] tests/vm2vm_virtio_net_perf: add tso=1 parameter when start virtio backend side", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": false, "hash": "2c64f096bc165a7697f09e1a19a2a3da3f813bec", "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/20220920075004.673785-1-weix.ling@intel.com/mbox/", "series": [ { "id": 24725, "url": "http://patchwork.dpdk.org/api/series/24725/?format=api", "web_url": "http://patchwork.dpdk.org/project/dts/list/?series=24725", "date": "2022-09-20T07:49:45", "name": "add tso=1 parameter as DPDK change", "version": 1, "mbox": "http://patchwork.dpdk.org/series/24725/mbox/" } ], "comments": "http://patchwork.dpdk.org/api/patches/116473/comments/", "check": "fail", "checks": "http://patchwork.dpdk.org/api/patches/116473/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 462EFA00C3;\n\tTue, 20 Sep 2022 09:57:20 +0200 (CEST)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 3FF50410D0;\n\tTue, 20 Sep 2022 09:57:20 +0200 (CEST)", "from mga14.intel.com (mga14.intel.com [192.55.52.115])\n by mails.dpdk.org (Postfix) with ESMTP id 355504069B\n for <dts@dpdk.org>; Tue, 20 Sep 2022 09:57:19 +0200 (CEST)", "from fmsmga001.fm.intel.com ([10.253.24.23])\n by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 20 Sep 2022 00:56:57 -0700", "from unknown (HELO localhost.localdomain) ([10.239.252.222])\n by fmsmga001-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 20 Sep 2022 00:56:56 -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=1663660639; x=1695196639;\n h=from:to:cc:subject:date:message-id:mime-version:\n content-transfer-encoding;\n bh=yoRLBNT3LviIkGyfkNwlvCP83hY0TPPukBDpTD4jkkE=;\n b=by32mHKEk13OVP4nrWgCEyiCjfLv7c57D0wmMR0com7Z3VnCnE4OmweF\n DIMuFg/QYwHspbO4X5dg0mNUBco4IDw3SthsxXsGFjQCjwpm/wRUEVo7O\n 6GXsko2kWjWWnamNApl+cnV4eHoA8Bgu2MhOeawuJ7kEwK16n2aCJiobq\n hPe0tUu/GTmPFJgKz53fD7UKvfRHkGn6JolDwWU/QR48YVclqQ6fLfqsL\n N7KJUg0ZUSZ7V2oV6rXKFllpzoOZex7eeZwIS3JSfSPxUAImKwSfFn9qK\n dY+ksVjwxU12iEO6EGGUOaoD04RY0dBH1Qjj/MnBHcDFUIuQN4CHxP/3V A==;", "X-IronPort-AV": [ "E=McAfee;i=\"6500,9779,10475\"; a=\"299617842\"", "E=Sophos;i=\"5.93,329,1654585200\"; d=\"scan'208\";a=\"299617842\"", "E=Sophos;i=\"5.93,329,1654585200\"; d=\"scan'208\";a=\"761205091\"" ], "From": "Wei Ling <weix.ling@intel.com>", "To": "dts@dpdk.org", "Cc": "Wei Ling <weix.ling@intel.com>", "Subject": "[dts][PATCH V1 2/2] tests/vm2vm_virtio_net_perf: add tso=1 parameter\n when start virtio backend side", "Date": "Tue, 20 Sep 2022 03:50:04 -0400", "Message-Id": "<20220920075004.673785-1-weix.ling@intel.com>", "X-Mailer": "git-send-email 2.25.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": "As DPDK commit 6d7046215a(net/vhost: fix TSO feature default disablement),\nadd tso=1 parameter when start virtio backend side to open the TSO\nfeature.\n\nSigned-off-by: Wei Ling <weix.ling@intel.com>\n---\n tests/TestSuite_vm2vm_virtio_net_perf.py | 39 +++++++++++-------------\n 1 file changed, 18 insertions(+), 21 deletions(-)", "diff": "diff --git a/tests/TestSuite_vm2vm_virtio_net_perf.py b/tests/TestSuite_vm2vm_virtio_net_perf.py\nindex ec659519..aef00404 100644\n--- a/tests/TestSuite_vm2vm_virtio_net_perf.py\n+++ b/tests/TestSuite_vm2vm_virtio_net_perf.py\n@@ -68,40 +68,35 @@ class TestVM2VMVirtioNetPerf(TestCase):\n enable_queues=1,\n nb_cores=2,\n rxq_txq=None,\n- exchange_cbdma=False,\n ):\n \"\"\"\n launch the testpmd with different parameters\n \"\"\"\n testcmd = self.app_testpmd_path + \" \"\n if not client_mode:\n- vdev1 = \"--vdev 'net_vhost0,iface=%s/vhost-net0,queues=%d' \" % (\n+ vdev1 = \"--vdev 'net_vhost0,iface=%s/vhost-net0,queues=%d,tso=1' \" % (\n self.base_dir,\n enable_queues,\n )\n- vdev2 = \"--vdev 'net_vhost1,iface=%s/vhost-net1,queues=%d' \" % (\n+ vdev2 = \"--vdev 'net_vhost1,iface=%s/vhost-net1,queues=%d,tso=1' \" % (\n self.base_dir,\n enable_queues,\n )\n else:\n- vdev1 = \"--vdev 'net_vhost0,iface=%s/vhost-net0,client=1,queues=%d' \" % (\n- self.base_dir,\n- enable_queues,\n+ vdev1 = (\n+ \"--vdev 'net_vhost0,iface=%s/vhost-net0,client=1,queues=%d,tso=1' \"\n+ % (\n+ self.base_dir,\n+ enable_queues,\n+ )\n )\n- vdev2 = \"--vdev 'net_vhost1,iface=%s/vhost-net1,client=1,queues=%d' \" % (\n- self.base_dir,\n- enable_queues,\n+ vdev2 = (\n+ \"--vdev 'net_vhost1,iface=%s/vhost-net1,client=1,queues=%d,tso=1' \"\n+ % (\n+ self.base_dir,\n+ enable_queues,\n+ )\n )\n- if exchange_cbdma:\n- vdev1 = \"--vdev 'net_vhost0,iface=%s/vhost-net0,client=1,queues=%d' \" % (\n- self.base_dir,\n- enable_queues,\n- )\n- vdev2 = \"--vdev 'net_vhost1,iface=%s/vhost-net1,client=1,queues=%d' \" % (\n- self.base_dir,\n- enable_queues,\n- )\n-\n eal_params = self.dut.create_eal_parameters(\n cores=self.cores_list, prefix=\"vhost\", no_pci=no_pci\n )\n@@ -256,8 +251,10 @@ class TestVM2VMVirtioNetPerf(TestCase):\n out_tx = self.vhost.send_expect(\"show port xstats 0\", \"testpmd> \", 20)\n out_rx = self.vhost.send_expect(\"show port xstats 1\", \"testpmd> \", 20)\n \n- rx_info = re.search(\"rx_size_1523_to_max_packets:\\s*(\\d*)\", out_rx)\n- tx_info = re.search(\"tx_size_1523_to_max_packets:\\s*(\\d*)\", out_tx)\n+ # rx_info = re.search(\"rx_size_1523_to_max_packets:\\s*(\\d*)\", out_rx)\n+ rx_info = re.search(\"rx_q0_size_1519_max_packets:\\s*(\\d*)\", out_rx)\n+ # tx_info = re.search(\"tx_size_1523_to_max_packets:\\s*(\\d*)\", out_tx)\n+ tx_info = re.search(\"tx_q0_size_1519_max_packets:\\s*(\\d*)\", out_tx)\n \n self.verify(\n int(rx_info.group(1)) > 0, \"Port 1 not receive packet greater than 1522\"\n", "prefixes": [ "V1", "2/2" ] }{ "id": 116473, "url": "