Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/55529/?format=api
http://patches.dpdk.org/api/patches/55529/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/eea2174a76daa3a1eef1bdc83c3372ec1287e603.1561693029.git.xuanziyang2@huawei.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": "<eea2174a76daa3a1eef1bdc83c3372ec1287e603.1561693029.git.xuanziyang2@huawei.com>", "list_archive_url": "https://inbox.dpdk.org/dev/eea2174a76daa3a1eef1bdc83c3372ec1287e603.1561693029.git.xuanziyang2@huawei.com", "date": "2019-06-28T03:46:08", "name": "[1/1] net/hinic: solve compilation issues", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "7cc38cc91bf644abef9fe8270aec98c64d056e6d", "submitter": { "id": 1321, "url": "http://patches.dpdk.org/api/people/1321/?format=api", "name": "Ziyang Xuan", "email": "xuanziyang2@huawei.com" }, "delegate": { "id": 319, "url": "http://patches.dpdk.org/api/users/319/?format=api", "username": "fyigit", "first_name": "Ferruh", "last_name": "Yigit", "email": "ferruh.yigit@amd.com" }, "mbox": "http://patches.dpdk.org/project/dpdk/patch/eea2174a76daa3a1eef1bdc83c3372ec1287e603.1561693029.git.xuanziyang2@huawei.com/mbox/", "series": [ { "id": 5214, "url": "http://patches.dpdk.org/api/series/5214/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=5214", "date": "2019-06-28T03:46:08", "name": "[1/1] net/hinic: solve compilation issues", "version": 1, "mbox": "http://patches.dpdk.org/series/5214/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/55529/comments/", "check": "fail", "checks": "http://patches.dpdk.org/api/patches/55529/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 [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 8877E4C6C;\n\tFri, 28 Jun 2019 05:34:24 +0200 (CEST)", "from huawei.com (szxga04-in.huawei.com [45.249.212.190])\n\tby dpdk.org (Postfix) with ESMTP id 48155378E\n\tfor <dev@dpdk.org>; Fri, 28 Jun 2019 05:34:23 +0200 (CEST)", "from DGGEMS406-HUB.china.huawei.com (unknown [172.30.72.58])\n\tby Forcepoint Email with ESMTP id 6F3CAFA963B3D1376878\n\tfor <dev@dpdk.org>; Fri, 28 Jun 2019 11:34:21 +0800 (CST)", "from tester_149.localdomain (10.175.119.39) by\n\tDGGEMS406-HUB.china.huawei.com (10.3.19.206) with Microsoft SMTP\n\tServer id 14.3.439.0; Fri, 28 Jun 2019 11:34:11 +0800" ], "From": "Ziyang Xuan <xuanziyang2@huawei.com>", "To": "<dev@dpdk.org>", "CC": "<ferruh.yigit@intel.com>, <cloud.wangxiaoyun@huawei.com>,\n\t<shahar.belkar@huawei.com>, <luoxianjun@huawei.com>,\n\t<tanya.brokhman@huawei.com>, Ziyang Xuan <xuanziyang2@huawei.com>", "Date": "Fri, 28 Jun 2019 11:46:08 +0800", "Message-ID": "<eea2174a76daa3a1eef1bdc83c3372ec1287e603.1561693029.git.xuanziyang2@huawei.com>", "X-Mailer": "git-send-email 2.18.0", "MIME-Version": "1.0", "Content-Type": "text/plain", "X-Originating-IP": "[10.175.119.39]", "X-CFilter-Loop": "Reflected", "Subject": "[dpdk-dev] [PATCH 1/1] net/hinic: solve compilation issues", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.15", "Precedence": "list", "List-Id": "DPDK patches and discussions <dev.dpdk.org>", "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n\t<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\t<mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org", "Sender": "\"dev\" <dev-bounces@dpdk.org>" }, "content": "This patch fixes ci/Intel-compilation issues for hinic PMD\non 32-bits platform.\n\nSigned-off-by: Ziyang Xuan <xuanziyang2@huawei.com>\n---\n drivers/net/hinic/Makefile | 18 ++++++++++++++++++\n drivers/net/hinic/base/meson.build | 12 ++++++++++++\n 2 files changed, 30 insertions(+)", "diff": "diff --git a/drivers/net/hinic/Makefile b/drivers/net/hinic/Makefile\nindex df7871b05..123a6263d 100644\n--- a/drivers/net/hinic/Makefile\n+++ b/drivers/net/hinic/Makefile\n@@ -25,6 +25,24 @@ EXPORT_MAP := rte_pmd_hinic_version.map\n \n LIBABIVER := 1\n \n+#\n+# CFLAGS for 32-bits platforms\n+#\n+ifneq ($(CONFIG_RTE_ARCH_64),y)\n+ifeq ($(CONFIG_RTE_TOOLCHAIN_ICC),y)\n+#\n+# CFLAGS for icc\n+#\n+CFLAGS += -diag-disable 2259\n+else\n+#\n+# CFLAGS for gcc\n+#\n+CFLAGS += -Wno-int-to-pointer-cast\n+CFLAGS += -Wno-pointer-to-int-cast\n+endif\n+endif\n+\n VPATH += $(SRCDIR)/base\n \n #\ndiff --git a/drivers/net/hinic/base/meson.build b/drivers/net/hinic/base/meson.build\nindex 21a246cd1..cde394a20 100644\n--- a/drivers/net/hinic/base/meson.build\n+++ b/drivers/net/hinic/base/meson.build\n@@ -14,6 +14,18 @@ sources = [\n \t'hinic_pmd_wq.c',\n ]\n \n+extra_flags = []\n+# The driver runs only on arch64 machine, remove 32bit warnings\n+if not dpdk_conf.get('RTE_ARCH_64')\n+ extra_flags += ['-Wno-int-to-pointer-cast', '-Wno-pointer-to-int-cast']\n+endif\n+\n+foreach flag: extra_flags\n+ if cc.has_argument(flag)\n+ cflags += flag\n+ endif\n+endforeach\n+\n deps += ['hash']\n \n c_args = cflags\n", "prefixes": [ "1/1" ] }{ "id": 55529, "url": "