Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/8368/?format=api
http://patches.dpdk.org/api/patches/8368/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/1446205886-23823-7-git-send-email-david.hunt@intel.com/", "project": { "id": 1, "url": "http://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": "<1446205886-23823-7-git-send-email-david.hunt@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1446205886-23823-7-git-send-email-david.hunt@intel.com", "date": "2015-10-30T11:51:26", "name": "[dpdk-dev,v2,6/6] test: add checks for cpu flags on armv8", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "ab13c038ac6cafd0b1bd1e0a3298f1f1ea5503a2", "submitter": { "id": 342, "url": "http://patches.dpdk.org/api/people/342/?format=api", "name": "Hunt, David", "email": "david.hunt@intel.com" }, "delegate": null, "mbox": "http://patches.dpdk.org/project/dpdk/patch/1446205886-23823-7-git-send-email-david.hunt@intel.com/mbox/", "series": [], "comments": "http://patches.dpdk.org/api/patches/8368/comments/", "check": "pending", "checks": "http://patches.dpdk.org/api/patches/8368/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<dev-bounces@dpdk.org>", "X-Original-To": "patchwork@dpdk.org", "Delivered-To": "patchwork@dpdk.org", "Received": [ "from [92.243.14.124] (localhost [IPv6:::1])\n\tby dpdk.org (Postfix) with ESMTP id AF5588E93;\n\tFri, 30 Oct 2015 12:51:57 +0100 (CET)", "from mga11.intel.com (mga11.intel.com [192.55.52.93])\n\tby dpdk.org (Postfix) with ESMTP id 906988E75\n\tfor <dev@dpdk.org>; Fri, 30 Oct 2015 12:51:50 +0100 (CET)", "from orsmga003.jf.intel.com ([10.7.209.27])\n\tby fmsmga102.fm.intel.com with ESMTP; 30 Oct 2015 04:51:50 -0700", "from irvmail001.ir.intel.com ([163.33.26.43])\n\tby orsmga003.jf.intel.com with ESMTP; 30 Oct 2015 04:51:49 -0700", "from sivswdev02.ir.intel.com (sivswdev02.ir.intel.com\n\t[10.237.217.46])\n\tby irvmail001.ir.intel.com (8.14.3/8.13.6/MailSET/Hub) with ESMTP id\n\tt9UBpmtV024792; Fri, 30 Oct 2015 11:51:48 GMT", "from sivswdev02.ir.intel.com (localhost [127.0.0.1])\n\tby sivswdev02.ir.intel.com with ESMTP id t9UBpm2W023920;\n\tFri, 30 Oct 2015 11:51:48 GMT", "(from dhunt5@localhost)\n\tby sivswdev02.ir.intel.com with id t9UBpmsn023916;\n\tFri, 30 Oct 2015 11:51:48 GMT" ], "X-ExtLoop1": "1", "X-IronPort-AV": "E=Sophos;i=\"5.20,218,1444719600\"; d=\"scan'208\";a=\"675000191\"", "From": "David Hunt <david.hunt@intel.com>", "To": "dev@dpdk.org", "Date": "Fri, 30 Oct 2015 11:51:26 +0000", "Message-Id": "<1446205886-23823-7-git-send-email-david.hunt@intel.com>", "X-Mailer": "git-send-email 1.7.4.1", "In-Reply-To": "<1446205886-23823-1-git-send-email-david.hunt@intel.com>", "References": "<1446205886-23823-1-git-send-email-david.hunt@intel.com>", "Subject": "[dpdk-dev] [PATCH v2 6/6] test: add checks for cpu flags on armv8", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.15", "Precedence": "list", "List-Id": "patches and discussions about DPDK <dev.dpdk.org>", "List-Unsubscribe": "<http://dpdk.org/ml/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>", "List-Archive": "<http://dpdk.org/ml/archives/dev/>", "List-Post": "<mailto:dev@dpdk.org>", "List-Help": "<mailto:dev-request@dpdk.org?subject=help>", "List-Subscribe": "<http://dpdk.org/ml/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org", "Sender": "\"dev\" <dev-bounces@dpdk.org>" }, "content": "Signed-off-by: David Hunt <david.hunt@intel.com>\n---\n app/test/test_cpuflags.c | 13 +++++++++++--\n 1 file changed, 11 insertions(+), 2 deletions(-)", "diff": "diff --git a/app/test/test_cpuflags.c b/app/test/test_cpuflags.c\nindex 557458f..1689048 100644\n--- a/app/test/test_cpuflags.c\n+++ b/app/test/test_cpuflags.c\n@@ -1,4 +1,4 @@\n-/*-\n+/*\n * BSD LICENSE\n *\n * Copyright(c) 2010-2014 Intel Corporation. All rights reserved.\n@@ -115,9 +115,18 @@ test_cpuflags(void)\n \tCHECK_FOR_FLAG(RTE_CPUFLAG_ICACHE_SNOOP);\n #endif\n \n-#if defined(RTE_ARCH_ARM)\n+#if defined(RTE_ARCH_ARM) || defined(RTE_ARCH_ARM64)\n+\tprintf(\"Checking for Floating Point:\\t\\t\");\n+\tCHECK_FOR_FLAG(RTE_CPUFLAG_FPA);\n+\n \tprintf(\"Check for NEON:\\t\\t\");\n \tCHECK_FOR_FLAG(RTE_CPUFLAG_NEON);\n+\n+\tprintf(\"Checking for ARM32 mode:\\t\\t\");\n+\tCHECK_FOR_FLAG(RTE_CPUFLAG_AARCH32);\n+\n+\tprintf(\"Checking for ARM64 mode:\\t\\t\");\n+\tCHECK_FOR_FLAG(RTE_CPUFLAG_AARCH64);\n #endif\n \n #if defined(RTE_ARCH_X86_64) || defined(RTE_ARCH_I686)\n", "prefixes": [ "dpdk-dev", "v2", "6/6" ] }{ "id": 8368, "url": "