From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from proxy.6wind.com (host.76.145.23.62.rev.coltfrance.com [62.23.145.76]) by dpdk.org (Postfix) with ESMTP id 887892BE5 for ; Thu, 2 Feb 2017 17:18:21 +0100 (CET) Received: from 6wind.com (unknown [10.16.0.184]) by proxy.6wind.com (Postfix) with SMTP id 3A83E24A91; Thu, 2 Feb 2017 17:18:16 +0100 (CET) Received: by 6wind.com (sSMTP sendmail emulation); Thu, 02 Feb 2017 17:18:14 +0100 From: Pascal Mazon To: keith.wiles@intel.com Cc: dev@dpdk.org, Pascal Mazon Date: Thu, 2 Feb 2017 17:17:59 +0100 Message-Id: <2d84d2a0158bf8790e4eb1867e08cc4ea7142448.1486026370.git.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> In-Reply-To: <050aa06c03aa4b56f703d74a8d8a792de5e075f4.1486026370.git.pascal.mazon@6wind.com> References: <050aa06c03aa4b56f703d74a8d8a792de5e075f4.1486026370.git.pascal.mazon@6wind.com> Subject: [dpdk-dev] [PATCH v2 2/7] 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Feb 2017 16:18:21 -0000 Signed-off-by: Pascal Mazon --- drivers/net/tap/rte_eth_tap.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/net/tap/rte_eth_tap.c b/drivers/net/tap/rte_eth_tap.c index 8faf08551b9e..4cc1767da5e8 100644 --- a/drivers/net/tap/rte_eth_tap.c +++ b/drivers/net/tap/rte_eth_tap.c @@ -594,20 +594,20 @@ eth_dev_tap_create(const char *name, char *tap_name) data = rte_zmalloc_socket(tap_name, sizeof(*data), 0, numa_node); if (!data) { - RTE_LOG(INFO, PMD, "Failed to allocate data\n"); + RTE_LOG(ERR, PMD, "Failed to allocate data\n"); goto error_exit; } pmd = rte_zmalloc_socket(tap_name, sizeof(*pmd), 0, numa_node); if (!pmd) { - RTE_LOG(INFO, PMD, "Unable to allocate internal struct\n"); + RTE_LOG(ERR, PMD, "Unable to allocate internal struct\n"); goto error_exit; } /* Use the name and not the tap_name */ dev = rte_eth_dev_allocate(tap_name); if (!dev) { - RTE_LOG(INFO, PMD, "Unable to allocate device struct\n"); + RTE_LOG(ERR, PMD, "Unable to allocate device struct\n"); goto error_exit; } @@ -638,7 +638,7 @@ eth_dev_tap_create(const char *name, char *tap_name) /* Create the first Tap device */ fd = tun_alloc(tap_name); if (fd < 0) { - RTE_LOG(INFO, PMD, "tun_alloc() failed\n"); + RTE_LOG(ERR, PMD, "tun_alloc() failed\n"); goto error_exit; } @@ -655,7 +655,7 @@ eth_dev_tap_create(const char *name, char *tap_name) pmd->fds[0] = fd; if (pmd_mac_address(fd, dev, &pmd->eth_addr) < 0) { - RTE_LOG(INFO, PMD, "Unable to get MAC address\n"); + RTE_LOG(ERR, PMD, "Unable to get MAC address\n"); goto error_exit; } -- 2.8.0.rc0