Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/76852/?format=api
http://patches.dpdk.org/api/patches/76852/?format=api", "web_url": "http://patches.dpdk.org/project/dts/patch/20200908071825.118583-18-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-18-junx.w.zhou@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dts/20200908071825.118583-18-junx.w.zhou@intel.com", "date": "2020-09-08T07:18:04", "name": "[17/38] tests/TestSuite_link_status_interrupt.py: adapt to support both meson and makefile build", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": false, "hash": "574e14130ceea49181cc030dde664589d7b06007", "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-18-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/76852/comments/", "check": "pending", "checks": "http://patches.dpdk.org/api/patches/76852/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 37DF9A04AA;\n\tTue, 8 Sep 2020 09:29:49 +0200 (CEST)", "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 30B541C0C9;\n\tTue, 8 Sep 2020 09:29:49 +0200 (CEST)", "from mga06.intel.com (mga06.intel.com [134.134.136.31])\n by dpdk.org (Postfix) with ESMTP id 07D8F1C0D8\n for <dts@dpdk.org>; Tue, 8 Sep 2020 09:29:46 +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:46 -0700", "from unknown (HELO localhost.localdomain) ([10.240.183.52])\n by orsmga001.jf.intel.com with ESMTP; 08 Sep 2020 00:29:45 -0700" ], "IronPort-SDR": [ "\n N8jtVwZN4fRgLGzagUNYR0JhCK8oNMTfYqSpt4tviDvAmmgyyfMTlO5AR+KoXuH8vPbTZ67+7/\n fOSc5g77WBKg==", "\n 6Lexk1wI8z04tzfCq2BcbhHdeNbEy5bX2RKPjKVOGDWZHDQIiD/+dPe0h9Q4EcZD9JxTw3Pzd7\n ieGTG3ZxugOA==" ], "X-IronPort-AV": [ "E=McAfee;i=\"6000,8403,9737\"; a=\"219646591\"", "E=Sophos;i=\"5.76,404,1592895600\"; d=\"scan'208\";a=\"219646591\"", "E=Sophos;i=\"5.76,404,1592895600\"; d=\"scan'208\";a=\"377432711\"" ], "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:04 +0000", "Message-Id": "<20200908071825.118583-18-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 17/38] tests/TestSuite_link_status_interrupt.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_link_status_interrupt.py | 11 +++++------\n 1 file changed, 5 insertions(+), 6 deletions(-)", "diff": "diff --git a/tests/TestSuite_link_status_interrupt.py b/tests/TestSuite_link_status_interrupt.py\nindex 3208d71..68ffb04 100644\n--- a/tests/TestSuite_link_status_interrupt.py\n+++ b/tests/TestSuite_link_status_interrupt.py\n@@ -54,8 +54,7 @@ class TestLinkStatusInterrupt(TestCase):\n cores = self.dut.get_core_list(\"1S/4C/1T\")\n self.coremask = utils.create_mask(cores)\n self.portmask = utils.create_mask(self.dut_ports)\n-\n- self.path = \"./examples/link_status_interrupt/build/link_status_interrupt\"\n+ self.app_link_status_interrupt_path = self.dut.apps_name['link_status_interrupt']\n \n # build sample app\n out = self.dut.build_dpdk_apps(\"./examples/link_status_interrupt\")\n@@ -95,7 +94,7 @@ class TestLinkStatusInterrupt(TestCase):\n \"\"\"\n \n if self.drivername == \"igb_uio\":\n- cmdline = self.path + \" -c %s -n %s -- -p %s \" % (\n+ cmdline = self.app_link_status_interrupt_path + \" -c %s -n %s -- -p %s \" % (\n self.coremask, self.dut.get_memory_channels(), self.portmask)\n for mode in self.basic_intr_mode:\n self.dut.send_expect(\"rmmod -f igb_uio\", \"#\", 20)\n@@ -111,7 +110,7 @@ class TestLinkStatusInterrupt(TestCase):\n self.dut.send_expect(\"^C\", \"#\", 60)\n elif self.drivername == \"vfio-pci\":\n for mode in self.basic_intr_mode:\n- cmdline = self.path + \" -c %s -n %s --vfio-intr=%s -- -p %s\" % (\n+ cmdline = self.app_link_status_interrupt_path + \" -c %s -n %s --vfio-intr=%s -- -p %s\" % (\n self.coremask, self.dut.get_memory_channels(), mode, self.portmask)\n self.dut.send_expect(cmdline, \"statistics\", 120)\n self.set_link_status_and_verify(self.dut_ports[0], 'Down')\n@@ -124,7 +123,7 @@ class TestLinkStatusInterrupt(TestCase):\n sent packet, check packets received.\n \"\"\"\n if self.drivername == \"igb_uio\":\n- cmdline = self.path + \" -c %s -n %s -- -p %s \" % (\n+ cmdline = self.app_link_status_interrupt_path + \" -c %s -n %s -- -p %s \" % (\n self.coremask, self.dut.get_memory_channels(), self.portmask)\n for mode in self.basic_intr_mode:\n self.dut.send_expect(\"rmmod -f igb_uio\", \"#\", 20)\n@@ -148,7 +147,7 @@ class TestLinkStatusInterrupt(TestCase):\n self.dut.send_expect(\"^C\", \"#\", 60)\n elif self.drivername == \"vfio-pci\":\n for mode in self.basic_intr_mode:\n- cmdline = self.path + \" -c %s -n %s --vfio-intr=%s -- -p %s\" % (\n+ cmdline = self.app_link_status_interrupt_path + \" -c %s -n %s --vfio-intr=%s -- -p %s\" % (\n self.coremask, self.dut.get_memory_channels(), mode, self.portmask)\n self.dut.send_expect(cmdline, \"Aggregate statistics\", 60)\n for port in self.dut_ports:\n", "prefixes": [ "17/38" ] }{ "id": 76852, "url": "