Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/3828/?format=api
https://patches.dpdk.org/api/patches/3828/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/1425396230-13379-6-git-send-email-thomas.monjalon@6wind.com/", "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": "<1425396230-13379-6-git-send-email-thomas.monjalon@6wind.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1425396230-13379-6-git-send-email-thomas.monjalon@6wind.com", "date": "2015-03-03T15:23:48", "name": "[dpdk-dev,5/7] mlx4: fix build with mempool debug enabled", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "a66d2549ccfbce6097081037986e52e1cb295ed0", "submitter": { "id": 1, "url": "https://patches.dpdk.org/api/people/1/?format=api", "name": "Thomas Monjalon", "email": "thomas.monjalon@6wind.com" }, "delegate": null, "mbox": "https://patches.dpdk.org/project/dpdk/patch/1425396230-13379-6-git-send-email-thomas.monjalon@6wind.com/mbox/", "series": [], "comments": "https://patches.dpdk.org/api/patches/3828/comments/", "check": "pending", "checks": "https://patches.dpdk.org/api/patches/3828/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 667257EEF;\n\tTue, 3 Mar 2015 16:24:39 +0100 (CET)", "from mail-wi0-f176.google.com (mail-wi0-f176.google.com\n\t[209.85.212.176]) by dpdk.org (Postfix) with ESMTP id D3E345AA0\n\tfor <dev@dpdk.org>; Tue, 3 Mar 2015 16:24:37 +0100 (CET)", "by widex7 with SMTP id ex7so23644469wid.4\n\tfor <dev@dpdk.org>; Tue, 03 Mar 2015 07:24:37 -0800 (PST)", "from localhost.localdomain (136-92-190-109.dsl.ovh.fr.\n\t[109.190.92.136]) by mx.google.com with ESMTPSA id\n\tgf11sm2889236wic.18.2015.03.03.07.24.35 for <dev@dpdk.org>\n\t(version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128);\n\tTue, 03 Mar 2015 07:24:37 -0800 (PST)" ], "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20130820;\n\th=x-gm-message-state:from:to:subject:date:message-id:in-reply-to\n\t:references;\n\tbh=tiC47I/qOMTP7ERq2S+cSGeC8iZqYGmWUiaPENCXkIY=;\n\tb=Pky3KaKn8YtrFxPuiFjC1z3SG2Tgqa/JxKax2Vdft0Z373uZKcZsfdnh8+Wfe8GoIj\n\tvGtn+nTjFGbDwoEwVVLD8jjVVcSlzu8lAza0zPb+xATrXxnQHi+fvrIu1GDtgUmEgFxZ\n\tTaXE4P1T1Hm1WuWpOaDf7ytQURXVbYIjDQjUC8nwBuWqMwTuqNCk497XFarCW0wPmHvF\n\tRA0+Q5RiBs7kLr1M0FWrZwxh8wARaP2MurnxNt7cHHYkcwoKyBqT9xPWfDmg62/gnIkl\n\tqG6xomRGCmm1yoqk6EHf29Cptp8FC7eF9uZYlJwFUcHxJ3U7/lbr+Y8XbRwpV0lAgVKX\n\tXelQ==", "X-Gm-Message-State": "ALoCoQluLVACQgI4ajBpBKQ3Sc3eTKmmCgfW3nA2ZWDOLvmnVZxAQc3p0Jhbjni5XnG3qhu/I/bS", "X-Received": "by 10.181.13.148 with SMTP id ey20mr3922666wid.18.1425396277688; \n\tTue, 03 Mar 2015 07:24:37 -0800 (PST)", "From": "Thomas Monjalon <thomas.monjalon@6wind.com>", "To": "dev@dpdk.org", "Date": "Tue, 3 Mar 2015 16:23:48 +0100", "Message-Id": "<1425396230-13379-6-git-send-email-thomas.monjalon@6wind.com>", "X-Mailer": "git-send-email 2.2.2", "In-Reply-To": "<1425396230-13379-1-git-send-email-thomas.monjalon@6wind.com>", "References": "<1425396230-13379-1-git-send-email-thomas.monjalon@6wind.com>", "Subject": "[dpdk-dev] [PATCH 5/7] mlx4: fix build with mempool debug enabled", "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": "The mempool header forces error on -Wcast-qual and makes verbs.h failing.\nLet's include verbs before as a system header.\n\nFixes: 7fae69eeff13 (\"mlx4: new poll mode driver\")\n\nSigned-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>\n---\n lib/librte_pmd_mlx4/mlx4.c | 22 ++++++++++------------\n 1 file changed, 10 insertions(+), 12 deletions(-)", "diff": "diff --git a/lib/librte_pmd_mlx4/mlx4.c b/lib/librte_pmd_mlx4/mlx4.c\nindex 492cbbf..b5774c4 100644\n--- a/lib/librte_pmd_mlx4/mlx4.c\n+++ b/lib/librte_pmd_mlx4/mlx4.c\n@@ -60,6 +60,16 @@\n #include <linux/ethtool.h>\n #include <linux/sockios.h>\n \n+/* Verbs header. */\n+/* ISO C doesn't support unnamed structs/unions, disabling -pedantic. */\n+#ifdef PEDANTIC\n+#pragma GCC diagnostic ignored \"-pedantic\"\n+#endif\n+#include <infiniband/verbs.h>\n+#ifdef PEDANTIC\n+#pragma GCC diagnostic error \"-pedantic\"\n+#endif\n+\n /* DPDK headers don't like -pedantic. */\n #ifdef PEDANTIC\n #pragma GCC diagnostic ignored \"-pedantic\"\n@@ -81,18 +91,6 @@\n #pragma GCC diagnostic error \"-pedantic\"\n #endif\n \n-/* Verbs header. */\n-/* ISO C doesn't support unnamed structs/unions, disabling -pedantic. */\n-#ifdef PEDANTIC\n-#pragma GCC diagnostic ignored \"-pedantic\"\n-#endif\n-\n-#include <infiniband/verbs.h>\n-\n-#ifdef PEDANTIC\n-#pragma GCC diagnostic error \"-pedantic\"\n-#endif\n-\n /* Generated configuration header. */\n #include \"mlx4_autoconf.h\"\n \n", "prefixes": [ "dpdk-dev", "5/7" ] }{ "id": 3828, "url": "