[dpdk-dev] [PATCH v3 0/6] enable lpm, acl and other missing libraries in ppc64le

2016-07-16 Thread Gowrishankar Muthukrishnan
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:

[dpdk-dev] [PATCH v3 3/6] ip_pipeline: fix lcore mapping for varying SMT threads as in ppc64

2016-07-16 Thread Gowrishankar Muthukrishnan
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

[dpdk-dev] [PATCH v3 1/6] lpm: add altivec intrinsics for dpdk lpm on ppc_64

2016-07-16 Thread Gowrishankar Muthukrishnan
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

[dpdk-dev] [PATCH v3 2/6] acl: add altivec intrinsics for dpdk acl on ppc_64

2016-07-16 Thread Gowrishankar Muthukrishnan
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

[dpdk-dev] [PATCH v3 4/6] table: cache align rte_bucket_4_8

2016-07-16 Thread Gowrishankar Muthukrishnan
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

[dpdk-dev] [PATCH v3 5/6] sched: enable sched library for ppc64le

2016-07-16 Thread Gowrishankar Muthukrishnan
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

[dpdk-dev] [PATCH v3 6/6] l3fwd: add altivec support for em_hash_key

2016-07-16 Thread Gowrishankar Muthukrishnan
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

[dpdk-dev] [PATCH v2 0/6] enable lpm, acl and other missing libraries in ppc64le

2016-07-18 Thread gowrishankar muthukrishnan
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

[dpdk-dev] [PATCH v4 0/6] enable lpm, acl and other missing libraries in ppc64le

2016-08-06 Thread Gowrishankar Muthukrishnan
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:

[dpdk-dev] [PATCH v4 1/6] lpm: add altivec intrinsics for dpdk lpm on ppc_64

2016-08-06 Thread Gowrishankar Muthukrishnan
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 -

[dpdk-dev] [PATCH v4 2/6] acl: add altivec intrinsics for dpdk acl on ppc_64

2016-08-06 Thread Gowrishankar Muthukrishnan
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 +

[dpdk-dev] [PATCH v4 3/6] ip_pipeline: fix lcore mapping for varying SMT threads as in ppc64

2016-08-06 Thread Gowrishankar Muthukrishnan
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

[dpdk-dev] [PATCH v4 4/6] table: cache align rte_bucket_4_8

2016-08-06 Thread Gowrishankar Muthukrishnan
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

[dpdk-dev] [PATCH v4 5/6] sched: enable sched library for ppc64le

2016-08-06 Thread Gowrishankar Muthukrishnan
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

[dpdk-dev] [PATCH v4 6/6] l3fwd: add altivec support for em_hash_key

2016-08-06 Thread Gowrishankar Muthukrishnan
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

[dpdk-dev] [PATCH v4 3/6] ip_pipeline: fix lcore mapping for varying SMT threads as in ppc64

2016-08-09 Thread gowrishankar muthukrishnan
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

[dpdk-dev] [PATCH v4 3/6] ip_pipeline: fix lcore mapping for varying SMT threads as in ppc64

2016-08-11 Thread gowrishankar muthukrishnan
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 >> >>

[dpdk-dev] [PATCH v4 3/6] ip_pipeline: fix lcore mapping for varying SMT threads as in ppc64

2016-08-12 Thread gowrishankar muthukrishnan
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

[dpdk-dev] [PATCH v4 3/6] ip_pipeline: fix lcore mapping for varying SMT threads as in ppc64

2016-08-12 Thread gowrishankar muthukrishnan
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

[dpdk-dev] [PATCH v5 1/8] lpm: add altivec intrinsics for dpdk lpm on ppc_64

2016-08-12 Thread Gowrishankar Muthukrishnan
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 - .../

[dpdk-dev] [PATCH v5 0/8] enable lpm, acl and other missing libraries in ppc64le

2016-08-12 Thread Gowrishankar Muthukrishnan
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

[dpdk-dev] [PATCH v5 4/8] table: enable table library for ppc64le

2016-08-12 Thread Gowrishankar Muthukrishnan
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/

[dpdk-dev] [PATCH v5 5/8] sched: enable sched library for ppc64le

2016-08-12 Thread Gowrishankar Muthukrishnan
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/

[dpdk-dev] [PATCH v5 2/8] acl: add altivec intrinsics for dpdk acl on ppc_64

2016-08-12 Thread Gowrishankar Muthukrishnan
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

[dpdk-dev] [PATCH v5 3/8] l3fwd: add altivec support for em_hash_key

2016-08-12 Thread Gowrishankar Muthukrishnan
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_

[dpdk-dev] [PATCH v5 6/8] port: enable port library for ppc64le

2016-08-12 Thread Gowrishankar Muthukrishnan
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

[dpdk-dev] [PATCH v5 7/8] pipeline: enable pipeline library for ppc64le

2016-08-12 Thread Gowrishankar Muthukrishnan
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

[dpdk-dev] [PATCH v5 8/8] ip_pipeline: fix lcore mapping for varying SMT threads as in ppc64

2016-08-12 Thread Gowrishankar Muthukrishnan
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

[dpdk-dev] [PATCH v4 3/6] ip_pipeline: fix lcore mapping for varying SMT threads as in ppc64

2016-08-12 Thread gowrishankar muthukrishnan
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

[dpdk-dev] [PATCH v6 0/9] enable lpm, acl and other missing libraries in ppc64le

2016-08-16 Thread Gowrishankar Muthukrishnan
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

[dpdk-dev] [PATCH v6 2/9] acl: add altivec intrinsics for dpdk acl on ppc_64

2016-08-16 Thread Gowrishankar Muthukrishnan
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

[dpdk-dev] [PATCH v6 3/9] l3fwd: add altivec support for em_hash_key

2016-08-16 Thread Gowrishankar Muthukrishnan
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

[dpdk-dev] [PATCH v6 5/9] sched: enable sched library for ppc64le

2016-08-16 Thread Gowrishankar Muthukrishnan
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

[dpdk-dev] [PATCH v6 6/9] port: enable port library for ppc64le

2016-08-16 Thread Gowrishankar Muthukrishnan
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

[dpdk-dev] [PATCH v6 7/9] pipeline: enable pipeline library for ppc64le

2016-08-16 Thread Gowrishankar Muthukrishnan
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

[dpdk-dev] [PATCH v6 4/9] table: enable table library for ppc64le

2016-08-16 Thread Gowrishankar Muthukrishnan
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

[dpdk-dev] [PATCH v6 8/9] ip_pipeline: fix lcore mapping for varying SMT threads as in ppc64

2016-08-16 Thread Gowrishankar Muthukrishnan
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

[dpdk-dev] [PATCH v6 9/9] table: align rte table hash structs for cache line size

2016-08-16 Thread Gowrishankar Muthukrishnan
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

[dpdk-dev] [PATCH v6 9/9] table: align rte table hash structs for cache line size

2016-09-08 Thread gowrishankar muthukrishnan
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