Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/76524/?format=api
http://patches.dpdk.org/api/patches/76524/?format=api", "web_url": "http://patches.dpdk.org/project/dts/patch/1599207525-22123-28-git-send-email-xix.zhang@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": "<1599207525-22123-28-git-send-email-xix.zhang@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dts/1599207525-22123-28-git-send-email-xix.zhang@intel.com", "date": "2020-09-04T08:18:35", "name": "[28/38] tests/TestSuite_pvp_qemu_multi_paths_port_restart.py:support meson build", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": false, "hash": "448c1b63da54ccb1a2d6c629518e96f06ee2732b", "submitter": { "id": 1728, "url": "http://patches.dpdk.org/api/people/1728/?format=api", "name": "Zhang, XiX", "email": "xix.zhang@intel.com" }, "delegate": null, "mbox": "http://patches.dpdk.org/project/dts/patch/1599207525-22123-28-git-send-email-xix.zhang@intel.com/mbox/", "series": [ { "id": 11948, "url": "http://patches.dpdk.org/api/series/11948/?format=api", "web_url": "http://patches.dpdk.org/project/dts/list/?series=11948", "date": "2020-09-04T08:14:07", "name": "Modify suite to support meson & makefile", "version": 1, "mbox": "http://patches.dpdk.org/series/11948/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/76524/comments/", "check": "pending", "checks": "http://patches.dpdk.org/api/patches/76524/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 0F7AEA04C5;\n\tFri, 4 Sep 2020 10:17:45 +0200 (CEST)", "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id E10B21C128;\n\tFri, 4 Sep 2020 10:17:44 +0200 (CEST)", "from mga01.intel.com (mga01.intel.com [192.55.52.88])\n by dpdk.org (Postfix) with ESMTP id BE7821C11F\n for <dts@dpdk.org>; Fri, 4 Sep 2020 10:17:42 +0200 (CEST)", "from orsmga002.jf.intel.com ([10.7.209.21])\n by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 04 Sep 2020 01:17:42 -0700", "from unknown (HELO localhost.localdomain.sh.intel.com)\n ([10.240.182.150])\n by orsmga002.jf.intel.com with ESMTP; 04 Sep 2020 01:17:41 -0700" ], "IronPort-SDR": [ "\n auk1bCvV0ZXPUe4QXKo2XvIX+CAwYhbwwhA9ZyUNDREdsT/HGily8y9ancKjOz9g+X5hOnKWKU\n SoIXY+atByzQ==", "\n 2I2fQFLJFTg6nyMFP1n2VbBGE3S9feK23urQe3UYcWu0BYVkmR6MYJqOvVABqSQCMU0h4Ya8U3\n +YzXER97Lwzg==" ], "X-IronPort-AV": [ "E=McAfee;i=\"6000,8403,9733\"; a=\"175763318\"", "E=Sophos;i=\"5.76,389,1592895600\"; d=\"scan'208\";a=\"175763318\"", "E=Sophos;i=\"5.76,389,1592895600\"; d=\"scan'208\";a=\"315782760\"" ], "X-Amp-Result": "SKIPPED(no attachment in message)", "X-Amp-File-Uploaded": "False", "X-ExtLoop1": "1", "From": "xizhan4x <xix.zhang@intel.com>", "To": "dts@dpdk.org", "Cc": "xizhan4x <xix.zhang@intel.com>", "Date": "Fri, 4 Sep 2020 16:18:35 +0800", "Message-Id": "<1599207525-22123-28-git-send-email-xix.zhang@intel.com>", "X-Mailer": "git-send-email 1.8.3.1", "In-Reply-To": "<1599207525-22123-1-git-send-email-xix.zhang@intel.com>", "References": "<1599207525-22123-1-git-send-email-xix.zhang@intel.com>", "Subject": "[dts] [dts 28/38]\n\ttests/TestSuite_pvp_qemu_multi_paths_port_restart.py:support\n\tmeson 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": "Signed-off-by: xizhan4x <xix.zhang@intel.com>\n---\n tests/TestSuite_pvp_qemu_multi_paths_port_restart.py | 17 +++++++++--------\n 1 file changed, 9 insertions(+), 8 deletions(-)", "diff": "diff --git a/tests/TestSuite_pvp_qemu_multi_paths_port_restart.py b/tests/TestSuite_pvp_qemu_multi_paths_port_restart.py\nindex 877d40b..1c31ce6 100644\n--- a/tests/TestSuite_pvp_qemu_multi_paths_port_restart.py\n+++ b/tests/TestSuite_pvp_qemu_multi_paths_port_restart.py\n@@ -73,6 +73,8 @@ class TestPVPQemuMultiPathPortRestart(TestCase):\n self.pktgen_helper = PacketGeneratorHelper()\n self.pci_info = self.dut.ports_info[0]['pci']\n self.number_of_ports = 1\n+ self.path=self.dut.apps_name['test-pmd']\n+ self.testpmd_name = self.path.split(\"/\")[-1]\n \n def set_up(self):\n \"\"\"\n@@ -80,7 +82,7 @@ class TestPVPQemuMultiPathPortRestart(TestCase):\n \"\"\"\n # Clean the execution ENV\n self.dut.send_expect(\"rm -rf ./vhost.out\", \"#\")\n- self.dut.send_expect(\"killall -s INT testpmd\", \"#\")\n+ self.dut.send_expect(\"killall -s INT %s\" % self.testpmd_name , \"#\")\n self.dut.send_expect(\"killall -s INT qemu-system-x86_64\", \"#\")\n # Prepare the result table\n self.table_header = [\"FrameSize(B)\", \"Mode\",\n@@ -93,13 +95,12 @@ class TestPVPQemuMultiPathPortRestart(TestCase):\n \"\"\"\n start testpmd on vhost\n \"\"\"\n- self.dut.send_expect(\"killall -s INT testpmd\", \"#\")\n+ self.dut.send_expect(\"killall -s INT %s\" % self.testpmd_name , \"#\")\n self.dut.send_expect(\"rm -rf ./vhost-net*\", \"#\")\n- testcmd = self.dut.target + \"/app/testpmd \"\n vdev = [r\"'net_vhost0,iface=vhost-net,queues=1'\"]\n eal_params = self.dut.create_eal_parameters(cores=self.core_list, prefix='vhost', ports=[self.pci_info], vdevs=vdev)\n para = \" -- -i --nb-cores=1 --txd=1024 --rxd=1024\"\n- command_line_client = testcmd + eal_params + para\n+ command_line_client = self.path + eal_params + para\n self.vhost.send_expect(command_line_client, \"testpmd> \", 120)\n self.vhost.send_expect(\"set fwd mac\", \"testpmd> \", 120)\n self.vhost.send_expect(\"start\", \"testpmd> \", 120)\n@@ -109,16 +110,16 @@ class TestPVPQemuMultiPathPortRestart(TestCase):\n start testpmd in vm depend on different path\n \"\"\"\n if path == \"mergeable\":\n- command = self.dut.target + \"/app/testpmd \" + \\\n+ command = self.path + \\\n \"-c 0x3 -n 3 -- -i \" + \\\n \"--nb-cores=1 --txd=1024 --rxd=1024\"\n elif path == \"normal\":\n- command = self.dut.target + \"/app/testpmd \" + \\\n+ command = self.path + \\\n \"-c 0x3 -n 3 -- -i \" + \\\n \"--tx-offloads=0x0 --enable-hw-vlan-strip \" + \\\n \"--nb-cores=1 --txd=1024 --rxd=1024\"\n elif path == \"vector_rx\":\n- command = self.dut.target + \"/app/testpmd \" + \\\n+ command = self.path + \\\n \"-c 0x3 -n 3 -- -i \" + \\\n \"--nb-cores=1 --txd=1024 --rxd=1024\"\n self.vm_dut.send_expect(command, \"testpmd> \", 30)\n@@ -356,7 +357,7 @@ class TestPVPQemuMultiPathPortRestart(TestCase):\n \"\"\"\n Run after each test case.\n \"\"\"\n- self.dut.send_expect(\"killall -s INT testpmd\", \"#\")\n+ self.dut.send_expect(\"killall -s INT %s\" % self.testpmd_name , \"#\")\n self.dut.send_expect(\"killall -s INT qemu-system-x86_64\", \"#\")\n self.close_session()\n time.sleep(2)\n", "prefixes": [ "28/38" ] }{ "id": 76524, "url": "