Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/127274/?format=api
http://patchwork.dpdk.org/api/patches/127274/?format=api", "web_url": "http://patchwork.dpdk.org/project/dts/patch/20230524033328.2146223-4-yux.jiang@intel.com/", "project": { "id": 3, "url": "http://patchwork.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": "<20230524033328.2146223-4-yux.jiang@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dts/20230524033328.2146223-4-yux.jiang@intel.com", "date": "2023-05-24T03:33:27", "name": "[V1,3/4] tests/external_mempool_handler: support eal_param -a to avoid running containers conflict", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": false, "hash": "c0b218f77d691fd1815ecd51c51cc9a8ba6954c4", "submitter": { "id": 1709, "url": "http://patchwork.dpdk.org/api/people/1709/?format=api", "name": "Yu Jiang", "email": "yux.jiang@intel.com" }, "delegate": null, "mbox": "http://patchwork.dpdk.org/project/dts/patch/20230524033328.2146223-4-yux.jiang@intel.com/mbox/", "series": [ { "id": 28144, "url": "http://patchwork.dpdk.org/api/series/28144/?format=api", "web_url": "http://patchwork.dpdk.org/project/dts/list/?series=28144", "date": "2023-05-24T03:33:24", "name": "Support eal_param -a to avoid running containers", "version": 1, "mbox": "http://patchwork.dpdk.org/series/28144/mbox/" } ], "comments": "http://patchwork.dpdk.org/api/patches/127274/comments/", "check": "pending", "checks": "http://patchwork.dpdk.org/api/patches/127274/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 mails.dpdk.org (mails.dpdk.org [217.70.189.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id ADA7742B87;\n\tWed, 24 May 2023 05:33:42 +0200 (CEST)", "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 6FD4642D35;\n\tWed, 24 May 2023 05:33:42 +0200 (CEST)", "from mga06.intel.com (mga06b.intel.com [134.134.136.31])\n by mails.dpdk.org (Postfix) with ESMTP id 6E9B140ED8\n for <dts@dpdk.org>; Wed, 24 May 2023 05:33:40 +0200 (CEST)", "from orsmga006.jf.intel.com ([10.7.209.51])\n by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 23 May 2023 20:33:37 -0700", "from unknown (HELO localhost.localdomain) ([10.239.252.196])\n by orsmga006-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 23 May 2023 20:33:36 -0700" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple;\n d=intel.com; i=@intel.com; q=dns/txt; s=Intel;\n t=1684899220; x=1716435220;\n h=from:to:cc:subject:date:message-id:in-reply-to:\n references:mime-version:content-transfer-encoding;\n bh=JW+fJs91UwcsLeSU8eH9n7dSkt0BHJ1+Mk7J5btkIS8=;\n b=eBWdC8AuSPhjsB1q9kNomhPYM6qoTFmgfEspqH79HESf21h+jPfzv9+K\n /6FhnZCenzB52rUMexFhtZBtNCB/TAx1Qu3ampuhtgUi1NfRWiUbRyWCx\n NxfvO27kFEbOKF2YdIQEYdle+nVrp/NdzvPoMqSGmxJE1T71B9CG/f9SM\n O/fLqlZpUjqZkijmFF2uT31z7knzn1keW2H13C6mJhqugrslS29osdPyk\n k7ryfuCKHenxDyXg+ycFYEQLk+wTJaIsu+R9wcyBR3CWZ2tWE8eL6Oq0f\n AYxp+dU0rHFL85Enlgy6DiPEEZnQ0FJwfKT57KbRZRmBWpfCG2zu8P74a w==;", "X-IronPort-AV": [ "E=McAfee;i=\"6600,9927,10719\"; a=\"416902750\"", "E=Sophos;i=\"6.00,188,1681196400\"; d=\"scan'208\";a=\"416902750\"", "E=McAfee;i=\"6600,9927,10719\"; a=\"681688921\"", "E=Sophos;i=\"6.00,188,1681196400\"; d=\"scan'208\";a=\"681688921\"" ], "X-ExtLoop1": "1", "From": "Yu Jiang <yux.jiang@intel.com>", "To": "lijuan.tu@intel.com,\n\tdts@dpdk.org", "Cc": "Yu Jiang <yux.jiang@intel.com>", "Subject": "[dts][PATCH V1 3/4] tests/external_mempool_handler: support eal_param\n -a to avoid running containers conflict", "Date": "Wed, 24 May 2023 11:33:27 +0800", "Message-Id": "<20230524033328.2146223-4-yux.jiang@intel.com>", "X-Mailer": "git-send-email 2.25.1", "In-Reply-To": "<20230524033328.2146223-1-yux.jiang@intel.com>", "References": "<20230524033328.2146223-1-yux.jiang@intel.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "X-BeenThere": "dts@dpdk.org", "X-Mailman-Version": "2.1.29", "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" }, "content": "Support eal_param -a to avoid running containers conflict\n\nSigned-off-by: Yu Jiang <yux.jiang@intel.com>\n---\n tests/TestSuite_external_mempool_handler.py | 15 +++++++++++----\n 1 file changed, 11 insertions(+), 4 deletions(-)", "diff": "diff --git a/tests/TestSuite_external_mempool_handler.py b/tests/TestSuite_external_mempool_handler.py\nindex 58971e31..c214aae6 100644\n--- a/tests/TestSuite_external_mempool_handler.py\n+++ b/tests/TestSuite_external_mempool_handler.py\n@@ -12,7 +12,7 @@ from framework.pmd_output import PmdOutput\n from framework.test_case import TestCase\n \n \n-class TestExternalMempool(TestCase):\n+class TestExternalMempoolHandler(TestCase):\n def set_up_all(self):\n \"\"\"\n Run at the start of each test suite.\n@@ -20,7 +20,9 @@ class TestExternalMempool(TestCase):\n self.dut_ports = self.dut.get_ports()\n \n self.verify(len(self.dut_ports) >= 2, \"Not enough ports\")\n-\n+ self.eal_param_a = \"\"\n+ for i in self.dut_ports:\n+ self.eal_param_a += \" -a {}\".format(self.dut.ports_info[i][\"pci\"])\n self.pmdout = PmdOutput(self.dut)\n \n self.app_test_path = self.dut.apps_name[\"test\"]\n@@ -33,7 +35,8 @@ class TestExternalMempool(TestCase):\n \n def verify_unit_func(self, ops=\"\"):\n self.dut.send_expect(\n- \"./%s -n 4 -c f --mbuf-pool-ops-name %s\" % (self.app_test_path, ops),\n+ \"./%s%s -n 4 -c f --mbuf-pool-ops-name %s\"\n+ % (self.app_test_path, self.eal_param_a, ops),\n \"R.*T.*E.*>.*>\",\n 60,\n )\n@@ -42,7 +45,11 @@ class TestExternalMempool(TestCase):\n self.verify(\"Test OK\" in out, \"Mempool autotest failed\")\n \n def verify_unit_perf(self):\n- self.dut.send_expect(\"./%s -n 4 -c f\" % self.app_test_path, \"R.*T.*E.*>.*>\", 60)\n+ self.dut.send_expect(\n+ \"./%s%s -n 4 -c f\" % (self.app_test_path, self.eal_param_a),\n+ \"R.*T.*E.*>.*>\",\n+ 60,\n+ )\n out = self.dut.send_expect(\"mempool_perf_autotest\", \"RTE>>\", 1200)\n self.dut.send_expect(\"quit\", \"# \")\n # may need to compare performance\n", "prefixes": [ "V1", "3/4" ] }{ "id": 127274, "url": "