Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/76871/?format=api
http://patches.dpdk.org/api/patches/76871/?format=api", "web_url": "http://patches.dpdk.org/project/dts/patch/20200908071825.118583-37-junx.w.zhou@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": "<20200908071825.118583-37-junx.w.zhou@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dts/20200908071825.118583-37-junx.w.zhou@intel.com", "date": "2020-09-08T07:18:23", "name": "[36/38] tests/TestSuite_vm2vm_virtio_user.py: adapt to support both meson and makefile build", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": false, "hash": "336297a2c544d4459468859a12a1094388e8bf4f", "submitter": { "id": 1646, "url": "http://patches.dpdk.org/api/people/1646/?format=api", "name": "Zhou, JunX W", "email": "junx.w.zhou@intel.com" }, "delegate": null, "mbox": "http://patches.dpdk.org/project/dts/patch/20200908071825.118583-37-junx.w.zhou@intel.com/mbox/", "series": [ { "id": 12010, "url": "http://patches.dpdk.org/api/series/12010/?format=api", "web_url": "http://patches.dpdk.org/project/dts/list/?series=12010", "date": "2020-09-08T07:17:47", "name": "Modify suites to support meson", "version": 1, "mbox": "http://patches.dpdk.org/series/12010/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/76871/comments/", "check": "pending", "checks": "http://patches.dpdk.org/api/patches/76871/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 dpdk.org (dpdk.org [92.243.14.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id A5A8AA04AA;\n\tTue, 8 Sep 2020 09:30:15 +0200 (CEST)", "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 9D0211C135;\n\tTue, 8 Sep 2020 09:30:15 +0200 (CEST)", "from mga06.intel.com (mga06.intel.com [134.134.136.31])\n by dpdk.org (Postfix) with ESMTP id 7B3F21C128\n for <dts@dpdk.org>; Tue, 8 Sep 2020 09:30:12 +0200 (CEST)", "from orsmga001.jf.intel.com ([10.7.209.18])\n by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 08 Sep 2020 00:30:12 -0700", "from unknown (HELO localhost.localdomain) ([10.240.183.52])\n by orsmga001.jf.intel.com with ESMTP; 08 Sep 2020 00:30:10 -0700" ], "IronPort-SDR": [ "\n xsfqv3hQDKj8t1fhVByMN400pLIw1FDCM8LjFzABvHv6wOg+9+567Nks5S0Ty4zamw8A1VNSoN\n 27SG92T7K01g==", "\n miK2qIlWH0/79do6j2JJS5WF1laU2Qc7pExeQCoPwkLy2WYCtRqmcah1hVEtzD+pg5iXQvKqS5\n PgcJ7aM+Un5g==" ], "X-IronPort-AV": [ "E=McAfee;i=\"6000,8403,9737\"; a=\"219646667\"", "E=Sophos;i=\"5.76,404,1592895600\"; d=\"scan'208\";a=\"219646667\"", "E=Sophos;i=\"5.76,404,1592895600\"; d=\"scan'208\";a=\"377432922\"" ], "X-Amp-Result": "SKIPPED(no attachment in message)", "X-Amp-File-Uploaded": "False", "X-ExtLoop1": "1", "From": "\"Zhou, Jun\" <junx.w.zhou@intel.com>", "To": "dts@dpdk.org", "Cc": "Zhou jun <junx.w.zhou@intel.com>", "Date": "Tue, 8 Sep 2020 07:18:23 +0000", "Message-Id": "<20200908071825.118583-37-junx.w.zhou@intel.com>", "X-Mailer": "git-send-email 2.25.1", "In-Reply-To": "<20200908071825.118583-1-junx.w.zhou@intel.com>", "References": "<20200908071825.118583-1-junx.w.zhou@intel.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Subject": "[dts] [dts 36/38] tests/TestSuite_vm2vm_virtio_user.py: adapt to\n\tsupport both meson and makefile build", "X-BeenThere": "dts@dpdk.org", "X-Mailman-Version": "2.1.15", "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": "From: Zhou jun <junx.w.zhou@intel.com>\n\nSigned-off-by: Zhou jun <junx.w.zhou@intel.com>\n---\n tests/TestSuite_vm2vm_virtio_user.py | 12 ++++++++----\n 1 file changed, 8 insertions(+), 4 deletions(-)", "diff": "diff --git a/tests/TestSuite_vm2vm_virtio_user.py b/tests/TestSuite_vm2vm_virtio_user.py\nindex e743e61..16b90c0 100644\n--- a/tests/TestSuite_vm2vm_virtio_user.py\n+++ b/tests/TestSuite_vm2vm_virtio_user.py\n@@ -59,6 +59,8 @@ class TestVM2VMVirtioUser(TestCase):\n self.rebuild_flag = False\n self.config_value = 'CONFIG_RTE_LIBRTE_PMD_PCAP'\n self.enable_pcap_lib_in_dpdk(self.dut)\n+ self.app_testpmd_path = self.dut.apps_name['test-pmd']\n+ self.app_pdump = self.dut.apps_name['pdump']\n \n def set_up(self):\n \"\"\"\n@@ -98,6 +100,7 @@ class TestVM2VMVirtioUser(TestCase):\n if str.lower(default_value) != 'y':\n client_dut.send_expect(\"sed -i 's/%s=n$/%s=y/' config/common_base\" % (\n self.config_value, self.config_value), '# ')\n+ client_dut.set_build_options({'RTE_LIBRTE_PMD_PCAP': 'y'})\n client_dut.build_install_dpdk(self.target)\n self.rebuild_flag = True\n \n@@ -108,6 +111,7 @@ class TestVM2VMVirtioUser(TestCase):\n if self.rebuild_flag is True:\n client_dut.send_expect(\"sed -i 's/%s=y$/%s=n/' config/common_base\" %\n (self.config_value, self.config_value), \"#\")\n+ client_dut.set_build_options({'RTE_LIBRTE_PMD_PCAP': 'n'})\n client_dut.build_install_dpdk(self.target)\n \n def launch_vhost_testpmd(self, vdev_num, fixed_prefix=False, fwd_mode='io'):\n@@ -117,7 +121,7 @@ class TestVM2VMVirtioUser(TestCase):\n for i in range(vdev_num):\n vdev_params += \"--vdev 'net_vhost%d,iface=./vhost-net%d,queues=1' \" % (i, i)\n \n- self.command_line = self.dut.target + '/app/testpmd %s ' + \\\n+ self.command_line = self.app_testpmd_path + ' %s ' + \\\n '--socket-mem %s %s -- -i --nb-cores=1 --no-flush-rx'\n \n self.command_line = self.command_line % (\n@@ -139,7 +143,7 @@ class TestVM2VMVirtioUser(TestCase):\n if self.check_2M_env:\n eal_params += \" --single-file-segments \"\n vdev_params = '--vdev=net_virtio_user1,mac=00:01:02:03:04:05,path=./vhost-net1,queues=1,%s,queue_size=%d ' % (path_mode, ringsize)\n- command_line = self.dut.target + \"/app/testpmd %s \" + \\\n+ command_line = self.app_testpmd_path + \" %s \" + \\\n \"--socket-mem %s %s -- -i --nb-cores=1 --txd=%d --rxd=%d %s\"\n command_line = command_line % (eal_params, self.socket_mem,\n vdev_params, ringsize, ringsize, extern_params)\n@@ -157,7 +161,7 @@ class TestVM2VMVirtioUser(TestCase):\n if self.check_2M_env:\n eal_params += \" --single-file-segments \"\n vdev_params = '--vdev=net_virtio_user0,mac=00:01:02:03:04:05,path=./vhost-net0,queues=1,%s,queue_size=%d ' % (path_mode, ringsize)\n- command_line = self.dut.target + '/app/testpmd %s ' + \\\n+ command_line = self.app_testpmd_path + ' %s ' + \\\n '--socket-mem %s %s -- -i --nb-cores=1 --txd=%d --rxd=%d %s'\n command_line = command_line % (eal_params, self.socket_mem,\n vdev_params, ringsize, ringsize, extern_params)\n@@ -184,7 +188,7 @@ class TestVM2VMVirtioUser(TestCase):\n \"\"\"\n eal_params = self.dut.create_eal_parameters(cores='Default',\n prefix=file_prefix, fixed_prefix=True)\n- command_line = self.target + \"/app/dpdk-pdump %s -v -- \" + \\\n+ command_line = self.app_pdump + \" %s -v -- \" + \\\n \"--pdump '%s,queue=*,rx-dev=%s,mbuf-size=8000'\"\n self.pdump_session.send_expect(command_line % (eal_params, dump_port, filename), 'Port')\n \n", "prefixes": [ "36/38" ] }{ "id": 76871, "url": "