Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/76506/?format=api
http://patches.dpdk.org/api/patches/76506/?format=api", "web_url": "http://patches.dpdk.org/project/dts/patch/1599207525-22123-10-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-10-git-send-email-xix.zhang@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dts/1599207525-22123-10-git-send-email-xix.zhang@intel.com", "date": "2020-09-04T08:18:17", "name": "[10/38] tests-TestSuite_hotplug_mp.py:support meson build", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": false, "hash": "a4c972372c215fc9b45209e16b6dceeb02f8ab45", "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-10-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/76506/comments/", "check": "pending", "checks": "http://patches.dpdk.org/api/patches/76506/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 1B053A04C5;\n\tFri, 4 Sep 2020 10:17:22 +0200 (CEST)", "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 125881C0CE;\n\tFri, 4 Sep 2020 10:17:22 +0200 (CEST)", "from mga01.intel.com (mga01.intel.com [192.55.52.88])\n by dpdk.org (Postfix) with ESMTP id BA9BD1C0BC\n for <dts@dpdk.org>; Fri, 4 Sep 2020 10:17:19 +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:17 -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:16 -0700" ], "IronPort-SDR": [ "\n +peILORpJ4ggxZjp2DhSPUV3z9wAMbTbAD/Db1GxqMsaxswnDoeGXSVjhO/3POlEt3yC6kC0g2\n 6ZCM4JpQ5HLw==", "\n Gf6/wJW6LmnanBm+GWDMgzixUYuCaM30n1nkK1/b41KfZ+G8x2H5AhVGyjrYGSQ1jQ3z3R46oJ\n 3dGnv52Q7ssw==" ], "X-IronPort-AV": [ "E=McAfee;i=\"6000,8403,9733\"; a=\"175763273\"", "E=Sophos;i=\"5.76,389,1592895600\"; d=\"scan'208\";a=\"175763273\"", "E=Sophos;i=\"5.76,389,1592895600\"; d=\"scan'208\";a=\"315782622\"" ], "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:17 +0800", "Message-Id": "<1599207525-22123-10-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 10/38] tests-TestSuite_hotplug_mp.py:support meson 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_hotplug_mp.py | 18 ++++++++++--------\n 1 file changed, 10 insertions(+), 8 deletions(-)", "diff": "diff --git a/tests/TestSuite_hotplug_mp.py b/tests/TestSuite_hotplug_mp.py\nindex 4cb5ce5..e9abe4f 100644\n--- a/tests/TestSuite_hotplug_mp.py\n+++ b/tests/TestSuite_hotplug_mp.py\n@@ -23,7 +23,8 @@ class TestHotplugMp(TestCase):\n self.verify(len(self.dut_ports) >= 1, \"Insufficient ports\")\n self.intf0 = self.dut.ports_info[0]['intf']\n self.pci0 = self.dut.ports_info[0]['pci']\n- out = self.dut.build_dpdk_apps(\"./examples/multi_process/\")\n+ out = self.dut.build_dpdk_apps(\"./examples/multi_process/hotplug_mp\")\n+ self.app_path=self.dut.apps_name['hotplug_mp']\n self.verify('Error' not in out, \"Compilation failed\")\n # Start one new session to run primary process\n self.session_pri = self.dut.new_session()\n@@ -48,16 +49,16 @@ class TestHotplugMp(TestCase):\n if self.drivername in [\"igb_uio\"]:\n self.iova_param = \"--iova-mode=pa\"\n out = self.session_pri.send_expect(\n- \"./examples/multi_process/hotplug_mp/%s/hotplug_mp %s --proc-type=auto\"\n- % (self.target, self.iova_param), \"example>\")\n+ \"%s %s --proc-type=auto\"\n+ % (self.app_path, self.iova_param), \"example>\")\n self.verify(\"Auto-detected process type: PRIMARY\" in out,\n \"Failed to setup primary process!\")\n for out in [self.session_sec_1.send_expect(\n- \"./examples/multi_process/hotplug_mp/%s/hotplug_mp %s --proc-type=auto\"\n- % (self.target, self.iova_param), \"example>\"),\n+ \"%s %s --proc-type=auto\"\n+ % (self.app_path, self.iova_param), \"example>\"),\n self.session_sec_2.send_expect(\n- \"./examples/multi_process/hotplug_mp/%s/hotplug_mp %s --proc-type=auto\"\n- % (self.target, self.iova_param), \"example>\")]:\n+ \"%s %s --proc-type=auto\"\n+ % (self.app_path, self.iova_param), \"example>\")]:\n self.verify(\"Auto-detected process type: SECONDARY\" in out,\n \"Failed to setup secondary process!\")\n \n@@ -328,10 +329,11 @@ class TestHotplugMp(TestCase):\n \"\"\"\n vdev = \"net_virtio_user0\"\n self.path = \"/home/vhost-net\"\n+ pmd_path=self.dut.apps_name['test-pmd']\n self.session_vhost.send_expect(\"rm -rf %s\" % self.path, \"#\")\n eal_param = self.dut.create_eal_parameters(no_pci=True, prefix='vhost',vdevs=[\"eth_vhost0,iface=%s\" % self.path])\n param = ' -- -i'\n- testpmd_cmd = \"./%s/app/testpmd \" % self.target + eal_param + param\n+ testpmd_cmd = \"%s \" % pmd_path + eal_param + param\n self.session_vhost.send_expect(testpmd_cmd, 'testpmd> ', timeout=60)\n try:\n self.attach_detach_vdev(\"pri\", \"hotplug\", 1, vdev, iface=\"mac=00:01:02:03:04:05,path=%s,packed_vq=1,mrg_rxbuf=1,in_order=0\" % self.path)\n", "prefixes": [ "10/38" ] }{ "id": 76506, "url": "