env: replace MEMPOOL_F_NO_PHYS_CONTIG with MEMPOOL_F_NO_IOVA_CONTIG
DPDK patch (4143b122) included in DPDK v18.05 replaced MEMPOOL_F_NO_PHYS_CONTIG with MEMPOOL_F_NO_IOVA_CONTIG. Meanwhile latest DPDK from (28e3c8b2) removed the MEMPOOL_F_NO_PHYS_CONTIG. This patch simply replaced the define, since it will work for any DPDK v18.05+. Signed-off-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Change-Id: I43ada50df31be18c724b2f5078d3f29f3d1c0c71 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/4418 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com>
This commit is contained in:
parent
e5a08642c5
commit
107dd02126
@ -230,7 +230,7 @@ spdk_mempool_create_ctor(const char *name, size_t count,
|
||||
|
||||
mp = rte_mempool_create(name, count, ele_size, cache_size,
|
||||
0, NULL, NULL, (rte_mempool_obj_cb_t *)obj_init, obj_init_arg,
|
||||
socket_id, MEMPOOL_F_NO_PHYS_CONTIG);
|
||||
socket_id, MEMPOOL_F_NO_IOVA_CONTIG);
|
||||
|
||||
return (struct spdk_mempool *)mp;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user