When using --no-huge option the iova-mode must be VA.
Physical address are not guaranteed to be persistent with out
hugepages. This change effectively makes "--no-huge" the same as
"--no-huge --iova-mode=va". When --no-huge is used setting --iova-mode=pa
will have no effect.
Add Travis CI jobs to run unit tests on ppc64le platform.
Signed-off-by: David Wilder
---
.travis.yml | 3 +++
1 file changed, 3 insertions(+)
diff --git a/.travis.yml b/.travis.yml
index 2afb80e46..7db5c5c7e 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -135,6 +135,9 @@ jobs:
- env
der/dpdk/builds/670214578
David Wilder (4):
eal/linux: force iova-mode va with no-huge option
devtools: allow test-null.sh to run on ppc64le
ci: add travis ci support for native ppc64le
ci: enable unit test for ppc64le
.travis.yml| 23 +++
devtoo
Memory requirements are larger for ppc64le
due to a higher RTE_MAX_LCORE value.
Signed-off-by: David Wilder
Reviewed-by: David Christensen
---
devtools/test-null.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/devtools/test-null.sh b/devtools/test-null.sh
index 548de8113
This change follows the example of aarch64 Travis support
by adding support for ppc64le gcc builds. Limitations for
ppc64le are the same as aarch64 as described in:
commit 31bb45bcfdf5 ("ci: add travis ci support for native aarch64").
Signed-off-by: David Wilder
Reviewed-by: David C
Memory requirements are larger for ppc64le
due to a higher RTE_MAX_LCORE value.
Signed-off-by: David Wilder
Reviewed-by: David Christensen
---
devtools/test-null.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/devtools/test-null.sh b/devtools/test-null.sh
index 548de8113
v/2020-February/158231.html
A Travis build with theses patches can be found here:
https://travis-ci.org/djlwilder/dpdk/builds/653196974
David Wilder (3):
eal/linux: select iova-mode va with no-huge option
devtools: allow test-null.sh to run on ppc64le
ci: add travis ci support for
If --no-huge is set and iova-mode has not been specified force VA mode.
If --no-huge and --iova-mode=PA is requested error out as this is
an impossible configuration.
Signed-off-by: David Wilder
---
lib/librte_eal/linux/eal/eal.c | 14 ++
1 file changed, 14 insertions(+)
diff --git
This change follows the example of aarch64 Travis support
by adding support for ppc64le gcc builds. Limitations for
ppc64le are the same as aarch64 as described in:
commit 31bb45bcfdf5 ("ci: add travis ci support for native aarch64").
Signed-off-by: David Wilder
Reviewed-by: David C
If --no-huge is set and iova-mode has not been specified force VA mode.
If --no-huge and --iova-mode=PA is requested error out as this is
an impossible configuration.
Signed-off-by: David Wilder
---
lib/librte_eal/linux/eal/eal.c | 14 ++
1 file changed, 14 insertions(+)
diff --git
This change follows the example of aarch64 Travis support
by adding support for ppc64le gcc builds. Limitations for
ppc64le are the same as aarch64 as described in commit
31bb45bcfd.
Signed-off-by: David Wilder
Reviewed-by: David Christensen
---
.travis.yml | 30
Memory requirements are larger for ppc64le
due to a higher RTE_MAX_LCORE value.
Signed-off-by: David Wilder
Reviewed-by: David Christensen
---
devtools/test-null.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/devtools/test-null.sh b/devtools/test-null.sh
index 548de8113
) using the
no-huge option is run.
V2: Insures iova-mode is VA when --no-huge is selected.
Removed setting of --iova-mode=VA in test-null.sh.
A Travis build with theses patches can be found here:
https://travis-ci.org/djlwilder/dpdk/builds/652238523
David Wilder (3):
eal/linux: select iova
This change follows the example of aarch64 Travis support
by adding support for ppc64le gcc builds. Limitations for
ppc64le are the same as aarch64 as described in commit
31bb45bcfd.
Signed-off-by: David Wilder
Reviewed-by: David Christensen
---
.travis.yml | 29
- Memory requirements are larger for ppc64le
due to a higher RTE_MAX_LCORE value.
- The --no-huge option requires iova-mode=VA.
On ppc64le iova-mode defaults to PA therefor
VA mode must be explicitly set.
Signed-off-by: David Wilder
Reviewed-by: David Christensen
---
devtools/test
) using the
no-huge option is run.
The first patch in the series adjusts parameters for devtools/test-null.sh
as required for ppc64le.
A Travis build with theses two patches can be found here:
https://travis-ci.org/djlwilder/dpdk/builds/650091701
David Wilder (2):
devtools: allow test-null.sh
Setting RTE_MAX_LCORE to reflect the largest available configuration.
Signed-off-by: David Wilder
---
I am splitting my previous patch "meson: Update flags and values for ppc_64"
into two separate patches (not a series). This is the second patch.
Updating values for both the meso
Adding defines for missing RTE_MACHINE_CPUFLAGs.
Signed-off-by: David Wilder
---
I am splitting my previous patch "meson: Update flags and values for ppc_64"
into two separate patches (not a series). This is the first patch.
config/ppc_64/meson.build | 2 ++
1 file changed, 2
Setting RTE_MAX_LCORE to reflect the largest available configuration.
Adding defines for missing RTE_MACHINE_CPUFLAGs.
Signed-off-by: David Wilder
---
config/ppc_64/meson.build | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/config/ppc_64/meson.build b/config/ppc_64
mapping to fail on Power9.
Note, Power8 is currently failing to correctly mmap Hugepages, with and
without this change.
Signed-off-by: David Wilder
Reviewed-by: Pradeep Satyanarayana
---
V2- Updated release notes.
V3- fixed spelling.
MAINTAINERS| 2 +-
doc/guides
mapping to fail on Power9.
Note, Power8 is currently failing to correctly mmap Hugepages, with and
without this change.
Signed-off-by: David Wilder
Reviewed-by: Pradeep Satyanarayana
---
I updated the documentation and release notes as suggested by Thomas.
Thank you.
MAINTAINERS
mapping to fail on Power9.
Note, Power8 is currently failing to correctly mmap Hugepages, with and
without this change.
Signed-off-by: David Wilder
Reviewed-by: Pradeep Satyanarayana
---
This patch corrects problems with virtual address mapping on IBM Power9 system.
I have tested with primary and
22 matches
Mail list logo