Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/76846/?format=api
http://patches.dpdk.org/api/patches/76846/?format=api", "web_url": "http://patches.dpdk.org/project/dts/patch/20200908071825.118583-12-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-12-junx.w.zhou@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dts/20200908071825.118583-12-junx.w.zhou@intel.com", "date": "2020-09-08T07:17:58", "name": "[11/38] tests/TestSuite_ipfrag.py: adapt to support both meson and makefile build", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": false, "hash": "09ab6cb93115d08b14bb09cb2b65b74b52e32ebf", "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-12-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/76846/comments/", "check": "pending", "checks": "http://patches.dpdk.org/api/patches/76846/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 29E58A04AA;\n\tTue, 8 Sep 2020 09:29:39 +0200 (CEST)", "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 228BD1C0BE;\n\tTue, 8 Sep 2020 09:29:39 +0200 (CEST)", "from mga06.intel.com (mga06.intel.com [134.134.136.31])\n by dpdk.org (Postfix) with ESMTP id D0F772BAB\n for <dts@dpdk.org>; Tue, 8 Sep 2020 09:29:37 +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:37 -0700", "from unknown (HELO localhost.localdomain) ([10.240.183.52])\n by orsmga001.jf.intel.com with ESMTP; 08 Sep 2020 00:29:35 -0700" ], "IronPort-SDR": [ "\n 7jGao2N/dKJE9+1P2Z1fuBBe6agfkmuR9ZKi5I3bNmpd4dLG2JzcKUx5SeVirl1yX3xXIKYvVy\n Ps/n/ycsr8mg==", "\n VHRm+flq02c/70yQyXuTaauZfVlBurGNHsgNqF425R1UPL8/ksoFCHuJZXP0ErXOeAnVIbDv64\n YAP5JdQ/Gj3g==" ], "X-IronPort-AV": [ "E=McAfee;i=\"6000,8403,9737\"; a=\"219646570\"", "E=Sophos;i=\"5.76,404,1592895600\"; d=\"scan'208\";a=\"219646570\"", "E=Sophos;i=\"5.76,404,1592895600\"; d=\"scan'208\";a=\"377432662\"" ], "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:17:58 +0000", "Message-Id": "<20200908071825.118583-12-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 11/38] tests/TestSuite_ipfrag.py: adapt to support both\n\tmeson 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_ipfrag.py | 15 +++++++++------\n 1 file changed, 9 insertions(+), 6 deletions(-)", "diff": "diff --git a/tests/TestSuite_ipfrag.py b/tests/TestSuite_ipfrag.py\nindex 8ad2e82..4efc7a2 100644\n--- a/tests/TestSuite_ipfrag.py\n+++ b/tests/TestSuite_ipfrag.py\n@@ -103,8 +103,8 @@ class TestIpfrag(TestCase):\n pat = re.compile(\"P([0123])\")\n \n # Prepare long prefix match table, replace P(x) port pattern\n- lpmStr_ipv4 = \"static struct l3fwd_ipv4_route \\\n-l3fwd_ipv4_route_array[] = {\\\\\\n\"\n+ lpmStr_ipv4 = \"static struct l3fwd_ipv4_route \" \\\n+ \"l3fwd_ipv4_route_array[] = {\\\\\\n\"\n rtLpmTbl = list(lpm_table_ipv4)\n for idx in range(len(rtLpmTbl)):\n rtLpmTbl[idx] = pat.sub(self.portRepl, rtLpmTbl[idx])\n@@ -134,8 +134,10 @@ l3fwd_ipv4_route_array[] = {\\\\\\n\"\n eal_param += \" -w %s\" % self.dut.ports_info[i]['pci']\n \n # run ipv4_frag\n- self.dut.send_expect(\"examples/ip_fragmentation/build/ip_fragmentation -c %s -n %d %s -- -p %s -q %s\" % (\n- coremask, self.dut.get_memory_channels(), eal_param, portmask, int(numPortThread)), \"Link Up\", 120)\n+ self.app_ip_fragmentation_path = self.dut.apps_name['ip_fragmentation']\n+ self.dut.send_expect(\"%s -c %s -n %d %s -- -p %s -q %s\" % (self.app_ip_fragmentation_path, coremask,\n+ self.dut.get_memory_channels(), eal_param, portmask,\n+ int(numPortThread)), \"Link Up\", 120)\n \n time.sleep(2)\n self.txItf = self.tester.get_interface(self.tester.get_local_port(P0))\n@@ -310,8 +312,9 @@ l3fwd_ipv4_route_array[] = {\\\\\\n\"\n eal_param += \" -w %s\" % self.dut.ports_info[i]['pci']\n \n self.dut.send_expect(\"^c\", \"# \", 120)\n- self.dut.send_expect(\"examples/ip_fragmentation/build/ip_fragmentation -c %s -n %d %s -- -p %s -q %s\" % (\n- core_mask, self.dut.get_memory_channels(), eal_param, portmask, num_pthreads), \"IP_FRAG:\", 120)\n+ self.dut.send_expect(\"%s -c %s -n %d %s -- -p %s -q %s\" % (self.app_ip_fragmentation_path, core_mask,\n+ self.dut.get_memory_channels(), eal_param, portmask,\n+ num_pthreads), \"IP_FRAG:\", 120)\n \n result = [2, lcore, num_pthreads]\n for size in size_list:\n", "prefixes": [ "11/38" ] }{ "id": 76846, "url": "