Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/27437/?format=api
http://patches.dpdk.org/api/patches/27437/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/20170804104723.4742-1-thomas@monjalon.net/", "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": "<20170804104723.4742-1-thomas@monjalon.net>", "list_archive_url": "https://inbox.dpdk.org/dev/20170804104723.4742-1-thomas@monjalon.net", "date": "2017-08-04T10:47:23", "name": "[dpdk-dev,v2] eventdev: fix missing includes", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "41f43f2aa6b08b338ae53adbae0b3f4a598c4cf3", "submitter": { "id": 685, "url": "http://patches.dpdk.org/api/people/685/?format=api", "name": "Thomas Monjalon", "email": "thomas@monjalon.net" }, "delegate": null, "mbox": "http://patches.dpdk.org/project/dpdk/patch/20170804104723.4742-1-thomas@monjalon.net/mbox/", "series": [], "comments": "http://patches.dpdk.org/api/patches/27437/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/27437/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 7A5192C18;\n\tFri, 4 Aug 2017 12:47:30 +0200 (CEST)", "from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com\n\t[66.111.4.25]) by dpdk.org (Postfix) with ESMTP id 1AF7C2BC8\n\tfor <dev@dpdk.org>; Fri, 4 Aug 2017 12:47:29 +0200 (CEST)", "from compute1.internal (compute1.nyi.internal [10.202.2.41])\n\tby mailout.nyi.internal (Postfix) with ESMTP id C52A3209F7;\n\tFri, 4 Aug 2017 06:47:28 -0400 (EDT)", "from frontend2 ([10.202.2.161])\n\tby compute1.internal (MEProxy); Fri, 04 Aug 2017 06:47:28 -0400", "from xps.monjalon.net (159.16.90.92.rev.sfr.net [92.90.16.159])\n\tby mail.messagingengine.com (Postfix) with ESMTPA id BD08224038;\n\tFri, 4 Aug 2017 06:47:27 -0400 (EDT)" ], "DKIM-Signature": [ "v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h=\n\tcc:content-transfer-encoding:content-type:date:from:in-reply-to\n\t:message-id:mime-version:references:subject:to:x-me-sender\n\t:x-me-sender:x-sasl-enc:x-sasl-enc; s=mesmtp; bh=TVGRPM5TqaQqEal\n\t2vcK7pnS4DNjlfNYuberYhf1p/kw=; b=fbgQH14xCv+JJO6AN04Glo/yTRwXayY\n\tGbrHD265e8xJCm4VRCcvNF63mOxtUZAcTc5othY1Im4znoLU1/Jq3qpNP4x4EgGd\n\tKMwPTRcpLTmgFQx+PXrF4kRJBX1uLTO949riJ3Kz6or5ftfTa40HFE16AN2IuWOi\n\tSGOcVmLf3d0s=", "v=1; a=rsa-sha256; c=relaxed/relaxed; d=\n\tmessagingengine.com; h=cc:content-transfer-encoding:content-type\n\t:date:from:in-reply-to:message-id:mime-version:references\n\t:subject:to:x-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s=\n\tfm1; bh=TVGRPM5TqaQqEal2vcK7pnS4DNjlfNYuberYhf1p/kw=; b=Bb2Am48z\n\tm2dRYLqpTPpMJ0RnjKPeMrTtYpNlWCGVvgr7oUf3Nc7Ej8W2R62uI80SEVj4vVng\n\tidPqv6WE+Rk67nVKGdv2cHdzncR93PyRjnCOhKuCR+iph3t4iEDIWxdot6fPRAkV\n\thWspNHHKL3XO1uU/pEPKRpY184W+QhUWsKqUZXKOualSULfvwPB9PqAdcAad6fsc\n\tAdU3dLw08gsvBkpoK6Yk0eRpRj9u7fct9NLYV8phPMpLbL1wcTI+D5LyniOQ6Y63\n\t+E17eALrX51HlfgUQACMsAZMKuiyc37lsn6pAoWYW2eLltJHKNy/LmQ6u1Y1ys+S\n\tEmhLKbTdymXCxg==" ], "X-ME-Sender": "<xms:wFCEWcjs4JAd0xptmhPVP5MK325i5M8KiOI2AoBZTFUqohtEr4QcWA>", "X-Sasl-enc": "qoCatw4J3Bk0BbCcf+h23yHbI/S/d816M7yfML9Oht+B 1501843648", "From": "Thomas Monjalon <thomas@monjalon.net>", "To": "jerin.jacob@caviumnetworks.com", "Cc": "dev@dpdk.org", "Date": "Fri, 4 Aug 2017 12:47:23 +0200", "Message-Id": "<20170804104723.4742-1-thomas@monjalon.net>", "X-Mailer": "git-send-email 2.13.2", "In-Reply-To": "<20170804102035.4051-1-thomas@monjalon.net>", "References": "<20170804102035.4051-1-thomas@monjalon.net>", "MIME-Version": "1.0", "Content-Type": "text/plain; charset=UTF-8", "Content-Transfer-Encoding": "8bit", "Subject": "[dpdk-dev] [PATCH v2] eventdev: fix missing includes", "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": "The PCI helper file depends on some EAL definitions.\nSpotted with devtools/check-includes.sh:\n\terror: implicit declaration of function ‘rte_eal_process_type’\n\terror: ‘RTE_PROC_PRIMARY’ undeclared\n\terror: implicit declaration of function ‘rte_socket_id’\n\nThere was also this error because the inline keyword was missing:\n\terror: ‘rte_event_pmd_pci_probe’ defined but not used\n\nFixes: 9a8269d56942 (\"eventdev: make PCI probe and remove functions optional\")\n\nSigned-off-by: Thomas Monjalon <thomas@monjalon.net>\n---\nv2: remove bad change in Makefile (thanks Jerin)\n---\n lib/librte_eventdev/rte_eventdev_pmd_pci.h | 4 +++-\n 1 file changed, 3 insertions(+), 1 deletion(-)", "diff": "diff --git a/lib/librte_eventdev/rte_eventdev_pmd_pci.h b/lib/librte_eventdev/rte_eventdev_pmd_pci.h\nindex 1dbba373c..b6bd7319e 100644\n--- a/lib/librte_eventdev/rte_eventdev_pmd_pci.h\n+++ b/lib/librte_eventdev/rte_eventdev_pmd_pci.h\n@@ -47,6 +47,8 @@ extern \"C\" {\n \n #include <string.h>\n \n+#include <rte_eal.h>\n+#include <rte_lcore.h>\n #include <rte_pci.h>\n \n #include \"rte_eventdev_pmd.h\"\n@@ -58,7 +60,7 @@ typedef int (*eventdev_pmd_pci_callback_t)(struct rte_eventdev *dev);\n * Wrapper for use by pci drivers as a .probe function to attach to a event\n * interface.\n */\n-static int\n+static inline int\n rte_event_pmd_pci_probe(struct rte_pci_driver *pci_drv,\n \t\t\t struct rte_pci_device *pci_dev,\n \t\t\t size_t private_data_size,\n", "prefixes": [ "dpdk-dev", "v2" ] }{ "id": 27437, "url": "