From: Intel Date: Fri, 8 Nov 2013 02:00:00 +0000 (+0100) Subject: ring: move log X-Git-Tag: spdx-start~11093 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=a8d9a27ae4679820dafd6a120e4ae23f70bd5fef;p=dpdk.git ring: move log Signed-off-by: Intel --- diff --git a/lib/librte_pmd_ring/rte_eth_ring.c b/lib/librte_pmd_ring/rte_eth_ring.c index d9667c035d..9514aab633 100644 --- a/lib/librte_pmd_ring/rte_eth_ring.c +++ b/lib/librte_pmd_ring/rte_eth_ring.c @@ -220,15 +220,15 @@ rte_eth_from_rings(struct rte_ring *const rx_queues[], struct rte_eth_dev *eth_dev = NULL; unsigned i; - RTE_LOG(INFO, PMD, "Creating rings-backed ethdev on numa socket %u\n", - numa_node); - /* do some paramter checking */ if (rx_queues == NULL && nb_rx_queues > 0) goto error; if (tx_queues == NULL && nb_tx_queues > 0) goto error; + RTE_LOG(INFO, PMD, "Creating rings-backed ethdev on numa socket %u\n", + numa_node); + /* now do all data allocation - for eth_dev structure, dummy pci driver * and internal (private) data */