Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/86692/?format=api
https://patches.dpdk.org/api/patches/86692/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/1610717170-31279-5-git-send-email-juraj.linkes@pantheon.tech/", "project": { "id": 1, "url": "https://patches.dpdk.org/api/projects/1/?format=api", "name": "DPDK", "link_name": "dpdk", "list_id": "dev.dpdk.org", "list_email": "dev@dpdk.org", "web_url": "http://core.dpdk.org", "scm_url": "git://dpdk.org/dpdk", "webscm_url": "http://git.dpdk.org/dpdk", "list_archive_url": "https://inbox.dpdk.org/dev", "list_archive_url_format": "https://inbox.dpdk.org/dev/{}", "commit_url_format": "" }, "msgid": "<1610717170-31279-5-git-send-email-juraj.linkes@pantheon.tech>", "list_archive_url": "https://inbox.dpdk.org/dev/1610717170-31279-5-git-send-email-juraj.linkes@pantheon.tech", "date": "2021-01-15T13:26:02", "name": "[v15,04/12] build: simplify how Arm flags are processed", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "f1c5bed38149ef689e695b85bcc944e845111ab9", "submitter": { "id": 1626, "url": "https://patches.dpdk.org/api/people/1626/?format=api", "name": "Juraj Linkeš", "email": "juraj.linkes@pantheon.tech" }, "delegate": { "id": 1, "url": "https://patches.dpdk.org/api/users/1/?format=api", "username": "tmonjalo", "first_name": "Thomas", "last_name": "Monjalon", "email": "thomas@monjalon.net" }, "mbox": "https://patches.dpdk.org/project/dpdk/patch/1610717170-31279-5-git-send-email-juraj.linkes@pantheon.tech/mbox/", "series": [ { "id": 14781, "url": "https://patches.dpdk.org/api/series/14781/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=14781", "date": "2021-01-15T13:25:58", "name": "Arm build options rework", "version": 15, "mbox": "https://patches.dpdk.org/series/14781/mbox/" } ], "comments": "https://patches.dpdk.org/api/patches/86692/comments/", "check": "success", "checks": "https://patches.dpdk.org/api/patches/86692/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<dev-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 7B29CA0A02;\n\tFri, 15 Jan 2021 14:26:58 +0100 (CET)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id CB27614107F;\n\tFri, 15 Jan 2021 14:26:24 +0100 (CET)", "from lb.pantheon.sk (lb.pantheon.sk [46.229.239.20])\n by mails.dpdk.org (Postfix) with ESMTP id E56AA14106A\n for <dev@dpdk.org>; Fri, 15 Jan 2021 14:26:20 +0100 (CET)", "from localhost (localhost [127.0.0.1])\n by lb.pantheon.sk (Postfix) with ESMTP id 0BFFABFD93;\n Fri, 15 Jan 2021 14:26:18 +0100 (CET)", "from lb.pantheon.sk ([127.0.0.1])\n by localhost (lb.pantheon.sk [127.0.0.1]) (amavisd-new, port 10024)\n with ESMTP id cn8mXlgd5A4T; Fri, 15 Jan 2021 14:26:18 +0100 (CET)", "from service-node1.lab.pantheon.local (unknown [46.229.239.141])\n by lb.pantheon.sk (Postfix) with ESMTP id E6005BFD90;\n Fri, 15 Jan 2021 14:26:14 +0100 (CET)" ], "X-Virus-Scanned": "amavisd-new at siecit.sk", "From": "=?utf-8?q?Juraj_Linke=C5=A1?= <juraj.linkes@pantheon.tech>", "To": "bruce.richardson@intel.com, Ruifeng.Wang@arm.com,\n Honnappa.Nagarahalli@arm.com, Phil.Yang@arm.com, vcchunga@amazon.com,\n Dharmik.Thakkar@arm.com, jerinjacobk@gmail.com, hemant.agrawal@nxp.com,\n ajit.khaparde@broadcom.com, ferruh.yigit@intel.com, aboyer@pensando.io", "Cc": "dev@dpdk.org, =?utf-8?q?Juraj_Linke=C5=A1?= <juraj.linkes@pantheon.tech>", "Date": "Fri, 15 Jan 2021 14:26:02 +0100", "Message-Id": "<1610717170-31279-5-git-send-email-juraj.linkes@pantheon.tech>", "X-Mailer": "git-send-email 2.7.4", "In-Reply-To": "<1610717170-31279-1-git-send-email-juraj.linkes@pantheon.tech>", "References": "<1608724059-8562-1-git-send-email-juraj.linkes@pantheon.tech>\n <1610717170-31279-1-git-send-email-juraj.linkes@pantheon.tech>", "MIME-Version": "1.0", "Content-Type": "text/plain; charset=UTF-8", "Content-Transfer-Encoding": "8bit", "Subject": "[dpdk-dev] [PATCH v15 04/12] build: simplify how Arm flags are\n processed", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.29", "Precedence": "list", "List-Id": "DPDK patches and discussions <dev.dpdk.org>", "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n <mailto:dev-request@dpdk.org?subject=unsubscribe>", "List-Archive": "<http://mails.dpdk.org/archives/dev/>", "List-Post": "<mailto:dev@dpdk.org>", "List-Help": "<mailto:dev-request@dpdk.org?subject=help>", "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n <mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org", "Sender": "\"dev\" <dev-bounces@dpdk.org>" }, "content": "Set flags in one loop. Append flags to a list and use the list in the\nloop.\n\nSigned-off-by: Juraj Linkeš <juraj.linkes@pantheon.tech>\nReviewed-by: Honnappa Nagarahalli <honnappa.nagarahalli@arm.com>\n---\n config/arm/meson.build | 37 +++++++++++++++++--------------------\n 1 file changed, 17 insertions(+), 20 deletions(-)", "diff": "diff --git a/config/arm/meson.build b/config/arm/meson.build\nindex 28d81b070..7a74938bd 100644\n--- a/config/arm/meson.build\n+++ b/config/arm/meson.build\n@@ -158,7 +158,6 @@ if dpdk_conf.get('RTE_ARCH_32')\n else\n \t# aarch64 build\n \timplementer_id = 'generic'\n-\tmachine_args = [] # Clear previous machine args\n \tif machine == 'default' and not meson.is_cross_build()\n \t\t# default build\n \t\timplementer_config = implementer_generic\n@@ -191,34 +190,32 @@ else\n \t\timplementer_config = get_variable('implementer_' + implementer_id)\n \tendif\n \n-\t# Apply Common Defaults. These settings may be overwritten by machine\n-\t# settings later.\n-\tforeach flag: flags_common\n-\t\tif flag.length() > 0\n-\t\t\tdpdk_conf.set(flag[0], flag[1])\n-\t\tendif\n-\tendforeach\n+\tmessage('Arm implementer: ' + implementer_config[0])\n+\tmessage('Arm part number: ' + part_number)\n \n-\tmessage('Implementer : ' + implementer_config[0])\n-\tforeach flag: implementer_config[1]\n-\t\tif flag.length() > 0\n-\t\t\tdpdk_conf.set(flag[0], flag[1])\n-\t\tendif\n-\tendforeach\n+\t# use default flags with implementer flags\n+\tdpdk_flags = flags_common + implementer_config[1]\n \n+\tmachine_args = [] # Clear previous machine args\n \tforeach marg: implementer_config[2]\n \t\tif marg[0] == part_number\n+\t\t\t# apply supported machine args\n \t\t\tforeach flag: marg[1]\n \t\t\t\tif cc.has_argument(flag)\n \t\t\t\t\tmachine_args += flag\n \t\t\t\tendif\n \t\t\tendforeach\n-\t\t\t# Apply any extra machine specific flags.\n-\t\t\tforeach flag: marg.get(2, [])\n-\t\t\t\tif flag.length() > 0\n-\t\t\t\t\tdpdk_conf.set(flag[0], flag[1])\n-\t\t\t\tendif\n-\t\t\tendforeach\n+\t\t\tif marg.length() > 2\n+\t\t\t\t# add extra flags for the part\n+\t\t\t\tdpdk_flags += marg[2]\n+\t\t\tendif\n+\t\tendif\n+\tendforeach\n+\n+\t# apply flags\n+\tforeach flag: dpdk_flags\n+\t\tif flag.length() > 0\n+\t\t\tdpdk_conf.set(flag[0], flag[1])\n \t\tendif\n \tendforeach\n endif\n", "prefixes": [ "v15", "04/12" ] }{ "id": 86692, "url": "