git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
492ab60
)
mempool: remove get capability debug log
author
Hemant Agrawal
<hemant.agrawal@nxp.com>
Tue, 10 Oct 2017 14:17:11 +0000
(19:47 +0530)
committer
Thomas Monjalon
<thomas@monjalon.net>
Thu, 12 Oct 2017 01:30:26 +0000
(
03:30
+0200)
This is not required to be printed for every mempool call.
Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>
Reviewed-by: Santosh Shukla <santosh.shukla@caviumnetworks.com>
lib/librte_mempool/rte_mempool.c
patch
|
blob
|
history
diff --git
a/lib/librte_mempool/rte_mempool.c
b/lib/librte_mempool/rte_mempool.c
index
57a4f81
..
6357fd4
100644
(file)
--- a/
lib/librte_mempool/rte_mempool.c
+++ b/
lib/librte_mempool/rte_mempool.c
@@
-559,10
+559,7
@@
rte_mempool_populate_default(struct rte_mempool *mp)
/* Get mempool capabilities */
mp_flags = 0;
ret = rte_mempool_ops_get_capabilities(mp, &mp_flags);
- if (ret == -ENOTSUP)
- RTE_LOG(DEBUG, MEMPOOL, "get_capability not supported for %s\n",
- mp->name);
- else if (ret < 0)
+ if ((ret < 0) && (ret != -ENOTSUP))
return ret;
/* update mempool capabilities */