[dpdk-dev] [PATCH v2] examples: fix ip_pipeline to load PMD driver correctly

2016-10-04 Thread Gowrishankar
From: Gowrishankar Muthukrishnan <gowrishanka...@linux.vnet.ibm.com> There is typo in init.c of ip_pipeline example due to which, invalid file path is added to -d option of EAL i.e path starting with =. Signed-off-by: Gowrishankar Muthukrishnan --- examples/ip_pipeline/init.c | 2 +-

[dpdk-dev] [PATCH v2] examples: fix ip_pipeline to load PMD driver correctly

2016-10-04 Thread Gowrishankar
From: Gowrishankar Muthukrishnan <gowrishanka...@linux.vnet.ibm.com> v2: minor correction in patch to avoid space between -d option and driver path Gowrishankar Muthukrishnan (1): examples: fix ip_pipeline to load PMD driver correctly examples/ip_pipeline/init.c | 2 +- 1 file chan

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

2016-09-08 Thread gowrishankar muthukrishnan
Thanks Cristian and Thomas for your feedback. I have taken your suggestions and sent out v7. Please check if the new patch is fine. Thanks, Gowrishankar On Thursday 08 September 2016 03:10 PM, Dumitrescu, Cristian wrote: > >> -Original Message- >> From:

[dpdk-dev] [PATCH v7 9/9] table: fix verification on hash bucket header alignment

2016-09-08 Thread Gowrishankar
From: Gowrishankar Muthukrishnan <gowrishanka...@linux.vnet.ibm.com> In powerpc systems, rte table hash structs rte_bucket_4_8, rte_bucket_4_16 and rte_bucket_4_32 are not cache aligned and hence verification on same would fail. Instead of checking alignment on cpu cacheline, it could e

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

2016-09-08 Thread Gowrishankar
From: Gowrishankar Muthukrishnan <gowrishanka...@linux.vnet.ibm.com> This patch fixes ip_pipeline panic in app_init_core_map while preparing cpu core map in powerpc with SMT off. cpu_core_map_compute_linux currently prepares core mapping based on file existence in sysfs ie. /sys/devices/

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

2016-09-08 Thread Gowrishankar
From: Gowrishankar Muthukrishnan <gowrishanka...@linux.vnet.ibm.com> This patch enables librte_pipeline for ppc64le. Signed-off-by: Gowrishankar Muthukrishnan Acked-by: Chao Zhu --- config/defconfig_ppc_64-power8-linuxapp-gcc | 2 -- 1 file changed, 2 deletions(-) diff --git a/

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

2016-09-08 Thread Gowrishankar
From: Gowrishankar Muthukrishnan <gowrishanka...@linux.vnet.ibm.com> This patch enables librte_port in ppc64le. Signed-off-by: Gowrishankar Muthukrishnan Acked-by: Chao Zhu --- config/defconfig_ppc_64-power8-linuxapp-gcc | 1 - 1 file changed, 1 deletion(-) diff --git a/

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

2016-09-08 Thread Gowrishankar
From: Gowrishankar Muthukrishnan <gowrishanka...@linux.vnet.ibm.com> This patch enables librte_sched in ppc64le. Signed-off-by: Gowrishankar Muthukrishnan Acked-by: Chao Zhu --- config/defconfig_ppc_64-power8-linuxapp-gcc | 1 - 1 file changed, 1 deletion(-) diff --git a/

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

2016-09-08 Thread Gowrishankar
From: Gowrishankar Muthukrishnan <gowrishanka...@linux.vnet.ibm.com> This patch enables librte_table in ppc64le. Signed-off-by: Gowrishankar Muthukrishnan Acked-by: Chao Zhu --- config/defconfig_ppc_64-power8-linuxapp-gcc | 1 - 1 file changed, 1 deletion(-) diff --git a/

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

2016-09-08 Thread Gowrishankar
From: Gowrishankar Muthukrishnan <gowrishanka...@linux.vnet.ibm.com> This patch adds ppc64le port for em_mask_key function. Signed-off-by: Gowrishankar Muthukrishnan Acked-by: Chao Zhu --- examples/l3fwd/l3fwd_em.c | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff

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

2016-09-08 Thread Gowrishankar
From: Gowrishankar Muthukrishnan <gowrishanka...@linux.vnet.ibm.com> This patch adds port for ACL library in ppc64le. Signed-off-by: Gowrishankar Muthukrishnan Acked-by: Konstantin Ananyev Acked-by: Chao Zhu --- app/test-acl/main.c | 4 + config/defconfig_

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

2016-09-08 Thread Gowrishankar
From: Gowrishankar Muthukrishnan <gowrishanka...@linux.vnet.ibm.com> This patch adds ppc64le port for LPM library in DPDK. Signed-off-by: Gowrishankar Muthukrishnan Acked-by: Chao Zhu --- app/test/test_xmmt_ops.h | 16 +++ config/defconfig_ppc_64-power8-linuxa

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

2016-09-08 Thread Gowrishankar
From: Gowrishankar Muthukrishnan <gowrishanka...@linux.vnet.ibm.com> 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: 1. LPM and ACL unit tests passed. Steps: compile test app a

[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 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 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 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 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 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 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 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 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 v4 3/6] ip_pipeline: fix lcore mapping for varying SMT threads as in ppc64

2016-08-12 Thread gowrishankar muthukrishnan
Hi Chao, I have simplified the approach for this patch in v5. * Including ppc64le specific changes * App panic in creating core map only in SMT=off case, so that would be addressed separately. Hoping with new patch set v5, your review would be easier. Regards, Gowrishankar On Friday 12

[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 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 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 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 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 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 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 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 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 v4 3/6] ip_pipeline: fix lcore mapping for varying SMT threads as in ppc64

2016-08-12 Thread gowrishankar muthukrishnan
On Friday 12 August 2016 02:14 PM, Chao Zhu wrote: > Gowrishankar, > > I suggest to set the following value: > > n_max_cores_per_socket = 8 > n_max_ht_per_core = 8 > > This will cover most of the Power8 servers. > Any comments? Sure Chao. I will include this change i

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

2016-08-11 Thread gowrishankar muthukrishnan
On Thursday 11 August 2016 03:59 PM, Chao Zhu wrote: > Gowrishankar, > > Thanks for the detail. > If my understanding is correct, Power8 has different chips. Some of the > OpenPOWER chips have 8 cores per socket. And the max threads per core is 8. > Should we support this in

[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 6/6] l3fwd: add altivec support for em_hash_key

2016-08-06 Thread Gowrishankar Muthukrishnan
From: gowrishankar <gowrishanka...@linux.vnet.ibm.com> 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 b/examples

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

2016-08-06 Thread Gowrishankar Muthukrishnan
From: gowrishankar <gowrishanka...@linux.vnet.ibm.com> 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 b/

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

2016-08-06 Thread Gowrishankar Muthukrishnan
From: gowrishankar <gowrishanka...@linux.vnet.ibm.com> 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 b/lib/librte

[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 <gowrishanka...@linux.vnet.ibm.com> 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

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

2016-08-06 Thread Gowrishankar Muthukrishnan
From: gowrishankar <gowrishanka...@linux.vnet.ibm.com> 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

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

2016-08-06 Thread Gowrishankar Muthukrishnan
From: gowrishankar <gowrishanka...@linux.vnet.ibm.com> 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 - .../common/include/arch/

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

2016-08-06 Thread Gowrishankar Muthukrishnan
nabling libs in config included as part of lib changes itself. gowrishankar (6): lpm: add altivec intrinsics for dpdk lpm on ppc_64 acl: add altivec intrinsics for dpdk acl on ppc_64 ip_pipeline: fix lcore mapping for varying SMT threads as in ppc64 table: cache align rte_bucket_4_8 sched:

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

2016-07-18 Thread gowrishankar muthukrishnan
to check gcc again. Thanks, Gowrishankar On Monday 18 July 2016 02:24 PM, Chao Zhu wrote: > Gowrishankar, > > I still get this error with the v3 patches. My OS is Ubuntu 16.04 LTS > ppc64le. GCC version: Ubuntu/IBM 5.3.1-14ubuntu2 > Can you help to check again? > > In file included

[dpdk-dev] librte_meter compilation fails on IBM Power8

2016-07-16 Thread gowrishankar
I remember I came across this problem some time back (not sure on which tip of master), but certainly it is no more appearing now (atleast today tip 65965546 ..) Just an update. Thanks, Gowrishankar On Friday 24 June 2016 03:19 PM, Chao Zhu wrote: > I can repeat this problem by &quo

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

2016-07-16 Thread gowrishankar
Hi Chao, I did not face this error. Even I verified today with tip of master 6596554... . However I had patch conflict for examples/l3fwd/l3fwd_em.c which is fixed now and v3 patch set sent recently. Could you please check. Thanks, Gowrishankar On Friday 15 July 2016 08:45 AM, Chao Zhu wrote

[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 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 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 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 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 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 0/6] enable lpm, acl and other missing libraries in ppc64le

2016-07-16 Thread Gowrishankar Muthukrishnan
_rules(acl_ipv4vlan_tuple: swap SRC and DST IPv4 order) Test OK RTE>>lpm_autotest Test OK RTE>> 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 (6): lpm: add altivec intri

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

2016-07-11 Thread gowrishankar
Hi Chao, On Monday 11 July 2016 02:25 PM, Chao Zhu wrote: > Gowrishankar, > > Nice patches! Do you have some function test result? I need some time to > verify the patches. Please find below lpm and acl units tests (Test OK at the end of each tests). # ./app/test < EAL/PMD

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

2016-07-10 Thread Gowrishankar
From: gowrishankar <gowrishanka...@linux.vnet.ibm.com> This patch adds ppc64le port for em_mask_key function. Signed-off-by: Gowrishankar --- examples/l3fwd/l3fwd_em.c | 8 1 file changed, 8 insertions(+) diff --git a/examples/l3fwd/l3fwd_em.c b/examples/l3fwd/l3fwd_em.c

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

2016-07-10 Thread Gowrishankar
From: gowrishankar <gowrishanka...@linux.vnet.ibm.com> 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 b/

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

2016-07-10 Thread Gowrishankar
From: gowrishankar <gowrishanka...@linux.vnet.ibm.com> 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 b/lib/librte

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

2016-07-10 Thread Gowrishankar
From: gowrishankar <gowrishanka...@linux.vnet.ibm.com> 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

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

2016-07-10 Thread Gowrishankar
From: gowrishankar <gowrishanka...@linux.vnet.ibm.com> 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

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

2016-07-10 Thread Gowrishankar
From: gowrishankar <gowrishanka...@linux.vnet.ibm.com> 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 - .../common/include/arch/

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

2016-07-10 Thread Gowrishankar
From: gowrishankar <gowrishanka...@linux.vnet.ibm.com> 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 verified as in patch set v1. Same results as before ob

[dpdk-dev] [PATCH 1/6] config: enable lpm, port, table, pipeline, acl, sched libraries for ppc64le

2016-07-09 Thread gowrishankar
u suggest to send individual patchset (or patch) for each feature being enabled, one by one ?. Thanks, Gowrishankar

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

2016-07-07 Thread Gowrishankar
From: gowrishankar <gowrishanka...@linux.vnet.ibm.com> This patch adds ppc64le port for em_mask_key function. Signed-off-by: Gowrishankar --- examples/l3fwd/l3fwd_em.c | 8 1 file changed, 8 insertions(+) diff --git a/examples/l3fwd/l3fwd_em.c b/examples/l3fwd/l3fwd_em.c

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

2016-07-07 Thread Gowrishankar
From: gowrishankar <gowrishanka...@linux.vnet.ibm.com> offline lcore would still refer to original core id and this has to be considered while creating cpu core mask. Signed-off-by: Gowrishankar --- examples/ip_pipeline/cpu_core_map.c | 12 +--- examples/ip_pipeline/init.c

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

2016-07-07 Thread Gowrishankar
From: gowrishankar <gowrishanka...@linux.vnet.ibm.com> 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 b/lib/librte

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

2016-07-07 Thread Gowrishankar
From: gowrishankar <gowrishanka...@linux.vnet.ibm.com> This patch adds ppc64le port for LPM library in DPDK. Signed-off-by: Gowrishankar --- app/test/test_xmmt_ops.h | 16 +++ .../common/include/arch/ppc_64/rte_vect.h | 60 lib/librte_lpm/Ma

[dpdk-dev] [PATCH 1/6] config: enable lpm, port, table, pipeline, acl, sched libraries for ppc64le

2016-07-07 Thread Gowrishankar
From: gowrishankar <gowrishanka...@linux.vnet.ibm.com> In this patch, DPDK libraries such as LPM, port, table, pipeline, ACL, and sched are enabled for ppc64le. Signed-off-by: Gowrishankar --- config/defconfig_ppc_64-power8-linuxapp-gcc | 12 ++-- 1 file changed, 6 insertions

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

2016-07-07 Thread Gowrishankar
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 autotest test results as below. RTE>>lpm_autotest No. routes = 1076806 Route distribution per prefix width: DEPTHQUANTITY

[dpdk-dev] [PATCH 1/6] config: enable lpm, port, table, pipeline, acl, sched libraries for ppc64le

2016-07-07 Thread Gowrishankar
From: gowrishankar <gowrishanka...@linux.vnet.ibm.com> In this patch, DPDK libraries such as LPM, port, table, pipeline, ACL, and sched are enabled for ppc64le. Signed-off-by: Gowrishankar --- config/defconfig_ppc_64-power8-linuxapp-gcc | 12 ++-- 1 file changed, 6 insertions

[dpdk-dev] linking error with dpdk

2016-06-20 Thread gowrishankar
t; /home/ubuntu/raja2/dpdk-2.2.0/lib You need to have CONFIG_RTE_BUILD_COMBINE_LIBS=y if you are trying dpdk-2.2.0 or less. As Ferruh replied earlier, refer to dpdk version what INSTALL.DPDK.md suggests. Thanks, Gowrishankar > ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var > --wi

[dpdk-dev] [PATCH] eal/ppc: fix secondary process to map hugepages in correct order

2016-03-17 Thread gowrishankar
Could this patch be reviewed please. Thanks, Gowrishankar On Monday 07 March 2016 07:43 PM, Gowrishankar wrote: > From: Gowri Shankar > > For a secondary process address space to map hugepages from every segment of > primary process, hugepage_file entries has to be mapped re

[dpdk-dev] [PATCH] eal/ppc: fix secondary process to map hugepages in correct order

2016-03-07 Thread Gowrishankar
ppc64, hugepages are sorted for decrementing addresses. Signed-off-by: Gowrishankar --- lib/librte_eal/linuxapp/eal/eal_memory.c | 26 -- 1 file changed, 16 insertions(+), 10 deletions(-) diff --git a/lib/librte_eal/linuxapp/eal/eal_memory.c b/lib/librte_eal/linuxa

[dpdk-dev] [ovs-dev] dpdkvhostuser fail to alloc memory when receive packet from other host

2015-06-17 Thread gowrishankar
On Wednesday 17 June 2015 03:19 PM, Du, Fan wrote: > Hi, > > I'm playing dpdkvhostuser ports with latest DPDK and ovs master tree with > iperf benchmarking. > When kvm guest1(backed up dpdkvhostuser port)siting on HOST1 is receiving > packets from either other physical HOST2, > or similar kvm