Code Review
/
deb_dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
New upstream version 18.11-rc4
[deb_dpdk.git]
/
lib
/
librte_eal
/
common
/
eal_common_memalloc.c
diff --git
a/lib/librte_eal/common/eal_common_memalloc.c
b/lib/librte_eal/common/eal_common_memalloc.c
index
1d41ea1
..
3712719
100644
(file)
--- a/
lib/librte_eal/common/eal_common_memalloc.c
+++ b/
lib/librte_eal/common/eal_common_memalloc.c
@@
-77,7
+77,7
@@
eal_memalloc_is_contig(const struct rte_memseg_list *msl, void *start,
const struct rte_memseg *ms;
/* for IOVA_VA, it's always contiguous */
- if (rte_eal_iova_mode() == RTE_IOVA_VA)
+ if (rte_eal_iova_mode() == RTE_IOVA_VA
&& !msl->external
)
return true;
/* for legacy memory, it's always contiguous */