Re: [lng-odp] [API-NEXT PATCH v2 00/16] A scalable software scheduler

2017-04-06 Thread Jerin Jacob
-Original Message- > Date: Thu, 6 Apr 2017 12:54:10 +0200 > From: Ola Liljedahl <ola.liljed...@linaro.org> > To: Brian Brooks <brian.bro...@arm.com> > Cc: Jerin Jacob <jerin.ja...@caviumnetworks.com>, > "lng-odp@lists.linaro.org" <lng-odp@l

Re: [lng-odp] [API-NEXT PATCH v2 00/16] A scalable software scheduler

2017-04-05 Thread Jerin Jacob
-Original Message- > Date: Tue, 4 Apr 2017 13:47:52 -0500 > From: Brian Brooks > To: lng-odp@lists.linaro.org > Subject: [lng-odp] [API-NEXT PATCH v2 00/16] A scalable software scheduler > X-Mailer: git-send-email 2.12.2 > > This work derives from Ola Liljedahl's

Re: [lng-odp] thread/shmem discussion summary V4

2016-06-09 Thread Jerin Jacob
fferent handles for a physical resource on multiprocess environment. Portable applications should not send the "handles" in some other means to other process(like IPC) and access it.Instead, use lookup API to get the handle in other process for a given odp resource. Jerin > > Thanks, >

Re: [lng-odp] thread/shmem discussion summary V4

2016-06-09 Thread Jerin Jacob
On Thu, Jun 09, 2016 at 02:13:49PM +0200, Christophe Milard wrote: > Bill: > S19: When you write:"These addresses are intended to be used within > the scope of the calling thread and should not be assumed to have any > validity outside of that context", do you really mean this, regardless > on how

Re: [lng-odp] thread/shmem discussion summary V4

2016-06-08 Thread Jerin Jacob
On Fri, Jun 03, 2016 at 11:15:43AM +0200, Christophe Milard wrote: > since V3: Update following Bill's comments > since V2: Update following Barry and Bill's comments > since V1: Update following arch call 31 may 2016 > > This is a tentative to sum up the discussions around the thread/process >

Re: [lng-odp] [API-NEXT PATCHv2 2/4] api: cpu: add routines for obtaining socket ids

2016-03-28 Thread Jerin Jacob
> > >On Thu, Mar 24, 2016 at 2:32 AM, Jerin Jacob > ><jerin.ja...@caviumnetworks.com <mailto:jerin.ja...@caviumnetworks.com>> > >wrote: > > > >On Thu, Mar 24, 2016 at 01:46:44AM +0200, Nikolay Nikolaev wrote: > >> On Thu, Mar 24

Re: [lng-odp] [API-NEXT PATCH] api: clib: added standard c library api

2015-10-19 Thread Jerin Jacob
volai...@nokia.com> Reviewed-by: Jerin Jacob <jerin.ja...@caviumnetworks.com> > --- > include/odp.h | 1 + > include/odp/api/std_clib.h| 64 > +++ > platform/linux-generic/Makefile.am|

Re: [lng-odp] [API-NEXT PATCH v3 1/3] api: packet: allow access to packet RSS hash values

2015-08-20 Thread Jerin Jacob
On Thu, Aug 20, 2015 at 03:20:46PM +0100, Zoltan Kiss wrote: Hi, On 20/08/15 11:53, Jerin Jacob wrote: How about following change in OVS plarform specific packet_get_hash code. odp_packet_rss_hash_set kind of interface wont fit correctly in octeon platform as hash identifier used

Re: [lng-odp] [API-NEXT PATCH v3 1/3] api: packet: allow access to packet RSS hash values

2015-08-20 Thread Jerin Jacob
On Thu, Aug 20, 2015 at 04:52:29PM +0530, Santosh Shukla wrote: On 20 August 2015 at 16:23, Jerin Jacob jerin.ja...@caviumnetworks.com wrote: On Thu, Aug 20, 2015 at 03:30:23PM +0530, Santosh Shukla wrote: On 20 August 2015 at 14:48, Balasubramanian Manoharan bala.manoha...@linaro.org

Re: [lng-odp] [API-NEXT PATCH v3 1/3] api: packet: allow access to packet RSS hash values

2015-08-20 Thread Jerin Jacob
On Thu, Aug 20, 2015 at 03:30:23PM +0530, Santosh Shukla wrote: On 20 August 2015 at 14:48, Balasubramanian Manoharan bala.manoha...@linaro.org wrote: On Sunday 16 August 2015 06:14 PM, Santosh Shukla wrote: On 15 August 2015 at 00:12, Zoltan Kiss zoltan.k...@linaro.org wrote:

Re: [lng-odp] [API-NEXT PATCH] api: crypto: add crypto IPSec extension

2015-07-30 Thread Jerin Jacob
On Wed, Jul 22, 2015 at 11:26:03AM +0300, alexandru.badici...@linaro.org wrote: From: Alexandru Badicioiu alexandru.badici...@linaro.org This patch adds IPSec protocol processing capabilities to crypto sesssions. Implementations which have these capabilities in hardware crypto engines can

Re: [lng-odp] [API-NEXT PATCH 1/3] api: queue: allow for anonymous queues

2015-07-13 Thread Jerin Jacob
On Mon, Jul 13, 2015 at 04:11:28PM -0500, Bill Fischofer wrote: Signed-off-by: Bill Fischofer bill.fischo...@linaro.org --- include/odp/api/queue.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/odp/api/queue.h b/include/odp/api/queue.h index 297067d..7f46892

Re: [lng-odp] [PATCH 2/2] validation: timer: introduce CONFIG_MIN_TICK option in timer test case

2015-06-25 Thread Jerin Jacob
On Wed, Jun 24, 2015 at 01:34:07PM +0200, Ola Liljedahl wrote: On 10 June 2015 at 16:08, Jerin Jacob jerin.ja...@caviumnetworks.com wrote: This option is to specify minimum number ticks (delta between future tick and current tick) required to successfully reset/set the timer. some

[lng-odp] [PATCH] validation: pktio: remove linux-generic internal header file from validation test

2015-06-16 Thread Jerin Jacob
Signed-off-by: Jerin Jacob jerin.ja...@caviumnetworks.com --- test/validation/pktio/pktio.c | 1 - 1 file changed, 1 deletion(-) diff --git a/test/validation/pktio/pktio.c b/test/validation/pktio/pktio.c index 8cfa269..5911ca7 100644 --- a/test/validation/pktio/pktio.c +++ b/test/validation

Re: [lng-odp] [PATCH v1] validation: timer: save expected expiration tick only on success

2015-06-10 Thread Jerin Jacob
On Tue, Jun 09, 2015 at 08:26:28AM +0530, Jerin Jacob wrote: ping. otherwise tt[i].tick in handle_tmo will be a wrong value in case timer set failed due to ODP_TIMER_NOEVENT(failed to cancel the outstanding timer). some hardware timer implementations needs at least two ticks gap between

[lng-odp] [PATCH 1/2] validation: timer: added an assert to catch any timer dispatch race to different worker and/or queue

2015-06-10 Thread Jerin Jacob
timer validation program creates each worker thread and associate a private queue for event delivery. With out this assert its difficult debug if there is any race issue in timer event dispatch. Signed-off-by: Jerin Jacob jerin.ja...@caviumnetworks.com --- test/validation/odp_timer.c | 6

[lng-odp] [PATCH 2/2] validation: timer: introduce CONFIG_MIN_TICK option in timer test case

2015-06-10 Thread Jerin Jacob
of this behavior by introducing CONFIG_MIN_TICK Signed-off-by: Jerin Jacob jerin.ja...@caviumnetworks.com --- test/validation/odp_timer.c | 57 - 1 file changed, 36 insertions(+), 21 deletions(-) diff --git a/test/validation/odp_timer.c b/test/validation

[lng-odp] [PATCH v1] validation: timer: save expected expiration tick only on success

2015-06-08 Thread Jerin Jacob
-off-by: Jerin Jacob jerin.ja...@caviumnetworks.com Reviewed-by: Ola Liljedahl ola.liljed...@linaro.org --- v1: enclosed braces around the new if check as other if/else-branches use braces test/validation/odp_timer.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/test

[lng-odp] [PATCH] validation: timer: save expected expiration tick only on success

2015-06-05 Thread Jerin Jacob
-off-by: Jerin Jacob jerin.ja...@caviumnetworks.com --- test/validation/odp_timer.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/validation/odp_timer.c b/test/validation/odp_timer.c index 554b353..852343a 100644 --- a/test/validation/odp_timer.c +++ b/test

Re: [lng-odp] [RFCv3] Add message I/O (MSGIO) API's

2015-06-02 Thread Jerin Jacob
On Tue, Jun 02, 2015 at 02:36:47PM +0200, BenoƮt Ganne wrote: Hi Ola, all, On 05/27/2015 10:08 AM, Ola Liljedahl wrote: Here is my third attempt at a ODP API for MSGIO - asynchronous message passing based IPC for a shared nothing architecture. I understand the value of this, but I feel

Re: [lng-odp] [API-NEXT PATCH] api-next: pktio: add odp_pktio_send_complete() definition

2015-05-29 Thread Jerin Jacob
On Fri, May 29, 2015 at 04:21:03PM +0200, Ola Liljedahl wrote: On 29 May 2015 at 13:55, Zoltan Kiss zoltan.k...@linaro.org wrote: On 28/05/15 17:40, Ola Liljedahl wrote: On 28 May 2015 at 17:23, Zoltan Kiss zoltan.k...@linaro.org mailto:zoltan.k...@linaro.org wrote: On

Re: [lng-odp] [PATCH] validation: queue: schedule parameters are not valid for poll type queue

2015-05-28 Thread Jerin Jacob
test, should we rename it and retain it as a valid test case for passing an non valid params ? On 22 May 2015 at 07:43, Jerin Jacob jerin.ja...@caviumnetworks.com wrote: Signed-off-by: Jerin Jacob jerin.ja...@caviumnetworks.com --- test/validation/odp_queue.c | 8 +--- 1 file

[lng-odp] [PATCH] validation: schedule: fix maybe-uninitialized warnings when odp_schedule() compile as inline function

2015-05-28 Thread Jerin Jacob
' odp_schedule.c: In function 'schedule_common_': odp_schedule.c:218:4: error: 'from' may be used uninitialized in this function [-Werror=maybe-uninitialized] Signed-off-by: Jerin Jacob jerin.ja...@caviumnetworks.com --- test/validation/odp_scheduler.c | 3 ++- 1 file changed, 2 insertions(+), 1

[lng-odp] [PATCH] validation: queue: schedule parameters are not valid for poll type queue

2015-05-22 Thread Jerin Jacob
Signed-off-by: Jerin Jacob jerin.ja...@caviumnetworks.com --- test/validation/odp_queue.c | 8 +--- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/test/validation/odp_queue.c b/test/validation/odp_queue.c index 5123939..01a704c 100644 --- a/test/validation/odp_queue.c +++ b/test

Re: [lng-odp] odp timer unit test case question

2015-05-21 Thread Jerin Jacob
On Wed, May 20, 2015 at 05:28:24PM +0200, Ola Liljedahl wrote: On 20 May 2015 at 16:16, Jerin Jacob jerin.ja...@caviumnetworks.com wrote: On Wed, May 20, 2015 at 12:42:29PM +0200, Ola Liljedahl wrote: On 20 May 2015 at 06:56, Jerin Jacob jerin.ja...@caviumnetworks.com wrote: On Wed, May

Re: [lng-odp] odp timer unit test case question

2015-05-20 Thread Jerin Jacob
On Wed, May 20, 2015 at 12:42:29PM +0200, Ola Liljedahl wrote: On 20 May 2015 at 06:56, Jerin Jacob jerin.ja...@caviumnetworks.com wrote: On Wed, May 20, 2015 at 12:25:12AM +0200, Ola Liljedahl wrote: On 19 May 2015 at 15:34, Jacob, Jerin jerin.ja...@caviumnetworks.com wrote: Ola

Re: [lng-odp] odp timer unit test case question

2015-05-19 Thread Jerin Jacob
On Wed, May 20, 2015 at 12:25:12AM +0200, Ola Liljedahl wrote: On 19 May 2015 at 15:34, Jacob, Jerin jerin.ja...@caviumnetworks.com wrote: Ola, Is there any specific reason for following check in timer validation test ? pa diff --git a/test/validation/odp_timer.c

Re: [lng-odp] [PATCH v2] example: timer: remove global variables to share the data between workers

2015-05-08 Thread Jerin Jacob
On Wed, Apr 29, 2015 at 03:49:06PM -0400, Mike Holmes wrote: On 27 April 2015 at 12:19, Jerin Jacob jerin.ja...@caviumnetworks.com wrote: use the odp_shared_memory allocater instead of global variables to enable the timer example to run on baremetal/linux process execution environments

Re: [lng-odp] NUMA aware memory allocation?

2015-05-08 Thread Jerin Jacob
On Thu, May 07, 2015 at 05:00:54PM +0100, Zoltan Kiss wrote: Hi, I'm not aware of any such interface, but others with more knowledge can comment about it. The ODP-DPDK implementation creates buffer pools on the NUMA node where the pool create function were actually called. current ODP spec

Re: [lng-odp] [API-NEXT PATCH v2] timer: Add missing platform handles to u64 conversion functions

2015-04-24 Thread Jerin Jacob
for pointing it out. Patch merged to api-next. Thanks, Maxim. On 04/24/15 09:14, Jerin Jacob wrote: On Mon, Apr 20, 2015 at 04:22:15PM +0530, Jerin Jacob wrote: ping v1..v2 Removed RFC Signed-off-by: Jerin Jacob jerin.ja...@caviumnetworks.com --- include/odp/api/timer.h | 39

Re: [lng-odp] [PATCH] example: timer: remove global variables to share the data between workers

2015-04-24 Thread Jerin Jacob
On Fri, Apr 24, 2015 at 11:39:58AM +0300, Maxim Uvarov wrote: On 04/20/15 11:28, Jerin Jacob wrote: +/* Reserve memory for test_globals_t from shared mem */ +shm = odp_shm_reserve(shm_test_globals, sizeof(test_globals_t), + ODP_CACHE_LINE_SIZE, 0

Re: [lng-odp] [API-NEXT PATCH v2] timer: Add missing platform handles to u64 conversion functions

2015-04-24 Thread Jerin Jacob
On Mon, Apr 20, 2015 at 04:22:15PM +0530, Jerin Jacob wrote: ping v1..v2 Removed RFC Signed-off-by: Jerin Jacob jerin.ja...@caviumnetworks.com --- include/odp/api/timer.h | 39 +++ 1 file changed, 39 insertions(+) diff --git a/include/odp/api

Re: [lng-odp] [PATCH] example: timer: remove global variables to share the data between workers

2015-04-24 Thread Jerin Jacob
On Mon, Apr 20, 2015 at 02:05:50PM +0530, Jerin Jacob wrote: ping Adding the the complete git commit log for the commit example: timer: remove global variables to share the data between workers. use the odp_shared_memory allocater instead to enable the timer example to run on baremetal

Re: [lng-odp] [PATCH] example: timer: remove global variables to share the data between workers

2015-04-20 Thread Jerin Jacob
+0530, Jerin Jacob wrote: Signed-off-by: Jerin Jacob jerin.ja...@caviumnetworks.com --- example/timer/odp_timer_test.c | 124 + 1 file changed, 65 insertions(+), 59 deletions(-) diff --git a/example/timer/odp_timer_test.c b/example/timer

[lng-odp] [RFC API-NEXT PATCH] timer: Add missing platform handles to u64 conversion functions

2015-04-20 Thread Jerin Jacob
Signed-off-by: Jerin Jacob jerin.ja...@caviumnetworks.com --- include/odp/api/timer.h | 39 +++ 1 file changed, 39 insertions(+) diff --git a/include/odp/api/timer.h b/include/odp/api/timer.h index 0dc9415..435c004 100644 --- a/include/odp/api/timer.h +++ b

[lng-odp] [PATCH] example: timer: remove global variables to share the data between workers

2015-04-20 Thread Jerin Jacob
Signed-off-by: Jerin Jacob jerin.ja...@caviumnetworks.com --- example/timer/odp_timer_test.c | 124 + 1 file changed, 65 insertions(+), 59 deletions(-) diff --git a/example/timer/odp_timer_test.c b/example/timer/odp_timer_test.c index 6b60ec4..876bf33

Re: [lng-odp] NO ODP API for Packet classification and Packet Shaping

2015-04-07 Thread Jerin Jacob
On Tue, Apr 07, 2015 at 12:01:30PM +0300, Taras Kondratiuk wrote: On 04/06/2015 07:41 PM, Bill Fischofer wrote: I would call these pool groups for symmetry with queue groups and so the API would be odp_pool_create_group(), odp_pool_destroy_group(), etc. If it is called pool group, then it

Re: [lng-odp] NO ODP API for Packet classification and Packet Shaping

2015-04-07 Thread Jerin Jacob
On Tue, Apr 07, 2015 at 01:58:51PM +0300, Taras Kondratiuk wrote: On 04/07/2015 12:40 PM, Jerin Jacob wrote: On Tue, Apr 07, 2015 at 12:01:30PM +0300, Taras Kondratiuk wrote: On 04/06/2015 07:41 PM, Bill Fischofer wrote: I would call these pool groups for symmetry with queue groups and so

Re: [lng-odp] [RFC v3 0/4] Move the definition of odp syncronizers abstract types to platform

2015-03-20 Thread Jerin Jacob
On Wed, Mar 18, 2015 at 11:29:03AM -0500, Bill Fischofer wrote: Ping This version looks good. For this series: Reviewed-and-tested-by: Bill Fischofer bill.fischo...@linaro.org On Wed, Mar 18, 2015 at 9:11 AM, Jerin Jacob jerin.ja...@caviumnetworks.com wrote: Move the definition

[lng-odp] [RFC v3 4/4] barrier: allow platform to override odp_barrier_t

2015-03-18 Thread Jerin Jacob
Signed-off-by: Jerin Jacob jerin.ja...@caviumnetworks.com --- include/odp/api/barrier.h | 7 +--- platform/linux-generic/Makefile.am | 1 + platform/linux-generic/include/odp/barrier.h | 1 + .../linux-generic/include/odp/plat/barrier_types.h | 47

[lng-odp] [RFC v3 1/4] spinlock: allow platform to override odp_spinlock_t

2015-03-18 Thread Jerin Jacob
Signed-off-by: Jerin Jacob jerin.ja...@caviumnetworks.com --- include/odp/api/spinlock.h | 10 + platform/linux-generic/Makefile.am | 1 + .../include/odp/plat/spinlock_types.h | 46 ++ platform/linux-generic/include

[lng-odp] [RFC v3 3/4] ticketlock: allow platform to override odp_ticketlock_t

2015-03-18 Thread Jerin Jacob
Signed-off-by: Jerin Jacob jerin.ja...@caviumnetworks.com --- include/odp/api/ticketlock.h | 12 +- platform/linux-generic/Makefile.am | 1 + .../include/odp/plat/ticketlock_types.h| 46 ++ platform/linux-generic/include

[lng-odp] [RFC v3 0/4] Move the definition of odp syncronizers abstract types to platform

2015-03-18 Thread Jerin Jacob
the Doxygen documentation issues identified by Petri v2..v3 Fixed compilation issues in 'make distcheck' identified by Bill Jerin Jacob (4): spinlock: allow platform to override odp_spinlock_t rwlock: allow platform to override odp_rwlock_t ticketlock: allow platform to override odp_ticketlock_t

[lng-odp] [RFC v3 2/4] rwlock: allow platform to override odp_rwlock_t

2015-03-18 Thread Jerin Jacob
Signed-off-by: Jerin Jacob jerin.ja...@caviumnetworks.com --- include/odp/api/rwlock.h | 11 + platform/linux-generic/Makefile.am | 1 + .../linux-generic/include/odp/plat/rwlock_types.h | 48 ++ platform/linux-generic/include

[lng-odp] [RFC 1/4] spinlock: allow platform to override odp_spinlock_t

2015-03-17 Thread Jerin Jacob
Signed-off-by: Jerin Jacob jerin.ja...@caviumnetworks.com --- include/odp/api/spinlock.h | 10 -- .../include/odp/plat/spinlock_types.h | 42 ++ platform/linux-generic/include/odp/spinlock.h | 2 ++ 3 files changed, 44 insertions

[lng-odp] [RFC 3/4] ticketlock: allow platform to override odp_ticketlock_t

2015-03-17 Thread Jerin Jacob
Signed-off-by: Jerin Jacob jerin.ja...@caviumnetworks.com --- include/odp/api/ticketlock.h | 12 -- .../include/odp/plat/ticketlock_types.h| 43 ++ platform/linux-generic/include/odp/ticketlock.h| 2 + 3 files changed, 45 insertions

[lng-odp] [RFC 4/4] barrier: allow platform to override odp_barrier_t

2015-03-17 Thread Jerin Jacob
Signed-off-by: Jerin Jacob jerin.ja...@caviumnetworks.com --- include/odp/api/barrier.h | 9 - platform/linux-generic/include/odp/barrier.h | 1 + .../linux-generic/include/odp/plat/barrier_types.h | 44 ++ 3 files changed, 45 insertions

[lng-odp] [RFC 0/4] Move the definition of odp syncronizers abstract types to platform

2015-03-17 Thread Jerin Jacob
Move the definition of odp syncronizers abstract types to platform from public headerfile. This will allow platform define odp syncronizers abstract type. Useful when native SDK has definition of the odp syncronizers and ODP implementation decides to reuses them. Jerin Jacob (4): spinlock

[lng-odp] [RFC 2/4] rwlock: allow platform to override odp_rwlock_t

2015-03-17 Thread Jerin Jacob
Signed-off-by: Jerin Jacob jerin.ja...@caviumnetworks.com --- include/odp/api/rwlock.h | 12 -- .../linux-generic/include/odp/plat/rwlock_types.h | 45 ++ platform/linux-generic/include/odp/rwlock.h| 2 + 3 files changed, 47 insertions

[lng-odp] [RFC v2 2/4] rwlock: allow platform to override odp_rwlock_t

2015-03-17 Thread Jerin Jacob
Signed-off-by: Jerin Jacob jerin.ja...@caviumnetworks.com --- include/odp/api/rwlock.h | 11 + .../linux-generic/include/odp/plat/rwlock_types.h | 48 ++ platform/linux-generic/include/odp/rwlock.h| 2 + 3 files changed, 52 insertions

[lng-odp] [RFC v2 3/4] ticketlock: allow platform to override odp_ticketlock_t

2015-03-17 Thread Jerin Jacob
Signed-off-by: Jerin Jacob jerin.ja...@caviumnetworks.com --- include/odp/api/ticketlock.h | 12 +- .../include/odp/plat/ticketlock_types.h| 46 ++ platform/linux-generic/include/odp/ticketlock.h| 2 + 3 files changed, 50 insertions

[lng-odp] [RFC v2 0/4] Move the definition of odp syncronizers abstract types to platform

2015-03-17 Thread Jerin Jacob
documentation issues proposed by Petri Jerin Jacob (4): spinlock: allow platform to override odp_spinlock_t rwlock: allow platform to override odp_rwlock_t ticketlock: allow platform to override odp_ticketlock_t barrier: allow platform to override odp_barrier_t include/odp/api/barrier.h

[lng-odp] [RFC v2 1/4] spinlock: allow platform to override odp_spinlock_t

2015-03-17 Thread Jerin Jacob
Signed-off-by: Jerin Jacob jerin.ja...@caviumnetworks.com --- include/odp/api/spinlock.h | 10 + .../include/odp/plat/spinlock_types.h | 46 ++ platform/linux-generic/include/odp/spinlock.h | 2 + 3 files changed, 50 insertions

[lng-odp] [RFC v2 4/4] barrier: allow platform to override odp_barrier_t

2015-03-17 Thread Jerin Jacob
Signed-off-by: Jerin Jacob jerin.ja...@caviumnetworks.com --- include/odp/api/barrier.h | 7 +--- platform/linux-generic/include/odp/barrier.h | 1 + .../linux-generic/include/odp/plat/barrier_types.h | 47 ++ 3 files changed, 49 insertions

Re: [lng-odp] classification tests scheduled queues

2015-02-03 Thread Jerin Jacob
On Tue, Feb 03, 2015 at 01:07:15PM +, Radu-Andrei Bulie wrote: As I said in my comment we could use two approaches.(poll or data path thread). How about the scheme(#define IPSEC_POLL_QUEUES) followed in existing example/ipsec to abstract polled vs schedule mode ? The one you mentioned

Re: [lng-odp] [PATCH 2/3] validation: buffer: fix for the use of cached return value of odp_packet_last_seg

2015-01-28 Thread Jerin Jacob
specification hence this patch is not applicable. validation: buffer: check the return value of odp_packet_l?_offset_set can be included in 0.10 On 27 January 2015 at 09:12, Mike Holmes mike.hol...@linaro.org wrote: Can we resolve this for 0.10.0 On 25 January 2015 at 22:40, Jerin Jacob

Re: [lng-odp] [PATCH 2/3] validation: buffer: fix for the use of cached return value of odp_packet_last_seg

2015-01-25 Thread Jerin Jacob
On Sun, Jan 25, 2015 at 03:01:24PM +0200, Taras Kondratiuk wrote: On 01/24/2015 08:06 PM, Bill Fischofer wrote: The issue is not whether the number of segments is changed but whether the pkt handle is changed. APIs that potentially substitute a new handle must return a handle. If a handle

Re: [lng-odp] [PATCH] helper: ip: add IP protocol value for sctp

2015-01-20 Thread Jerin Jacob
On Mon, Jan 19, 2015 at 06:49:35PM +0300, Maxim Uvarov wrote: On 01/19/2015 02:44 PM, Jerin Jacob wrote: Signed-off-by: Jerin Jacob jerin.ja...@caviumnetworks.com --- helper/include/odph_ip.h | 1 + 1 file changed, 1 insertion(+) diff --git a/helper/include/odph_ip.h b/helper/include

Re: [lng-odp] odp_packet API queries

2015-01-20 Thread Jerin Jacob
On Mon, Jan 19, 2015 at 10:17:22AM -0600, Bill Fischofer wrote: On Mon, Jan 19, 2015 at 10:00 AM, Jerin Jacob jerin.ja...@caviumnetworks.com wrote: On Mon, Jan 19, 2015 at 09:26:08AM -0600, Bill Fischofer wrote: On Mon, Jan 19, 2015 at 7:22 AM, Jerin Jacob jerin.ja

Re: [lng-odp] [PATCH] validation: add odp_schedule_pause and odp_schedule_resume tests

2015-01-20 Thread Jerin Jacob
was decided? On Tue, Jan 6, 2015 at 7:17 AM, Ciprian Barbu ciprian.ba...@linaro.org wrote: On Wed, Dec 17, 2014 at 5:09 PM, Jerin Jacob jerin.ja...@caviumnetworks.com wrote: On Wed, Dec 17, 2014 at 03:10:11PM +0200, Ciprian Barbu wrote: Signed-off-by: Ciprian Barbu ciprian.ba

[lng-odp] [PATCH] helper: ip: add IP protocol value for sctp

2015-01-19 Thread Jerin Jacob
Signed-off-by: Jerin Jacob jerin.ja...@caviumnetworks.com --- helper/include/odph_ip.h | 1 + 1 file changed, 1 insertion(+) diff --git a/helper/include/odph_ip.h b/helper/include/odph_ip.h index 272fd96..f2638ba 100644 --- a/helper/include/odph_ip.h +++ b/helper/include/odph_ip.h @@ -167,6

Re: [lng-odp] [PATCH] helper: ip: add IP protocol value for sctp

2015-01-19 Thread Jerin Jacob
, Jan 19, 2015 at 5:44 AM, Jerin Jacob jerin.ja...@caviumnetworks.com wrote: Signed-off-by: Jerin Jacob jerin.ja...@caviumnetworks.com --- helper/include/odph_ip.h | 1 + 1 file changed, 1 insertion(+) diff --git a/helper/include/odph_ip.h b/helper/include/odph_ip.h index 272fd96

Re: [lng-odp] odp_packet API queries

2015-01-19 Thread Jerin Jacob
to add a ODP_CONFIG or odp_packet_alloc of len == 0 for default packet size On Mon, Jan 19, 2015 at 3:27 AM, Jerin Jacob jerin.ja...@caviumnetworks.com wrote: On Sat, Jan 17, 2015 at 09:45:12AM -0600, Bill Fischofer wrote: Application-visible sizes refer to application-visible data

Re: [lng-odp] odp_packet API queries

2015-01-19 Thread Jerin Jacob
On Mon, Jan 19, 2015 at 09:26:08AM -0600, Bill Fischofer wrote: On Mon, Jan 19, 2015 at 7:22 AM, Jerin Jacob jerin.ja...@caviumnetworks.com wrote: On Mon, Jan 19, 2015 at 06:09:34AM -0600, Bill Fischofer wrote: I think Petri should weigh in on these questions. For the first one, what

Re: [lng-odp] odp_packet API queries

2015-01-19 Thread Jerin Jacob
On Sat, Jan 17, 2015 at 09:45:12AM -0600, Bill Fischofer wrote: Application-visible sizes refer to application-visible data. Metadata is always implementation-specific and not included in such counts. Metadata is off books data that is associated with the packet but is not part of any

Re: [lng-odp] [PATCH 00/15] Event introduction

2015-01-19 Thread Jerin Jacob
, 2015 at 6:16 AM, Jerin Jacob jerin.ja...@caviumnetworks.com wrote: On Thu, Jan 15, 2015 at 05:40:08PM +0200, Petri Savolainen wrote: This patches introduces odp_event_t and replaces with that the usage of odp_buffer_t as the super class for other buffer types. What used

[lng-odp] [PATCH 3/3] validation: buffer: enable packet validation test to run on SW emulated odp packet pool on HW

2015-01-17 Thread Jerin Jacob
buffer. So in this specific case assumption of later pool have only one buffer is not valid. Signed-off-by: Jerin Jacob jerin.ja...@caviumnetworks.com --- test/validation/buffer/odp_packet_test.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/test/validation/buffer/odp_packet_test.c b/test

[lng-odp] [PATCH 1/3] validation: buffer: check the return value of odp_packet_l?_offset_set

2015-01-17 Thread Jerin Jacob
Signed-off-by: Jerin Jacob jerin.ja...@caviumnetworks.com --- test/validation/buffer/odp_packet_test.c | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/test/validation/buffer/odp_packet_test.c b/test/validation/buffer/odp_packet_test.c index d073b49..b6fa028 100644

[lng-odp] [PATCH 2/3] validation: buffer: fix for the use of cached return value of odp_packet_last_seg

2015-01-17 Thread Jerin Jacob
odp_packet_seg_t is an opaque type, based on the implementation, the return value of odp_packet_last_seg can be changed after headroom/tailroom push/pull operation. Signed-off-by: Jerin Jacob jerin.ja...@caviumnetworks.com --- test/validation/buffer/odp_packet_test.c | 3 +++ 1 file changed, 3

Re: [lng-odp] [PATCH 00/15] Event introduction

2015-01-17 Thread Jerin Jacob
On Thu, Jan 15, 2015 at 05:40:08PM +0200, Petri Savolainen wrote: This patches introduces odp_event_t and replaces with that the usage of odp_buffer_t as the super class for other buffer types. What used to be a buffer type is now an event type. Should we also introduce a new buffer type that

[lng-odp] [PATCH] ipsec: corrected create_ipsec_cache_entry's out_pool argument handle type

2015-01-06 Thread Jerin Jacob
Signed-off-by: Jerin Jacob jerin.ja...@caviumnetworks.com --- example/ipsec/odp_ipsec_cache.c | 2 +- example/ipsec/odp_ipsec_cache.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/example/ipsec/odp_ipsec_cache.c b/example/ipsec/odp_ipsec_cache.c index 7a0c813..4447163

[lng-odp] [PATCH v2] example: ipsec: corrected create_ipsec_cache_entry's out_pool argument handle type

2015-01-06 Thread Jerin Jacob
Signed-off-by: Jerin Jacob jerin.ja...@caviumnetworks.com --- example/ipsec/odp_ipsec_cache.c | 2 +- example/ipsec/odp_ipsec_cache.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/example/ipsec/odp_ipsec_cache.c b/example/ipsec/odp_ipsec_cache.c index 7a0c813..4447163

Re: [lng-odp] [PATCH v2] validation: add odp_time test

2015-01-03 Thread Jerin Jacob
On Mon, Dec 29, 2014 at 11:08:58AM -0500, Mike Holmes wrote: Add odp_time_x API tests Signed-off-by: Mike Holmes mike.hol...@linaro.org --- v2: fix bad auto merge of Makefile.am clean up names test/validation/.gitignore | 1 + test/validation/Makefile.am | 5 ++--

Re: [lng-odp] [PATCH] validation: thread: add thread tests

2014-12-30 Thread Jerin Jacob
On Mon, Dec 29, 2014 at 09:24:01PM -0500, Mike Holmes wrote: Add tests for odp_thread_core and odp_thread_id Signed-off-by: Mike Holmes mike.hol...@linaro.org --- test/validation/.gitignore | 1 + test/validation/Makefile.am | 5 +++-- test/validation/odp_thread.c | 47

Re: [lng-odp] [PATCH v3] validation: add odp_system test

2014-12-21 Thread Jerin Jacob
On Fri, Dec 19, 2014 at 01:23:31PM -0500, Mike Holmes wrote: add tests for ODP system_info interface Signed-off-by: Mike Holmes mike.hol...@linaro.org Reviewed by: Jerin Jacob jerin.ja...@caviumnetworks.com --- Add additional assert to page size test/validation/.gitignore | 1

Re: [lng-odp] [PATCH 3/3] test: odp_timer.h: cunit test

2014-12-17 Thread Jerin Jacob
On Wed, Dec 17, 2014 at 09:28:48AM +0530, Jerin Jacob wrote: On Mon, Dec 08, 2014 at 11:49:46PM +0100, Ola Liljedahl wrote: Signed-off-by: Ola Liljedahl ola.liljed...@linaro.org --- (This document/code contribution attached is provided under the terms of agreement LES-LTM-21309) A new

Re: [lng-odp] [PATCH 3/3] test: odp_timer.h: cunit test

2014-12-17 Thread Jerin Jacob
On Wed, Dec 17, 2014 at 11:05:52AM +0100, Ola Liljedahl wrote: On 17 December 2014 at 10:19, Jerin Jacob jerin.ja...@caviumnetworks.com wrote: On Wed, Dec 17, 2014 at 09:28:48AM +0530, Jerin Jacob wrote: On Mon, Dec 08, 2014 at 11:49:46PM +0100, Ola Liljedahl wrote: Signed-off-by: Ola

Re: [lng-odp] [PATCH] validation: add odp_schedule_pause and odp_schedule_resume tests

2014-12-17 Thread Jerin Jacob
On Wed, Dec 17, 2014 at 03:10:11PM +0200, Ciprian Barbu wrote: Signed-off-by: Ciprian Barbu ciprian.ba...@linaro.org --- test/validation/odp_schedule.c | 63 ++ 1 file changed, 58 insertions(+), 5 deletions(-) diff --git

Re: [lng-odp] [PATCH 1/1] validation: synchronizer tests

2014-12-16 Thread Jerin Jacob
On Tue, Dec 16, 2014 at 10:15:20AM +, Mario Torrecillas Rodriguez wrote: This is a first stab at synchroniser tests, which contains contributions from Yan and Barry. I reviewed the code, fixed a couple of functional issues, merged both in a common test suite and adapted most of the coding

Re: [lng-odp] [PATCH 3/3] test: odp_timer.h: cunit test

2014-12-16 Thread Jerin Jacob
On Mon, Dec 08, 2014 at 11:49:46PM +0100, Ola Liljedahl wrote: Signed-off-by: Ola Liljedahl ola.liljed...@linaro.org --- (This document/code contribution attached is provided under the terms of agreement LES-LTM-21309) A new cunit test program test/validation/odp_timer.c for the updated timer

Re: [lng-odp] [PATCH] configure.ac check for atomic operations support

2014-12-14 Thread Jerin Jacob
On Fri, Dec 12, 2014 at 10:56:26PM +0100, Ola Liljedahl wrote: On 12 December 2014 at 16:59, Mike Holmes mike.hol...@linaro.org wrote: On 12 December 2014 at 10:51, Maxim Uvarov maxim.uva...@linaro.org wrote: On 12/12/2014 06:47 PM, Taras Kondratiuk wrote: On 12/12/2014 05:03 PM,

Re: [lng-odp] [PATCH v2] validation: add odp_system test

2014-12-14 Thread Jerin Jacob
On Fri, Dec 12, 2014 at 03:40:29PM -0500, Mike Holmes wrote: Add tests for ODP system_info interface Signed-off-by: Mike Holmes mike.hol...@linaro.org --- This api has poor documentaion, these testis attempt to do something sensible against linux-generic in its present form.

Re: [lng-odp] [PATCHv4] validation: schedule: initial testcases

2014-12-12 Thread Jerin Jacob
On Thu, Dec 11, 2014 at 01:07:26PM -0500, Mike Holmes wrote: On 11 December 2014 at 10:43, Ciprian Barbu ciprian.ba...@linaro.org wrote: Signed-off-by: Ciprian Barbu ciprian.ba...@linaro.org Reviewed-and-Tested-by: Jerin Jacob jerin.ja...@caviumnetworks.com Reviewed-by: Mike Holmes

Re: [lng-odp] [PATCHv3] validation: schedule: initial testcases

2014-12-10 Thread Jerin Jacob
-and-Tested-by: Jerin Jacob jerin.ja...@caviumnetworks.com Its a good testsuite, I have verified it on octeon. + + return 0; +} + +struct CU_TestInfo test_odp_schedule[] = { + {schedule_wait_time, test_schedule_wait_time}, + {schedule_num_prio

Re: [lng-odp] [PATCH v5] cunit: add shm test

2014-11-28 Thread Jerin Jacob
by, Reviewed and Tested by: Jerin Jacob jerin.ja...@caviumnetworks.com diff --git a/test/validation/odp_shm.c b/test/validation/odp_shm.c new file mode 100644 index 000..be2b52b --- /dev/null +++ b/test/validation/odp_shm.c @@ -0,0 +1,124 @@ +/* Copyright (c) 2014, Linaro Limited

Re: [lng-odp] [PATCH v4] cunit: add shm test

2014-11-27 Thread Jerin Jacob
On Thu, Nov 27, 2014 at 05:43:57AM -0500, Yan Sonming wrote: Add odp_cunit_common.c for common cunit function and add the cunit test for the api in odp_share_memory.h which include the new api implement odp_shm_free. Signed-off-by: Yan Songming yan.songm...@linaro.org --- v4 change the

Re: [lng-odp] [PATCH 2/2] linux-generic: odp_pktio_open loop0 support

2014-11-26 Thread Jerin Jacob
On Wed, Nov 26, 2014 at 02:53:50PM +0300, Maxim Uvarov wrote: On 11/26/2014 12:25 PM, Ola Liljedahl wrote: On 26 November 2014 at 09:39, Alexandru Badicioiu alexandru.badici...@linaro.org wrote: This patch has no description. The title is not self explanatory either. Also the existence of

Re: [lng-odp] [PATCH 2/2] linux-generic: odp_pktio_open loop0 support

2014-11-26 Thread Jerin Jacob
On Wed, Nov 26, 2014 at 05:05:14PM +0300, Maxim Uvarov wrote: On 11/26/2014 04:33 PM, Taras Kondratiuk wrote: On 11/26/2014 03:23 PM, Jerin Jacob wrote: On Wed, Nov 26, 2014 at 02:53:50PM +0300, Maxim Uvarov wrote: On 11/26/2014 12:25 PM, Ola Liljedahl wrote: On 26 November 2014 at 09:39

Re: [lng-odp] [PATCH v2] cunit: add shm test

2014-11-25 Thread Jerin Jacob
); yan.songm...@linaro.org From: Jerin Jacob Date: 2014-11-25 15:57 To: yan.songm...@linaro.org CC: lng-odp@lists.linaro.org Subject: Re: Re: [lng-odp] [PATCH v2] cunit: add shm test On Tue, Nov 25, 2014 at 03:03:47PM +0800, yan.songm...@linaro.org wrote: Jerin, ODP API's

Re: [lng-odp] [PATCH v2] cunit: add shm test

2014-11-25 Thread Jerin Jacob
. yan.songm...@linaro.org From: Jerin Jacob Date: 2014-11-25 17:14 To: yan.songm...@linaro.org CC: lng-odp@lists.linaro.org Subject: Re: Re: [lng-odp] [PATCH v2] cunit: add shm test On Tue, Nov 25, 2014 at 03:39:20PM +0800, yan.songm...@linaro.org wrote: I think if we use other

Re: [lng-odp] [PATCH v2] cunit: add shm test

2014-11-24 Thread Jerin Jacob
is not a good idea. Other way around to look its, its sunnyday test to check the shared memory accessibly across the different odp execution context. yan.songm...@linaro.org From: Jerin Jacob Date: 2014-11-24 15:21 To: Yan Songming CC: lng-odp@lists.linaro.org Subject: Re: [lng-odp

[lng-odp] [PATCH] ipsec: Fix ctx-state update race

2014-11-14 Thread Jerin Jacob
) should update the ctx-state value before sending to ATOMIC queue. Signed-off-by: Jerin Jacob jerin.ja...@caviumnetworks.com --- example/ipsec/odp_ipsec.c | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/example/ipsec/odp_ipsec.c b/example/ipsec/odp_ipsec.c index da6c48e

Re: [lng-odp] [PATCH v3] add tests for queue

2014-11-04 Thread Jerin Jacob
time later. Agree. We should include odp_queue_enq_multi in testcase when linux generic has support for multi enqueue operataion which returns the number of enqueue buffers. yan.songm...@linaro.org From: Jerin Jacob Date: 2014-11-04 14:16 To: Yan Songming CC: lng-odp

Re: [lng-odp] [PATCH v3] add tests for queue

2014-11-03 Thread Jerin Jacob
On Tue, Nov 04, 2014 at 12:31:03AM +0800, Yan Songming wrote: From: yan.songming yan.songm...@linaro.org Add the cunit test for none sync queue. Test the base queue function. Signed-off-by: yan.songming yan.songm...@linaro.org --- Fix spelling problem and commend problem. Add term_local

Re: [lng-odp] [PATCH v2 1/1] cunit : add tests for crypto APIs

2014-10-31 Thread Jerin Jacob
On Fri, Oct 31, 2014 at 02:08:47PM +0200, alexandru.badici...@linaro.org wrote: From: Alexandru Badicioiu alexandru.badici...@linaro.org This patch adds a suite for async inplace mode of crypto APIs. Correctness of crypto operations output is verified with known test vectors as well as

Re: [lng-odp] [PATCH v2 1/1] cunit : add tests for crypto APIs

2014-10-31 Thread Jerin Jacob
in defining/reviewing the abstraction and/or testing the sync mode then I can help you with that. I would like avoid the duplicate effort of writing parallel ODP crypto Cunit testcases. Let me know your views on the proposal. On 31 October 2014 16:28, Jerin Jacob jerin.ja

Re: [lng-odp] [ARCH PATCHv2] ipc design and usage modes

2014-10-30 Thread Jerin Jacob
On Tue, Oct 28, 2014 at 10:43:54PM +0300, Maxim Uvarov wrote: Signed-off-by: Maxim Uvarov maxim.uva...@linaro.org --- v2: fixed according to Mikes comments. ipc.dox | 228 1 file changed, 228 insertions(+) create mode

Re: [lng-odp] [PATCH] ipc linux-generic implementation based on pktio

2014-10-22 Thread Jerin Jacob
On Wed, Oct 22, 2014 at 04:36:24PM +0400, Maxim Uvarov wrote: On 10/22/2014 03:53 PM, Jerin Jacob wrote: Some review comments, 1) Any specific reason to choose pktio instead of queue for IPC abstraction ? Yes. First versions I did for queues. Refer to ipc v7 patch in mailing list. After

Re: [lng-odp] [PATCH] ipc linux-generic implementation based on pktio

2014-10-22 Thread Jerin Jacob
On Wed, Oct 22, 2014 at 06:15:37PM +0400, Maxim Uvarov wrote: On 10/22/2014 06:02 PM, Jerin Jacob wrote: I think, you can create the queue in odp_pktio_open and attach it and then expose the queues through odp_pktio_outq_getdef. Yes, I can go with: odp_pktio_outq_getdef(pktio) = ipc_queue

[lng-odp] [PATCH] Rename ODPH_PACKED macro

2014-10-20 Thread Jerin Jacob
- Definition of ODPH_PACKED is in include/api/odp_align.h so changing to ODP_PACKED Signed-off-by: Jerin Jacob jerin.ja...@caviumnetworks.com --- example/ipsec/odp_ipsec_stream.c | 2 +- helper/include/odph_eth.h | 6 +++--- helper/include/odph_icmp.h

  1   2   >