Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/76861/?format=api
http://patches.dpdk.org/api/patches/76861/?format=api", "web_url": "http://patches.dpdk.org/project/dts/patch/20200908071825.118583-27-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-27-junx.w.zhou@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dts/20200908071825.118583-27-junx.w.zhou@intel.com", "date": "2020-09-08T07:18:13", "name": "[26/38] tests/TestSuite_vdev_primary_secondary.py: adapt to support both meson and makefile build", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": false, "hash": "45d1408d956f25319a56753daa711b32cf831feb", "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-27-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/76861/comments/", "check": "pending", "checks": "http://patches.dpdk.org/api/patches/76861/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 97E40A04AA;\n\tTue, 8 Sep 2020 09:30:00 +0200 (CEST)", "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 8E4741C0D8;\n\tTue, 8 Sep 2020 09:30:00 +0200 (CEST)", "from mga06.intel.com (mga06.intel.com [134.134.136.31])\n by dpdk.org (Postfix) with ESMTP id ED5C62BAB\n for <dts@dpdk.org>; Tue, 8 Sep 2020 09:29:58 +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:29:58 -0700", "from unknown (HELO localhost.localdomain) ([10.240.183.52])\n by orsmga001.jf.intel.com with ESMTP; 08 Sep 2020 00:29:57 -0700" ], "IronPort-SDR": [ "\n CdjVCv2auQ3ZR6P8BqibYaGNsp5oTBvjqQrugVMKuZoGwxhA5do6tesYF/8O2XMp1vhTTf1Is9\n fhvqcA1Cw3oA==", "\n imi4u2qsGB87ewN2cFd+6pf01Y6xUt+RuYo1FZugPcOY9+Xfsnm4NNtq3TxRviu7nL1C+pAtsC\n VaaDPA+8EjVw==" ], "X-IronPort-AV": [ "E=McAfee;i=\"6000,8403,9737\"; a=\"219646621\"", "E=Sophos;i=\"5.76,404,1592895600\"; d=\"scan'208\";a=\"219646621\"", "E=Sophos;i=\"5.76,404,1592895600\"; d=\"scan'208\";a=\"377432768\"" ], "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:13 +0000", "Message-Id": "<20200908071825.118583-27-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 26/38] tests/TestSuite_vdev_primary_secondary.py: adapt\n\tto support 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_vdev_primary_secondary.py | 8 +++++---\n 1 file changed, 5 insertions(+), 3 deletions(-)", "diff": "diff --git a/tests/TestSuite_vdev_primary_secondary.py b/tests/TestSuite_vdev_primary_secondary.py\nindex 7c557ad..0919c1f 100644\n--- a/tests/TestSuite_vdev_primary_secondary.py\n+++ b/tests/TestSuite_vdev_primary_secondary.py\n@@ -64,6 +64,8 @@ class TestVdevPrimarySecondary(TestCase):\n self.verify(len(self.coremask) >= 6, \"The machine has too few cores.\")\n self.base_dir = self.dut.base_dir.replace('~', '/root')\n self.pci_info = self.dut.ports_info[0]['pci']\n+ self.app_testpmd_path = self.dut.apps_name['test-pmd']\n+ self.app_symmetric_mp_path = self.dut.apps_name['symmetric_mp']\n \n def set_up(self):\n \"\"\"\n@@ -104,7 +106,7 @@ class TestVdevPrimarySecondary(TestCase):\n \"\"\"\n launch testpmd\n \"\"\"\n- testcmd = self.dut.target + \"/app/testpmd \"\n+ testcmd = self.app_testpmd_path + \" \"\n vdev1 = \" --vdev 'net_vhost0,iface=%s/vhost-net0,queues=%d,client=1'\" % (self.base_dir, self.queues)\n vdev2 = \" --vdev 'net_vhost1,iface=%s/vhost-net1,queues=%d,client=1'\" % (self.base_dir, self.queues)\n eal_params = self.dut.create_eal_parameters(cores=\"1S/12C/1T\", prefix='vhost', ports=[self.pci_info])\n@@ -116,8 +118,8 @@ class TestVdevPrimarySecondary(TestCase):\n \n \n def launch_examples(self):\n- example_cmd_auto = \"./examples/multi_process/symmetric_mp/build/symmetric_mp -l 0 -n %d --proc-type=auto -- -p 3 --num-procs=%d --proc-id=0\"\n- example_cmd_secondary = \"./examples/multi_process/symmetric_mp/build/symmetric_mp -l 1 -n %d --proc-type=secondary -- -p 3 --num-procs=%d --proc-id=1\"\n+ example_cmd_auto = self.app_symmetric_mp_path + \" -l 0 -n %d --proc-type=auto -- -p 3 --num-procs=%d --proc-id=0\"\n+ example_cmd_secondary = self.app_symmetric_mp_path + \" -l 1 -n %d --proc-type=secondary -- -p 3 --num-procs=%d --proc-id=1\"\n final_cmd_first = example_cmd_auto % (self.mem_channels, self.queues)\n final_cmd_secondary = example_cmd_secondary % (self.mem_channels, self.queues)\n self.vhost_first.send_expect(final_cmd_first, \"Lcore\", 120)\n", "prefixes": [ "26/38" ] }{ "id": 76861, "url": "