]> git.droids-corp.org - dpdk.git/blobdiff - lib/librte_mempool/rte_mempool.c
mbuf: extend mbuf pool private structure
[dpdk.git] / lib / librte_mempool / rte_mempool.c
index 8da2e471c7253192b7940b5906fce933b2ea2331..78d8eb941e301eb1df20375e5d65bab6954f0f13 100644 (file)
@@ -390,11 +390,6 @@ rte_mempool_populate_virt(struct rte_mempool *mp, char *addr,
 
                iova = get_iova(addr + off);
 
-               if (iova == RTE_BAD_IOVA && rte_eal_has_hugepages()) {
-                       ret = -EINVAL;
-                       goto fail;
-               }
-
                /* populate with the largest group of contiguous pages */
                for (phys_len = RTE_MIN(
                        (size_t)(RTE_PTR_ALIGN_CEIL(addr + off + 1, pg_sz) -