Signed-off-by: Anatoly Burakov <anatoly.bura...@intel.com> --- Notes: Not sure if DMA-capable memzones are needed for vmxnet3. Corrections welcome.
drivers/net/vmxnet3/vmxnet3_ethdev.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/net/vmxnet3/vmxnet3_ethdev.c b/drivers/net/vmxnet3/vmxnet3_ethdev.c index 4e68aae..c787379 100644 --- a/drivers/net/vmxnet3/vmxnet3_ethdev.c +++ b/drivers/net/vmxnet3/vmxnet3_ethdev.c @@ -150,14 +150,15 @@ gpa_zone_reserve(struct rte_eth_dev *dev, uint32_t size, if (!reuse) { if (mz) rte_memzone_free(mz); - return rte_memzone_reserve_aligned(z_name, size, socket_id, - 0, align); + return rte_memzone_reserve_aligned_contig(z_name, size, + socket_id, 0, align); } if (mz) return mz; - return rte_memzone_reserve_aligned(z_name, size, socket_id, 0, align); + return rte_memzone_reserve_aligned_contig(z_name, size, socket_id, 0, + align); } /** -- 2.7.4