Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/23295/?format=api
https://patches.dpdk.org/api/patches/23295/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/20170406141337.14167-1-olivier.matz@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": "<20170406141337.14167-1-olivier.matz@6wind.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20170406141337.14167-1-olivier.matz@6wind.com", "date": "2017-04-06T14:13:37", "name": "[dpdk-dev] test/eventdev: fix compilation with crypto disabled", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "f178d79fb62ded6abaf0dd0e23b6731c1311d565", "submitter": { "id": 8, "url": "https://patches.dpdk.org/api/people/8/?format=api", "name": "Olivier Matz", "email": "olivier.matz@6wind.com" }, "delegate": null, "mbox": "https://patches.dpdk.org/project/dpdk/patch/20170406141337.14167-1-olivier.matz@6wind.com/mbox/", "series": [], "comments": "https://patches.dpdk.org/api/patches/23295/comments/", "check": "success", "checks": "https://patches.dpdk.org/api/patches/23295/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 87D2737AF;\n\tThu, 6 Apr 2017 16:13:23 +0200 (CEST)", "from proxy.6wind.com (host.76.145.23.62.rev.coltfrance.com\n\t[62.23.145.76]) by dpdk.org (Postfix) with ESMTP id 1798437A0\n\tfor <dev@dpdk.org>; Thu, 6 Apr 2017 16:13:22 +0200 (CEST)", "from glumotte.dev.6wind.com (unknown [10.16.0.195])\n\tby proxy.6wind.com (Postfix) with ESMTP id BE51C201A7;\n\tThu, 6 Apr 2017 16:13:16 +0200 (CEST)" ], "From": "Olivier Matz <olivier.matz@6wind.com>", "To": "dev@dpdk.org", "Cc": "jerin.jacob@caviumnetworks.com", "Date": "Thu, 6 Apr 2017 16:13:37 +0200", "Message-Id": "<20170406141337.14167-1-olivier.matz@6wind.com>", "X-Mailer": "git-send-email 2.11.0", "Subject": "[dpdk-dev] [PATCH] test/eventdev: fix compilation with crypto\n\tdisabled", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.15", "Precedence": "list", "List-Id": "DPDK patches and discussions <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": "There is a compilation error in the following case:\n\n make config T=x86_64-native-linuxapp-gcc\n sed -i 's,CONFIG_RTE_LIBRTE_CRYPTODEV=y,CONFIG_RTE_LIBRTE_CRYPTODEV=n,' \\\n build/.config\n sed -i 's,CONFIG_RTE_APP_CRYPTO_PERF=y,CONFIG_RTE_APP_CRYPTO_PERF=n,' \\\n build/.config\n make -j4\n make -j4 test-build\n\n test_eventdev.c:39:27: fatal error:\n rte_cryptodev.h: No such file or directory\n #include <rte_cryptodev.h>\n ^\n\nRemoving the include induces a new error, (missing declaration of\nrte_eal_vdev_init()), which is fixed by including rte_dev.h.\n\nFixes: f8f9d233ea0e (\"test/eventdev: add unit tests\")\n\nSigned-off-by: Olivier Matz <olivier.matz@6wind.com>\n---\n test/test/test_eventdev.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)", "diff": "diff --git a/test/test/test_eventdev.c b/test/test/test_eventdev.c\nindex b568470a2..5bd46346d 100644\n--- a/test/test/test_eventdev.c\n+++ b/test/test/test_eventdev.c\n@@ -36,7 +36,7 @@\n #include <rte_malloc.h>\n #include <rte_memcpy.h>\n #include <rte_eventdev.h>\n-#include <rte_cryptodev.h>\n+#include <rte_dev.h>\n \n #include \"test.h\"\n \n", "prefixes": [ "dpdk-dev" ] }{ "id": 23295, "url": "