Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/129551/?format=api
https://patches.dpdk.org/api/patches/129551/?format=api", "web_url": "https://patches.dpdk.org/project/dts/patch/20230716090753.1590148-8-jin.ling@intel.com/", "project": { "id": 3, "url": "https://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": "<20230716090753.1590148-8-jin.ling@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dts/20230716090753.1590148-8-jin.ling@intel.com", "date": "2023-07-16T09:07:51", "name": "[V1,07/10] framework/pmd_output: optimize function start_testpmd", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "8580936581ea2627619ecfc66a9b85d52e2c9980", "submitter": { "id": 2652, "url": "https://patches.dpdk.org/api/people/2652/?format=api", "name": "Jin Ling", "email": "jin.ling@intel.com" }, "delegate": null, "mbox": "https://patches.dpdk.org/project/dts/patch/20230716090753.1590148-8-jin.ling@intel.com/mbox/", "series": [ { "id": 28944, "url": "https://patches.dpdk.org/api/series/28944/?format=api", "web_url": "https://patches.dpdk.org/project/dts/list/?series=28944", "date": "2023-07-16T09:07:44", "name": "add functions to test MEV", "version": 1, "mbox": "https://patches.dpdk.org/series/28944/mbox/" } ], "comments": "https://patches.dpdk.org/api/patches/129551/comments/", "check": "pending", "checks": "https://patches.dpdk.org/api/patches/129551/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 A873A42E8C;\n\tSun, 16 Jul 2023 11:08:18 +0200 (CEST)", "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 9B8F942D13;\n\tSun, 16 Jul 2023 11:08:18 +0200 (CEST)", "from mga18.intel.com (mga18.intel.com [134.134.136.126])\n by mails.dpdk.org (Postfix) with ESMTP id CB3914013F\n for <dts@dpdk.org>; Sun, 16 Jul 2023 11:08:17 +0200 (CEST)", "from fmsmga008.fm.intel.com ([10.253.24.58])\n by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 16 Jul 2023 02:08:17 -0700", "from dpdk-lingjin.sh.intel.com ([10.67.114.163])\n by fmsmga008.fm.intel.com with ESMTP; 16 Jul 2023 02:08:16 -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=1689498498; x=1721034498;\n h=from:to:cc:subject:date:message-id:in-reply-to:\n references:mime-version:content-transfer-encoding;\n bh=S5mk98ii5/ODtHwb+kf6Iz+8odakZr5mnr+Y0j3eWt4=;\n b=XRZKoKPH3Ontz2ZZ0RpVUkRMF0wnFWg3nPrZXQTARGFGNhujVNrT3EGo\n tEdYPAe72pIF14PQQ/eCEhoD8ZzA3x7IA+o8+7pNKX5hT98ubBpcEYqyX\n YiIWA0Rkza08Si2VvduLejWStJLTVYSfTrE/0z+wxm1KmdA9XAHt0g8uJ\n YZN3j3gXa9cqaW1/eLbneZ3nN8MMB4i2xvk9CBwCirmmGXse01Nuwz1Ga\n dJq7l8f1Dihtf5VCHoNfX5M9eiEXq5BzjyNGKwrxwhJuDphmirj9EBfzg\n nPToCagdIQjzpwrlX83BNxgPrGKn9tTGYiM6tVXgCljakJjgJxXBGEkTu Q==;", "X-IronPort-AV": [ "E=McAfee;i=\"6600,9927,10772\"; a=\"350610643\"", "E=Sophos;i=\"6.01,210,1684825200\"; d=\"scan'208\";a=\"350610643\"", "E=McAfee;i=\"6600,9927,10772\"; a=\"788303692\"", "E=Sophos;i=\"6.01,210,1684825200\"; d=\"scan'208\";a=\"788303692\"" ], "X-ExtLoop1": "1", "From": "Jin Ling <jin.ling@intel.com>", "To": "dts@dpdk.org", "Cc": "Jin Ling <jin.ling@intel.com>", "Subject": "[DTS][PATCH V1 07/10] framework/pmd_output: optimize function\n start_testpmd", "Date": "Sun, 16 Jul 2023 17:07:51 +0800", "Message-Id": "<20230716090753.1590148-8-jin.ling@intel.com>", "X-Mailer": "git-send-email 2.25.1", "In-Reply-To": "<20230716090753.1590148-1-jin.ling@intel.com>", "References": "<20230716090753.1590148-1-jin.ling@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": "add code to create cmdline for running testpmd\n\nSigned-off-by: Jin Ling <jin.ling@intel.com>\n---\n framework/pmd_output.py | 3 +++\n 1 file changed, 3 insertions(+)", "diff": "diff --git a/framework/pmd_output.py b/framework/pmd_output.py\nindex c8e8b50f..865476ea 100644\n--- a/framework/pmd_output.py\n+++ b/framework/pmd_output.py\n@@ -135,6 +135,7 @@ class PmdOutput:\n config[\"ports\"] = [\n self.dut.ports_info[i][\"pci\"] for i in range(len(self.dut.ports_info))\n ]\n+ config[\"ports\"]=list(set(config[\"ports\"]))\n all_eal_param = self.dut.create_eal_parameters(\n fixed_prefix=fixed_prefix, socket=socket, **config\n )\n@@ -145,6 +146,8 @@ class PmdOutput:\n if self.session != self.dut:\n self.session.send_expect(\"cd %s\" % self.dut.base_dir, \"# \")\n out = self.session.send_expect(command, expected, timeout)\n+ if self.dut.test_mev == \"true\":\n+ self.dut.mev_config_rx_port(out=out)\n self.command = command\n # wait 10s to ensure links getting up before test start.\n sleep(10)\n", "prefixes": [ "V1", "07/10" ] }{ "id": 129551, "url": "