Removing "CONFIG_RTE_LIBRTE_PMD_BOND=n" from config/
defconfig_ppc_64-power8-linuxapp-gcc should help us proceeding
further. so, dpdk.spec needs this change.
--- dpdk-16.07.org/debian/dpdk.conf 2016-08-30 02:40:26.000000000 -0400
+++ dpdk-16.07/debian/dpdk.conf 2016-08-31 09:49:40.299580656 -0400
@@ -6,6 +6,13 @@
# NR_2M_PAGES=64
#
+# The number of 16M hugepages to reserve on system boot
+#
+# Default is 0
+# To e.g. let it reserve 32x 16M Hugepages set:
+# NR_16M_PAGES=64
+
+#
# The number of 1G hugepages to reserve on system boot
#
# Default is 0
--- dpdk-16.07.org/debian/dpdk-init 2016-08-30 02:40:26.000000000 -0400
+++ dpdk-16.07/debian/dpdk-init 2016-08-31 09:30:26.288573196 -0400
@@ -124,6 +124,9 @@ mount_hugetlbfs() {
if [ -n "${NR_2M_PAGES}" -a -z "" ]; then
_mount_hugetlbfs 2M
fi
+ if [ -n "${NR_16M_PAGES}" -a -z "" ]; then
+ _mount_hugetlbfs 16M
+ fi
if [ -n "${NR_1G_PAGES}" -a -z "" ]; then
_mount_hugetlbfs 1G
fi
@@ -166,6 +169,7 @@ setup_hugepages() {
. /etc/dpdk/dpdk.conf
_setup_hugepages "hugepages-2048kB" "$NR_2M_PAGES"
+ _setup_hugepages "hugepages-16384kB" "$NR_16M_PAGES"
_setup_hugepages "hugepages-1048576kB" "$NR_1G_PAGES"
# dpdk uses 2*#hugepages mappings, increase for huge systems LP #1507921
I can build dpdk packages successfully following above changes. I just need to
get familiar with your enablepowerpc branch on your git. Considering round trip
time I need to push above changes, can I request you to apply changes as above
and share us .deb for dpdk.
Btw, could you please also share IRC group name and server to join chat with you.
------- Comment From <email address hidden> 2016-09-01 23:10 EDT------- /launchpad. net/~paelzer/ +archive/ ubuntu/ deb-dpdk- 16.07
Regarding build error reported for ppc64el as in dev03 and dev 04 builds:
https:/
Removing "CONFIG_ RTE_LIBRTE_ PMD_BOND= n" from config/ ppc_64- power8- linuxapp- gcc should help us proceeding
defconfig_
further. so, dpdk.spec needs this change.
You would also need to patch .debian/ as below:
--- dpdk-16. 07.org/ debian/ librte- eal2.symbols 2016-08-30 02:40:26.000000000 -0400 07/debian/ librte- eal2.symbols 2016-08-31 06:13:52.365436013 -0400 stream@ DPDK_2. 0 16.04 DPDK_2. 0 16.04 arm64)rte_ rtm_supported@ DPDK_16. 07 16.07~rc3 ppc64el) rte_rtm_ supported@ DPDK_16. 07 16.07~rc3 application_ usage_hook@ DPDK_2. 0 16.04 log_level@ DPDK_2. 0 16.04 log_type@ DPDK_2. 0 16.04
+++ dpdk-16.
@@ -122,6 +122,7 @@ librte_eal.so.2 librte-eal2 #MINVER#
rte_openlog_
rte_realloc@
(arch=!
+ (arch=!
rte_set_
rte_set_
rte_set_
--- dpdk-16. 07.org/ debian/ control 2016-08-31 09:36:22.063819444 -0400 07/debian/ control 2016-08-31 09:37:42.760626875 -0400 pmd-vmxnet3- uio1 (= ${binary:Version}),
+++ dpdk-16.
@@ -131,7 +131,7 @@ Depends: ${misc:Depends},
librte-pmd-vhost1 (= ${binary:Version}),
librte-pmd-virtio1 (= ${binary:Version}),
librte-
- librte-pmd-xenvirt1 (= ${binary:Version}),
+ librte-pmd-xenvirt1 (= ${binary:Version}) [amd64 arm64 i386],
librte-port3 (= ${binary:Version}),
librte-power1 (= ${binary:Version}),
librte-reorder1 (= ${binary:Version}),
--- dpdk-16. 07.org/ debian/ dpdk.conf 2016-08-30 02:40:26.000000000 -0400 07/debian/ dpdk.conf 2016-08-31 09:49:40.299580656 -0400
+++ dpdk-16.
@@ -6,6 +6,13 @@
# NR_2M_PAGES=64
#
+# The number of 16M hugepages to reserve on system boot
+#
+# Default is 0
+# To e.g. let it reserve 32x 16M Hugepages set:
+# NR_16M_PAGES=64
+
+#
# The number of 1G hugepages to reserve on system boot
#
# Default is 0
--- dpdk-16. 07.org/ debian/ dpdk-init 2016-08-30 02:40:26.000000000 -0400 07/debian/ dpdk-init 2016-08-31 09:30:26.288573196 -0400 1048576kB" "$NR_1G_PAGES"
+++ dpdk-16.
@@ -124,6 +124,9 @@ mount_hugetlbfs() {
if [ -n "${NR_2M_PAGES}" -a -z "" ]; then
_mount_hugetlbfs 2M
fi
+ if [ -n "${NR_16M_PAGES}" -a -z "" ]; then
+ _mount_hugetlbfs 16M
+ fi
if [ -n "${NR_1G_PAGES}" -a -z "" ]; then
_mount_hugetlbfs 1G
fi
@@ -166,6 +169,7 @@ setup_hugepages() {
. /etc/dpdk/dpdk.conf
_setup_hugepages "hugepages-2048kB" "$NR_2M_PAGES"
+ _setup_hugepages "hugepages-16384kB" "$NR_16M_PAGES"
_setup_hugepages "hugepages-
# dpdk uses 2*#hugepages mappings, increase for huge systems LP #1507921
I can build dpdk packages successfully following above changes. I just need to
get familiar with your enablepowerpc branch on your git. Considering round trip
time I need to push above changes, can I request you to apply changes as above
and share us .deb for dpdk.
Btw, could you please also share IRC group name and server to join chat with you.
Thanks,
Gowrishankar