Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/83814/?format=api
http://patches.dpdk.org/api/patches/83814/?format=api", "web_url": "http://patches.dpdk.org/project/dts/patch/20201106095535.5650-3-haiyangx.zhao@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": "<20201106095535.5650-3-haiyangx.zhao@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dts/20201106095535.5650-3-haiyangx.zhao@intel.com", "date": "2020-11-06T09:55:35", "name": "[V1,2/2] framework/dut: add check if the rx mode eal param is duplicate", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": false, "hash": "2065c09a41c4b8e1317d1f123d2c85decd505d21", "submitter": { "id": 1978, "url": "http://patches.dpdk.org/api/people/1978/?format=api", "name": "Zhao, HaiyangX", "email": "haiyangx.zhao@intel.com" }, "delegate": null, "mbox": "http://patches.dpdk.org/project/dts/patch/20201106095535.5650-3-haiyangx.zhao@intel.com/mbox/", "series": [ { "id": 13721, "url": "http://patches.dpdk.org/api/series/13721/?format=api", "web_url": "http://patches.dpdk.org/project/dts/list/?series=13721", "date": "2020-11-06T09:55:33", "name": "framework: fix the issue of eal param may be duplicated", "version": 1, "mbox": "http://patches.dpdk.org/series/13721/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/83814/comments/", "check": "pending", "checks": "http://patches.dpdk.org/api/patches/83814/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 1CCBEA0524;\n\tFri, 6 Nov 2020 11:01:10 +0100 (CET)", "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 0777B6004;\n\tFri, 6 Nov 2020 11:01:09 +0100 (CET)", "from mga01.intel.com (mga01.intel.com [192.55.52.88])\n by dpdk.org (Postfix) with ESMTP id 147515A51\n for <dts@dpdk.org>; Fri, 6 Nov 2020 11:01:06 +0100 (CET)", "from fmsmga008.fm.intel.com ([10.253.24.58])\n by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 06 Nov 2020 02:01:06 -0800", "from unknown (HELO localhost.localdomain) ([10.240.183.57])\n by fmsmga008-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 06 Nov 2020 02:01:04 -0800" ], "IronPort-SDR": [ "\n EG7JgYDmUoexdfymw6tEem9vdo7+dZXzj7b0IS0CymHu5tXS6bCiOZeVIbYgTaS7ptAc1q7o0s\n bh3K8RKQ7KTQ==", "\n NWd4rOxKCce78C61PhSqk5FCKx5g18hYGkXpcAGnnCGFu/HwhzzTBoWQi+sCeSxq3Q6birvYSv\n 7hmiTfBp8ECA==" ], "X-IronPort-AV": [ "E=McAfee;i=\"6000,8403,9796\"; a=\"187447503\"", "E=Sophos;i=\"5.77,456,1596524400\"; d=\"scan'208\";a=\"187447503\"", "E=Sophos;i=\"5.77,456,1596524400\"; d=\"scan'208\";a=\"306814929\"" ], "X-Amp-Result": "SKIPPED(no attachment in message)", "X-Amp-File-Uploaded": "False", "From": "Haiyang Zhao <haiyangx.zhao@intel.com>", "To": "dts@dpdk.org,\n\tLijuan.Tu@intel.com", "Cc": "Haiyang Zhao <haiyangx.zhao@intel.com>", "Date": "Fri, 6 Nov 2020 17:55:35 +0800", "Message-Id": "<20201106095535.5650-3-haiyangx.zhao@intel.com>", "X-Mailer": "git-send-email 2.17.1", "In-Reply-To": "<20201106095535.5650-1-haiyangx.zhao@intel.com>", "References": "<20201106095535.5650-1-haiyangx.zhao@intel.com>", "Subject": "[dts] [PATCH V1 2/2] framework/dut: add check if the rx mode eal\n\tparam is duplicate", "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": "*.ignore the rx mode config in execution.cfg \n if the rx mode is setted in suites.\n\nSigned-off-by: Haiyang Zhao <haiyangx.zhao@intel.com>\n---\n framework/dut.py | 17 +++++++++--------\n 1 file changed, 9 insertions(+), 8 deletions(-)", "diff": "diff --git a/framework/dut.py b/framework/dut.py\nindex 656cb59..d6862e8 100644\n--- a/framework/dut.py\n+++ b/framework/dut.py\n@@ -230,14 +230,15 @@ class Dut(Crb):\n if use_shared_lib == 'true' and shared_lib_path and 'Virt' not in str(self):\n eal_str = eal_str + ' -d {} '.format(shared_lib_path)\n rx_mode = settings.load_global_setting(settings.DPDK_RXMODE_SETTING)\n- if rx_mode == 'novector':\n- eal_str = eal_str + ' --force-max-simd-bitwidth=64 '\n- elif rx_mode == 'sse':\n- eal_str = eal_str + ' --force-max-simd-bitwidth=128 '\n- elif rx_mode == 'avx2':\n- eal_str = eal_str + ' --force-max-simd-bitwidth=256 '\n- elif rx_mode == 'avx512':\n- eal_str = eal_str + ' --force-max-simd-bitwidth=512 '\n+ if 'other_eal_param' not in config or 'force-max-simd-bitwidth' not in config['other_eal_param']:\n+ if rx_mode == 'novector':\n+ eal_str = eal_str + ' --force-max-simd-bitwidth=64 '\n+ elif rx_mode == 'sse':\n+ eal_str = eal_str + ' --force-max-simd-bitwidth=128 '\n+ elif rx_mode == 'avx2':\n+ eal_str = eal_str + ' --force-max-simd-bitwidth=256 '\n+ elif rx_mode == 'avx512':\n+ eal_str = eal_str + ' --force-max-simd-bitwidth=512 '\n \n return eal_str\n \n", "prefixes": [ "V1", "2/2" ] }{ "id": 83814, "url": "