Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/83873/?format=api
http://patches.dpdk.org/api/patches/83873/?format=api", "web_url": "http://patches.dpdk.org/project/dts/patch/20201110135646.1809176-1-yux.jiang@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": "<20201110135646.1809176-1-yux.jiang@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dts/20201110135646.1809176-1-yux.jiang@intel.com", "date": "2020-11-10T13:56:46", "name": "[V1] tests/dpdk_hugetlbfs_mount_size: Start testpmd with different pci", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": false, "hash": "d5c058cff2a92feb4234db3129207bfd27c52e17", "submitter": { "id": 1709, "url": "http://patches.dpdk.org/api/people/1709/?format=api", "name": "Yu Jiang", "email": "yux.jiang@intel.com" }, "delegate": null, "mbox": "http://patches.dpdk.org/project/dts/patch/20201110135646.1809176-1-yux.jiang@intel.com/mbox/", "series": [ { "id": 13763, "url": "http://patches.dpdk.org/api/series/13763/?format=api", "web_url": "http://patches.dpdk.org/project/dts/list/?series=13763", "date": "2020-11-10T13:56:46", "name": "[V1] tests/dpdk_hugetlbfs_mount_size: Start testpmd with different pci", "version": 1, "mbox": "http://patches.dpdk.org/series/13763/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/83873/comments/", "check": "pending", "checks": "http://patches.dpdk.org/api/patches/83873/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 355B8A052A;\n\tTue, 10 Nov 2020 06:57:10 +0100 (CET)", "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 2B72CBBBA;\n\tTue, 10 Nov 2020 06:57:08 +0100 (CET)", "from mga04.intel.com (mga04.intel.com [192.55.52.120])\n by dpdk.org (Postfix) with ESMTP id 0401EBB94\n for <dts@dpdk.org>; Tue, 10 Nov 2020 06:57:06 +0100 (CET)", "from orsmga005.jf.intel.com ([10.7.209.41])\n by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 09 Nov 2020 21:57:03 -0800", "from unknown (HELO localhost.localdomain) ([10.240.183.77])\n by orsmga005-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 09 Nov 2020 21:57:02 -0800" ], "IronPort-SDR": [ "\n lZxaI5hgu+L5vJlol3FUGIF1BPq2zV0T6nBjCXN/2vGFrtgoIgOlz22uGnJVQfQUWXtJSsJBMa\n TiD751Rtw1ZA==", "\n BxX6V0T/cjL6j4x9jHjb2nfes3972j/J2BoY2FMmA5qD2IL64Qdc27kDC17yVxK0jr4axWhg12\n TyjEIFn9Pi7g==" ], "X-IronPort-AV": [ "E=McAfee;i=\"6000,8403,9800\"; a=\"167339419\"", "E=Sophos;i=\"5.77,465,1596524400\"; d=\"scan'208\";a=\"167339419\"", "E=Sophos;i=\"5.77,465,1596524400\"; d=\"scan'208\";a=\"541194858\"" ], "X-Amp-Result": "SKIPPED(no attachment in message)", "X-Amp-File-Uploaded": "False", "From": "JiangYuX <yux.jiang@intel.com>", "To": "dts@dpdk.org", "Cc": "JiangYu <yux.jiang@intel.com>", "Date": "Tue, 10 Nov 2020 13:56:46 +0000", "Message-Id": "<20201110135646.1809176-1-yux.jiang@intel.com>", "X-Mailer": "git-send-email 2.25.1", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Subject": "[dts] [PATCH V1] tests/dpdk_hugetlbfs_mount_size: Start testpmd\n\twith different pci", "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: JiangYu <yux.jiang@intel.com>\n\n1,Start testpmd with different pci\n2,Umount huges in tear_down.\n\nSigned-off-by: JiangYu <yux.jiang@intel.com>\n---\n tests/TestSuite_dpdk_hugetlbfs_mount_size.py | 5 ++++-\n 1 file changed, 4 insertions(+), 1 deletion(-)", "diff": "diff --git a/tests/TestSuite_dpdk_hugetlbfs_mount_size.py b/tests/TestSuite_dpdk_hugetlbfs_mount_size.py\nindex 25c4ed2..48fdc8e 100644\n--- a/tests/TestSuite_dpdk_hugetlbfs_mount_size.py\n+++ b/tests/TestSuite_dpdk_hugetlbfs_mount_size.py\n@@ -207,7 +207,7 @@ class DpdkHugetlbfsMountSize(TestCase):\n self.logger.info(\"launch secondary testpmd\")\n ttd_secondary = 'numactl --membind=%d %s -l %s -n %d --legacy-mem --socket-mem %s --huge-dir' \\\n ' %s --file-prefix=%s -w %s -- -i --socket-num=%d --no-numa'\n- launch_ttd_secondary = ttd_secondary % (self.numa_id, self.app_path, self.core_list2, self.mem_channels, self.socket_mem2, MNT_PATH[1], vhost_name[1], self.pci_info_0, self.numa_id)\n+ launch_ttd_secondary = ttd_secondary % (self.numa_id, self.app_path, self.core_list2, self.mem_channels, self.socket_mem2, MNT_PATH[1], vhost_name[1], self.pci_info_1, self.numa_id)\n self.session_secondary.send_expect(launch_ttd_secondary, \"testpmd> \", 120)\n self.session_secondary.send_expect(\"set promisc all off\", \"testpmd> \", 120)\n self.session_secondary.send_expect(\"start\", \"testpmd> \", 120)\n@@ -236,6 +236,7 @@ class DpdkHugetlbfsMountSize(TestCase):\n # start send packet and verify the session can receive the packet.\n self.send_pkg(0)\n self.verify_result(self.session_first)\n+ self.send_pkg(1)\n self.verify_result(self.session_secondary)\n self.session_first.send_expect(\"quit\", \"#\", 15)\n self.session_secondary.send_expect(\"quit\", \"#\", 15)\n@@ -262,6 +263,8 @@ class DpdkHugetlbfsMountSize(TestCase):\n \"\"\"\n Run after each test case.\n \"\"\"\n+ # If case fails, the mount should be cancelled to avoid affecting next cases\n+ self.umount_huge([MNT_PATH[0], MNT_PATH[1], MNT_PATH[2]])\n self.dut.kill_all()\n time.sleep(2)\n \n", "prefixes": [ "V1" ] }{ "id": 83873, "url": "