]> git.droids-corp.org - dpdk.git/blobdiff - lib/pdump/rte_pdump.c
mempool: add namespace to flags
[dpdk.git] / lib / pdump / rte_pdump.c
index 382217bc1564f936adc301cba762a5ae36d830dc..46a87e2339045849e7acd356b1998a4190bfebf4 100644 (file)
@@ -371,7 +371,8 @@ pdump_validate_ring_mp(struct rte_ring *ring, struct rte_mempool *mp)
                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");