Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/76873/?format=api
http://patches.dpdk.org/api/patches/76873/?format=api", "web_url": "http://patches.dpdk.org/project/dts/patch/20200908071825.118583-39-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-39-junx.w.zhou@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dts/20200908071825.118583-39-junx.w.zhou@intel.com", "date": "2020-09-08T07:18:25", "name": "[38/38] tests/TestSuite_vxlan_sample.py: adapt to support both meson and makefile build", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": false, "hash": "a4f1833bb0f2829e51acbdbc4b383d4b1fb941f1", "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-39-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/76873/comments/", "check": "pending", "checks": "http://patches.dpdk.org/api/patches/76873/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 0DA76A04AA;\n\tTue, 8 Sep 2020 09:30:17 +0200 (CEST)", "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id F29D11C134;\n\tTue, 8 Sep 2020 09:30:16 +0200 (CEST)", "from mga06.intel.com (mga06.intel.com [134.134.136.31])\n by dpdk.org (Postfix) with ESMTP id 008851C134\n for <dts@dpdk.org>; Tue, 8 Sep 2020 09:30:14 +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:30:14 -0700", "from unknown (HELO localhost.localdomain) ([10.240.183.52])\n by orsmga001.jf.intel.com with ESMTP; 08 Sep 2020 00:30:13 -0700" ], "IronPort-SDR": [ "\n cltsNUf6XoLBexWQ0TFBvyvHVl6M5QG50HCgToYg2ZW5q21m2XsL/tsXC9BCM4asyu+0YQRTXL\n dGZNADz42VYg==", "\n jV3yVJNERe8k+2PzxrpmSmsV4NsIgpk2/f+H1JL26spajvevqpsN8ij8rp1BYNoBwrMLQk8P5V\n gH86DxPVGc5A==" ], "X-IronPort-AV": [ "E=McAfee;i=\"6000,8403,9737\"; a=\"219646678\"", "E=Sophos;i=\"5.76,404,1592895600\"; d=\"scan'208\";a=\"219646678\"", "E=Sophos;i=\"5.76,404,1592895600\"; d=\"scan'208\";a=\"377432944\"" ], "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:25 +0000", "Message-Id": "<20200908071825.118583-39-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 38/38] tests/TestSuite_vxlan_sample.py: adapt to support\n\tboth 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_vxlan_sample.py | 13 ++++++++-----\n 1 file changed, 8 insertions(+), 5 deletions(-)", "diff": "diff --git a/tests/TestSuite_vxlan_sample.py b/tests/TestSuite_vxlan_sample.py\nindex 2fa845e..feaad14 100644\n--- a/tests/TestSuite_vxlan_sample.py\n+++ b/tests/TestSuite_vxlan_sample.py\n@@ -93,15 +93,18 @@ class TestVxlanSample(TestCase):\n self.pf_mac = self.dut.get_mac_address(self.pf)\n \n # build sample app\n- out = self.dut.send_expect(\"make -C examples/tep_termination\", \"# \")\n+ out = self.dut.build_dpdk_apps('examples/tep_termination')\n+ # out = self.dut.send_expect(\"make -C examples/tep_termination\", \"# \")\n self.verify(\"Error\" not in out, \"compilation error 1\")\n self.verify(\"No such file\" not in out, \"compilation error 2\")\n \n self.def_mac = \"00:00:20:00:00:20\"\n self.vm_dut = None\n- self.tep_app = \"./examples/tep_termination/build/tep_termination\"\n+ # self.tep_app = \"./examples/tep_termination/build/tep_termination\"\n+ self.app_tep_termination_path = self.dut.apps_name['tep_termination']\n self.vxlan_port = 4789\n- self.vm_testpmd = \"./x86_64-native-linuxapp-gcc/app/testpmd -c f -n 3\" \\\n+ self.app_testpmd_path = self.dut.apps_name['test-pmd']\n+ self.vm_testpmd = \"./%s -c f -n 3\" % self.app_testpmd_path \\\n + \" -- -i --tx-offloads=0x8000\"\n \n # params for tep_termination\n@@ -157,7 +160,7 @@ class TestVxlanSample(TestCase):\n elif self.running_case == \"test_vxlan_sample_tso\":\n chksum = self.FEAT_ENABLE\n \n- tep_cmd_temp = self.tep_app + \" -c %(COREMASK)s -n %(CHANNELS)d \" \\\n+ tep_cmd_temp = self.app_tep_termination_path + \" -c %(COREMASK)s -n %(CHANNELS)d \" \\\n + \"--socket-mem 2048,2048 -- -p 0x1 \" \\\n + \"--udp-port %(VXLAN_PORT)d --nb-devices %(NB_DEVS)d \" \\\n + \"--filter-type %(FILTERS)d \" \\\n@@ -521,7 +524,7 @@ class TestVxlanSample(TestCase):\n decap = self.FEAT_ENABLE\n chksum = self.FEAT_ENABLE\n \n- tep_cmd_temp = self.tep_app + \" -c %(COREMASK)s -n %(CHANNELS)d \" \\\n+ tep_cmd_temp = self.app_tep_termination_path + \" -c %(COREMASK)s -n %(CHANNELS)d \" \\\n + \"--socket-mem 2048,2048 -- -p 0x1 --udp-port \" \\\n + \"%(VXLAN_PORT)d --nb-devices %(NB_DEVS)d --filter-type \" \\\n + \"%(FILTERS)d --tx-checksum %(TX_CHKS)d --encap %(ENCAP)d \" \\\n", "prefixes": [ "38/38" ] }{ "id": 76873, "url": "