[dpdk-dev] [PATCH v4 1/4] eal/linux: force iova-mode va with no-huge option

2020-04-02 Thread David Wilder
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.

[dpdk-dev] [PATCH v4 4/4] ci: enable unit test for ppc64le

2020-04-02 Thread David Wilder
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

[dpdk-dev] [PATCH v4 0/4] add travis ci support for ppc64le

2020-04-02 Thread David Wilder
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

[dpdk-dev] [PATCH v4 2/4] devtools: allow test-null.sh to run on ppc64le

2020-04-02 Thread David Wilder
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

[dpdk-dev] [PATCH v4 3/4] ci: add travis ci support for native ppc64le

2020-04-02 Thread David Wilder
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

[dpdk-dev] [PATCH v3 2/3] devtools: allow test-null.sh to run on ppc64le

2020-02-20 Thread David Wilder
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

[dpdk-dev] [PATCH v3 0/3] add travis ci support for ppc64le

2020-02-20 Thread David Wilder
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

[dpdk-dev] [PATCH v3 1/3] eal/linux: select iova-mode va with no-huge option

2020-02-20 Thread David Wilder
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

[dpdk-dev] [PATCH v3 3/3] ci: add travis ci support for native ppc64le

2020-02-20 Thread David Wilder
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

[dpdk-dev] [PATCH v2 1/3] eal/linux: select iova-mode va with no-huge option

2020-02-18 Thread David Wilder
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

[dpdk-dev] [PATCH v2 3/3] ci: add travis ci support for native ppc64le

2020-02-18 Thread David Wilder
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

[dpdk-dev] [PATCH v2 2/3] devtools: allow test-null.sh to run on ppc64le

2020-02-18 Thread David Wilder
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

[dpdk-dev] [PATCH v2 0/3] add travis ci support for ppc64le

2020-02-18 Thread David Wilder
) 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

[dpdk-dev] [PATCH v1 2/2] ci: add travis ci support for native ppc64le

2020-02-13 Thread David Wilder
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

[dpdk-dev] [PATCH v1 1/2] devtools: allow test-null.sh to run on ppc64le

2020-02-13 Thread David Wilder
- 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

[dpdk-dev] [PATCH v1 0/2] add travis ci support for ppc64le

2020-02-13 Thread David Wilder
) 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

[dpdk-dev] [PATCH] config: update RTE_MAX_LCORE for ppc build

2019-06-05 Thread David Wilder
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

[dpdk-dev] [PATCH] config: update for ppc build with meson

2019-06-05 Thread David Wilder
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

[dpdk-dev] [PATCH] meson: Update flags and values for ppc_64

2019-05-24 Thread David Wilder
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

[dpdk-dev] [PATCH v3] mem: Fix anonymous mapping on Power9.

2018-11-16 Thread David Wilder
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

[dpdk-dev] [PATCH v2] mem: Fix anonymous mapping on Power9.

2018-11-15 Thread David Wilder
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

[dpdk-dev] [PATCH] mem: Fix anonymous mapping on Power9.

2018-11-14 Thread David Wilder
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