This patchset enables LPM, ACL and other few missing libs in ppc64le and also
address few patches in related examples (ip_pipeline and l3fwd).
Test report:
LPM and ACL unit tests passed.
RTE>>acl_autotest
ACL: allocation of 25166728 bytes on socket 33 for ACL_acl_ctx failed
ACL:
offline lcore would still refer to original core id and this has to
be considered while creating cpu core mask.
Signed-off-by: Gowrishankar Muthukrishnan
---
config/defconfig_ppc_64-power8-linuxapp-gcc | 3 ---
examples/ip_pipeline/cpu_core_map.c | 12 +---
examples/ip_pipeline
This patch adds ppc64le port for LPM library in DPDK.
Signed-off-by: Gowrishankar Muthukrishnan
---
app/test/test_xmmt_ops.h | 16 +++
config/defconfig_ppc_64-power8-linuxapp-gcc| 1 -
.../common/include/arch/ppc_64/rte_vect.h | 60
lib
This patch adds port for ACL library in ppc64le.
Signed-off-by: Gowrishankar Muthukrishnan
---
app/test-acl/main.c | 4 +
config/defconfig_ppc_64-power8-linuxapp-gcc | 1 -
lib/librte_acl/Makefile | 2 +
lib/librte_acl/acl.h
Align rte_bucket_4_8 for cache line.
Signed-off-by: Gowrishankar Muthukrishnan
---
lib/librte_table/rte_table_hash_key8.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/librte_table/rte_table_hash_key8.c
b/lib/librte_table/rte_table_hash_key8.c
index e2e2bdc..4d5e0cd
This patch enables librte_sched in ppc64le.
Signed-off-by: Gowrishankar Muthukrishnan
---
config/defconfig_ppc_64-power8-linuxapp-gcc | 2 --
1 file changed, 2 deletions(-)
diff --git a/config/defconfig_ppc_64-power8-linuxapp-gcc
b/config/defconfig_ppc_64-power8-linuxapp-gcc
index a084672
This patch adds ppc64le port for em_mask_key function.
Signed-off-by: Gowrishankar Muthukrishnan
---
examples/l3fwd/l3fwd_em.c | 10 +-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/examples/l3fwd/l3fwd_em.c b/examples/l3fwd/l3fwd_em.c
index def5a02..6053a62 100644
Hi Chao,
I just tried building dpdk master with these patches in ubuntu 16.04 le
guest
and I could able to.
test at ubuntu:~/DPDK$ make install T=ppc_64-power8-linuxapp-gcc -j16
.
INSTALL-MAP test.map
INSTALL-APP test
Build complete [ppc_64-power8-linuxapp-gcc]
Installation cannot
This patchset enables LPM, ACL and other few missing libs in ppc64le and also
address few patches in related examples (ip_pipeline and l3fwd).
Test report:
LPM and ACL unit tests passed.
RTE>>acl_autotest
ACL: allocation of 25166728 bytes on socket 33 for ACL_acl_ctx failed
ACL:
From: gowrishankar
This patch adds ppc64le port for LPM library in DPDK.
Signed-off-by: Gowrishankar
---
app/test/test_xmmt_ops.h | 16 +++
config/defconfig_ppc_64-power8-linuxapp-gcc| 1 -
From: gowrishankar
This patch adds port for ACL library in ppc64le.
Signed-off-by: Gowrishankar
---
app/test-acl/main.c | 4 +
config/defconfig_ppc_64-power8-linuxapp-gcc | 1 -
lib/librte_acl/Makefile | 2 +
From: gowrishankar
offline lcore would still refer to original core id and this has to
be considered while creating cpu core mask.
Signed-off-by: Gowrishankar
---
config/defconfig_ppc_64-power8-linuxapp-gcc | 3 ---
examples/ip_pipeline/cpu_core_map.c
From: gowrishankar
Align rte_bucket_4_8 for cache line.
Signed-off-by: Gowrishankar
---
lib/librte_table/rte_table_hash_key8.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/librte_table/rte_table_hash_key8.c
From: gowrishankar
This patch enables librte_sched in ppc64le.
Signed-off-by: Gowrishankar
---
config/defconfig_ppc_64-power8-linuxapp-gcc | 2 --
1 file changed, 2 deletions(-)
diff --git a/config/defconfig_ppc_64-power8-linuxapp-gcc
From: gowrishankar
This patch adds ppc64le port for em_mask_key function.
Signed-off-by: Gowrishankar
---
examples/l3fwd/l3fwd_em.c | 10 +-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/examples/l3fwd/l3fwd_em.c
lcore id can not be checked with
indexing lcore number before positioning lcore map array.
Thanks,
Gowrishankar
On Tuesday 09 August 2016 02:37 PM, Chao Zhu wrote:
> Gowrishankar,
>
> Can you give more description about this patch?
> Thank you!
>
> -Original Message-
&g
er socket:5 <<<
Socket(s): 2 <<<
NUMA node(s): 2
cpu_core_map_init parameters (2,5,1,0) were prepared. Instead, we can
cap max sockets/core/ht
counts to possible maximum supported today.
Regards,
Gowrishankar
>>
>>
n v5. If there are no other comments,
I can spin out v5, with changes in this patch.
Regards,
Gowrishankar
>
> -----Original Message-
> From: gowrishankar muthukrishnan [mailto:gowrishankar.m at linux.vnet.ibm.com]
> Sent: 2016?8?11? 20:02
> To: Chao Zhu
> Cc: dev at dpdk.org
example app separately.
So, I will be sending powerpc specific enablement of lpm,acl,port,table
and sched in v5.
Example ip_pipeline will be fixed in separate patch.
Thanks,
Gowrishankar
> -Original Message-
> From: gowrishankar muthukrishnan [mailto:gowrishankar.m at linux.vnet.ibm.c
From: gowrishankar <gowrishanka...@linux.vnet.ibm.com>
This patch adds ppc64le port for LPM library in DPDK.
Signed-off-by: Gowrishankar Muthukrishnan
---
app/test/test_xmmt_ops.h | 16 +++
config/defconfig_ppc_64-power8-linuxapp-gcc| 1 -
.../
changes itself.
Gowrishankar Muthukrishnan (3):
port: enable port library for ppc64le
pipeline: enable pipeline library for ppc64le
ip_pipeline: fix lcore mapping for varying SMT threads as in ppc64
gowrishankar (5):
lpm: add altivec intrinsics for dpdk lpm on ppc_64
acl: add altivec
From: gowrishankar <gowrishanka...@linux.vnet.ibm.com>
This patch enables librte_table in ppc64le.
Signed-off-by: Gowrishankar Muthukrishnan
---
config/defconfig_ppc_64-power8-linuxapp-gcc | 1 -
1 file changed, 1 deletion(-)
diff --git a/config/defconfig_ppc_64-power8-linuxapp-gcc
b/
From: gowrishankar <gowrishanka...@linux.vnet.ibm.com>
This patch enables librte_sched in ppc64le.
Signed-off-by: Gowrishankar Muthukrishnan
---
config/defconfig_ppc_64-power8-linuxapp-gcc | 1 -
1 file changed, 1 deletion(-)
diff --git a/config/defconfig_ppc_64-power8-linuxapp-gcc
b/
From: gowrishankar <gowrishanka...@linux.vnet.ibm.com>
This patch adds port for ACL library in ppc64le.
Signed-off-by: Gowrishankar Muthukrishnan
---
app/test-acl/main.c | 4 +
config/defconfig_ppc_64-power8-linuxapp-gcc | 1 -
lib/librte_acl/Ma
From: gowrishankar <gowrishanka...@linux.vnet.ibm.com>
This patch adds ppc64le port for em_mask_key function.
Signed-off-by: Gowrishankar Muthukrishnan
---
examples/l3fwd/l3fwd_em.c | 10 +-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/examples/l3fwd/l3fwd_
This patch enables librte_port in ppc64le.
Signed-off-by: Gowrishankar Muthukrishnan
---
config/defconfig_ppc_64-power8-linuxapp-gcc | 1 -
1 file changed, 1 deletion(-)
diff --git a/config/defconfig_ppc_64-power8-linuxapp-gcc
b/config/defconfig_ppc_64-power8-linuxapp-gcc
index 0c7060f
This patch enables librte_pipeline for ppc64le.
Signed-off-by: Gowrishankar Muthukrishnan
---
config/defconfig_ppc_64-power8-linuxapp-gcc | 2 --
1 file changed, 2 deletions(-)
diff --git a/config/defconfig_ppc_64-power8-linuxapp-gcc
b/config/defconfig_ppc_64-power8-linuxapp-gcc
index 1fc8df2
number before positioning lcore map array.
Signed-off-by: Gowrishankar Muthukrishnan
---
examples/ip_pipeline/cpu_core_map.c | 8
1 file changed, 8 insertions(+)
diff --git a/examples/ip_pipeline/cpu_core_map.c
b/examples/ip_pipeline/cpu_core_map.c
index cb088b1..dd8f678 100644
August 2016 03:45 PM, Chao Zhu wrote:
> Another comment is, comment out lcore_socket_id check will influence other
> architectures. If possible, I would like to make this change to Power
> specific.
>
> -Original Message-
> From: gowrishankar muthukrishnan [mai
for bringing up.
v3 changes:
- rebase over master to fix conflict in examples/l3fwd/l3fwd_em.c
v2 changes:
- enabling libs in config included as part of lib changes itself.
Gowrishankar Muthukrishnan (9):
lpm: add altivec intrinsics for dpdk lpm on ppc_64
acl: add altivec intrinsics for dpdk
This patch adds port for ACL library in ppc64le.
Signed-off-by: Gowrishankar Muthukrishnan
---
app/test-acl/main.c | 4 +
config/defconfig_ppc_64-power8-linuxapp-gcc | 1 -
lib/librte_acl/Makefile | 2 +
lib/librte_acl/acl.h
This patch adds ppc64le port for em_mask_key function.
Signed-off-by: Gowrishankar Muthukrishnan
---
examples/l3fwd/l3fwd_em.c | 10 +-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/examples/l3fwd/l3fwd_em.c b/examples/l3fwd/l3fwd_em.c
index def5a02..6053a62 100644
This patch enables librte_sched in ppc64le.
Signed-off-by: Gowrishankar Muthukrishnan
---
config/defconfig_ppc_64-power8-linuxapp-gcc | 1 -
1 file changed, 1 deletion(-)
diff --git a/config/defconfig_ppc_64-power8-linuxapp-gcc
b/config/defconfig_ppc_64-power8-linuxapp-gcc
index 41f67d5
This patch enables librte_port in ppc64le.
Signed-off-by: Gowrishankar Muthukrishnan
---
config/defconfig_ppc_64-power8-linuxapp-gcc | 1 -
1 file changed, 1 deletion(-)
diff --git a/config/defconfig_ppc_64-power8-linuxapp-gcc
b/config/defconfig_ppc_64-power8-linuxapp-gcc
index 0c7060f
This patch enables librte_pipeline for ppc64le.
Signed-off-by: Gowrishankar Muthukrishnan
---
config/defconfig_ppc_64-power8-linuxapp-gcc | 2 --
1 file changed, 2 deletions(-)
diff --git a/config/defconfig_ppc_64-power8-linuxapp-gcc
b/config/defconfig_ppc_64-power8-linuxapp-gcc
index 1fc8df2
This patch enables librte_table in ppc64le.
Signed-off-by: Gowrishankar Muthukrishnan
---
config/defconfig_ppc_64-power8-linuxapp-gcc | 1 -
1 file changed, 1 deletion(-)
diff --git a/config/defconfig_ppc_64-power8-linuxapp-gcc
b/config/defconfig_ppc_64-power8-linuxapp-gcc
index dede34f
number before positioning lcore map array.
Signed-off-by: Gowrishankar Muthukrishnan
---
examples/ip_pipeline/cpu_core_map.c | 8
1 file changed, 8 insertions(+)
diff --git a/examples/ip_pipeline/cpu_core_map.c
b/examples/ip_pipeline/cpu_core_map.c
index cb088b1..dd8f678 100644
rte table hash structs rte_bucket_4_8, rte_bucket_4_16 and rte_bucket_4_32 have
to be cache aligned as required by their corresponding hash create functions
rte_table_hash_create_key8_lru etc.
Signed-off-by: Gowrishankar Muthukrishnan
---
lib/librte_table/rte_table_hash_key16.c | 4 ++--
lib
Thomas Monjalon [mailto:thomas.monjalon at 6wind.com]
>> Sent: Thursday, September 8, 2016 10:36 AM
>> To: Gowrishankar Muthukrishnan
>> Cc: dev at dpdk.org; Dumitrescu, Cristian ;
>> Chao Zhu ; Richardson, Bruce
>> ; Ananyev, Konstantin
>> ; Pradeep
>> Subject: Re: [dpd
39 matches
Mail list logo