Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/20082/?format=api
https://patches.dpdk.org/api/patches/20082/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/1485855778-15496-2-git-send-email-pascal.mazon@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": "<1485855778-15496-2-git-send-email-pascal.mazon@6wind.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1485855778-15496-2-git-send-email-pascal.mazon@6wind.com", "date": "2017-01-31T09:42:54", "name": "[dpdk-dev,2/6] net/tap: use correct channel for error logs", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "f4b8a0ad0a914384c1476adff4f1655a4134fc0e", "submitter": { "id": 657, "url": "https://patches.dpdk.org/api/people/657/?format=api", "name": "Pascal Mazon", "email": "pascal.mazon@6wind.com" }, "delegate": { "id": 319, "url": "https://patches.dpdk.org/api/users/319/?format=api", "username": "fyigit", "first_name": "Ferruh", "last_name": "Yigit", "email": "ferruh.yigit@amd.com" }, "mbox": "https://patches.dpdk.org/project/dpdk/patch/1485855778-15496-2-git-send-email-pascal.mazon@6wind.com/mbox/", "series": [], "comments": "https://patches.dpdk.org/api/patches/20082/comments/", "check": "success", "checks": "https://patches.dpdk.org/api/patches/20082/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 637775A44;\n\tTue, 31 Jan 2017 10:45:09 +0100 (CET)", "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 6C1002BE9\n\tfor <dev@dpdk.org>; Tue, 31 Jan 2017 10:44:53 +0100 (CET)", "from 6wind.com (unknown [10.16.0.184])\n\tby proxy.6wind.com (Postfix) with SMTP id 14A21265B0;\n\tTue, 31 Jan 2017 10:44:48 +0100 (CET)", "by 6wind.com (sSMTP sendmail emulation);\n\tTue, 31 Jan 2017 10:43:11 +0100" ], "From": "Pascal Mazon <pascal.mazon@6wind.com>", "To": "keith.wiles@intel.com", "Cc": "dev@dpdk.org,\n\tPascal Mazon <pascal.mazon@6wind.com>", "Date": "Tue, 31 Jan 2017 10:42:54 +0100", "Message-Id": "<1485855778-15496-2-git-send-email-pascal.mazon@6wind.com>", "X-Mailer": "git-send-email 2.8.0.rc0", "In-Reply-To": "<1485855778-15496-1-git-send-email-pascal.mazon@6wind.com>", "References": "<1485855778-15496-1-git-send-email-pascal.mazon@6wind.com>", "Subject": "[dpdk-dev] [PATCH 2/6] net/tap: use correct channel for error logs", "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": "Signed-off-by: Pascal Mazon <pascal.mazon@6wind.com>\n---\n drivers/net/tap/rte_eth_tap.c | 10 +++++-----\n 1 file changed, 5 insertions(+), 5 deletions(-)", "diff": "diff --git a/drivers/net/tap/rte_eth_tap.c b/drivers/net/tap/rte_eth_tap.c\nindex 8faf08551b9e..4cc1767da5e8 100644\n--- a/drivers/net/tap/rte_eth_tap.c\n+++ b/drivers/net/tap/rte_eth_tap.c\n@@ -594,20 +594,20 @@ eth_dev_tap_create(const char *name, char *tap_name)\n \n \tdata = rte_zmalloc_socket(tap_name, sizeof(*data), 0, numa_node);\n \tif (!data) {\n-\t\tRTE_LOG(INFO, PMD, \"Failed to allocate data\\n\");\n+\t\tRTE_LOG(ERR, PMD, \"Failed to allocate data\\n\");\n \t\tgoto error_exit;\n \t}\n \n \tpmd = rte_zmalloc_socket(tap_name, sizeof(*pmd), 0, numa_node);\n \tif (!pmd) {\n-\t\tRTE_LOG(INFO, PMD, \"Unable to allocate internal struct\\n\");\n+\t\tRTE_LOG(ERR, PMD, \"Unable to allocate internal struct\\n\");\n \t\tgoto error_exit;\n \t}\n \n \t/* Use the name and not the tap_name */\n \tdev = rte_eth_dev_allocate(tap_name);\n \tif (!dev) {\n-\t\tRTE_LOG(INFO, PMD, \"Unable to allocate device struct\\n\");\n+\t\tRTE_LOG(ERR, PMD, \"Unable to allocate device struct\\n\");\n \t\tgoto error_exit;\n \t}\n \n@@ -638,7 +638,7 @@ eth_dev_tap_create(const char *name, char *tap_name)\n \t/* Create the first Tap device */\n \tfd = tun_alloc(tap_name);\n \tif (fd < 0) {\n-\t\tRTE_LOG(INFO, PMD, \"tun_alloc() failed\\n\");\n+\t\tRTE_LOG(ERR, PMD, \"tun_alloc() failed\\n\");\n \t\tgoto error_exit;\n \t}\n \n@@ -655,7 +655,7 @@ eth_dev_tap_create(const char *name, char *tap_name)\n \tpmd->fds[0] = fd;\n \n \tif (pmd_mac_address(fd, dev, &pmd->eth_addr) < 0) {\n-\t\tRTE_LOG(INFO, PMD, \"Unable to get MAC address\\n\");\n+\t\tRTE_LOG(ERR, PMD, \"Unable to get MAC address\\n\");\n \t\tgoto error_exit;\n \t}\n \n", "prefixes": [ "dpdk-dev", "2/6" ] }{ "id": 20082, "url": "