git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
app/crypto-perf: support lookaside IPsec
[dpdk.git]
/
lib
/
pdump
/
rte_pdump.c
diff --git
a/lib/pdump/rte_pdump.c
b/lib/pdump/rte_pdump.c
index
d20e944
..
46a87e2
100644
(file)
--- a/
lib/pdump/rte_pdump.c
+++ b/
lib/pdump/rte_pdump.c
@@
-12,7
+12,7
@@
#include "rte_pdump.h"
#include "rte_pdump.h"
-RTE_LOG_REGISTER
(pdump_logtype, lib.pdump
, NOTICE);
+RTE_LOG_REGISTER
_DEFAULT(pdump_logtype
, NOTICE);
/* Macro for printing using RTE_LOG */
#define PDUMP_LOG(level, fmt, args...) \
/* Macro for printing using RTE_LOG */
#define PDUMP_LOG(level, fmt, args...) \
@@
-371,7
+371,8
@@
pdump_validate_ring_mp(struct rte_ring *ring, struct rte_mempool *mp)
rte_errno = EINVAL;
return -1;
}
rte_errno = EINVAL;
return -1;
}
- if (mp->flags & MEMPOOL_F_SP_PUT || mp->flags & MEMPOOL_F_SC_GET) {
+ if (mp->flags & RTE_MEMPOOL_F_SP_PUT ||
+ mp->flags & RTE_MEMPOOL_F_SC_GET) {
PDUMP_LOG(ERR,
"mempool with SP or SC set not valid for pdump,"
"must have MP and MC set\n");
PDUMP_LOG(ERR,
"mempool with SP or SC set not valid for pdump,"
"must have MP and MC set\n");