Re: [lng-odp] [PATCH] validation: scheduler: Release context before the end of the scheduler test

2017-04-10 Thread Savolainen, Petri (Nokia - FI/Espoo)
> -Original Message- > From: Ola Liljedahl [mailto:ola.liljed...@linaro.org] > Sent: Sunday, April 09, 2017 12:31 AM > To: Savolainen, Petri (Nokia - FI/Espoo) labs.com> > Cc: Kevin Wang ; Kevin Wang ; > lng-odp@lists.linaro.org > Subject: Re: [lng-odp] [PATCH] validation: scheduler: Rel

Re: [lng-odp] [PATCH] validation: scheduler: Release context before the end of the scheduler test

2017-04-10 Thread Savolainen, Petri (Nokia - FI/Espoo)
From: Kevin Wang [mailto:kevin.w...@linaro.org] Sent: Monday, April 10, 2017 5:47 AM To: Bill Fischofer Cc: Ola Liljedahl ; Savolainen, Petri (Nokia - FI/Espoo) ; Kevin Wang ; lng-odp@lists.linaro.org Subject: Re: [lng-odp] [PATCH] validation: scheduler: Release context before the end of the

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

2017-04-10 Thread Peltonen, Janne (Nokia - FI/Espoo)
Hi, Ola Liljedahl wrote: > Peltonen, Janne (Nokia - FI/Espoo) wrote: > > In an IPsec GW (as a use case example) one might want to do all > > stateless processing (like ingress and egress IP processing and the > > crypto operations

Re: [lng-odp] [PATCH] linux-gen: packet: add pkt_to_buffer_hdr() function

2017-04-10 Thread Savolainen, Petri (Nokia - FI/Espoo)
> -Original Message- > From: lng-odp [mailto:lng-odp-boun...@lists.linaro.org] On Behalf Of Kevin > Wang > Sent: Monday, April 10, 2017 8:59 AM > To: lng-odp@lists.linaro.org > Cc: Kevin Wang > Subject: [lng-odp] [PATCH] linux-gen: packet: add pkt_to_buffer_hdr() > function > > This fun

Re: [lng-odp] [PATCH] linux-gen: packet: add pkt_to_buffer_hdr() function

2017-04-10 Thread Kevin Wang
Currently no. But will be used in the future if scalable scheduler is merged. Two files loop.c and odp_packet_io.c will use this conversion. Kevin 2017-04-10 17:08 GMT+08:00 Savolainen, Petri (Nokia - FI/Espoo) < petri.savolai...@nokia-bell-labs.com>: > > > > -Original Message- > > From:

Re: [lng-odp] [PATCH] linux-gen: packet: add pkt_to_buffer_hdr() function

2017-04-10 Thread Savolainen, Petri (Nokia - FI/Espoo)
From: Kevin Wang [mailto:kevin.w...@linaro.org] Sent: Monday, April 10, 2017 12:24 PM To: Savolainen, Petri (Nokia - FI/Espoo) Cc: Kevin Wang ; lng-odp@lists.linaro.org Subject: Re: [lng-odp] [PATCH] linux-gen: packet: add pkt_to_buffer_hdr() function Currently no. But will be used in the futu

Re: [lng-odp] [PATCH] linux-gen: packet: add pkt_to_buffer_hdr() function

2017-04-10 Thread Maxim Uvarov
Yes, also patch should pass code coverage. That is set on github and it should warn that there are function which are not used marked with red color. We are trying to remove all not used functions from the code. So that should go with code where it's used. Maxim. On 10 April 2017 at 13:20, Savola

Re: [lng-odp] [API-NEXT PATCH] abi: event: add ODP_EVENT_IPSEC_STATUS

2017-04-10 Thread Savolainen, Petri (Nokia - FI/Espoo)
> -Original Message- > From: lng-odp [mailto:lng-odp-boun...@lists.linaro.org] On Behalf Of Bill > Fischofer > Sent: Friday, April 07, 2017 3:53 PM > To: Peltonen, Janne (Nokia - FI/Espoo) > Cc: lng-odp-forward > Subject: Re: [lng-odp] [API-NEXT PATCH] abi: event: add > ODP_EVENT_IPSEC_

[lng-odp] [PATCH] example:ipsec_offload: Adding ipsec_offload example

2017-04-10 Thread Maxim Uvarov
From: Nikhil Agarwal Signed-off-by: Nikhil Agarwal --- /** Email created from pull request 12 (NikhilA-Linaro:api-next) ** https://github.com/Linaro/odp/pull/12 ** Patch: https://github.com/Linaro/odp/pull/12.patch ** Base sha: 38485719c028918b019c6a5fc67cf05053421c83 ** Merge commit sha: 1d

[lng-odp] [PATCH 1/3] api: ipsec: make num_pkt/out/sa/opt unsigned

2017-04-10 Thread Maxim Uvarov
From: Dmitry Eremin-Solenikov It does not make sense to specify negative amount inside num_*. Make respective fields unsigned instead. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 13 (lumag:ipsec-api) ** https://github.com/Linaro/odp/pull/13 ** Patch: https:/

Re: [lng-odp] [PATCH 1/3] api: ipsec: make num_pkt/out/sa/opt unsigned

2017-04-10 Thread Savolainen, Petri (Nokia - FI/Espoo)
Is there a way to get Github to send individual patches to the list ? ... Instead of this all-patches-in-one-mail format, with a misleading subject line (1/3). > -Original Message- > From: lng-odp [mailto:lng-odp-boun...@lists.linaro.org] On Behalf Of Maxim > Uvarov > Sent: Monday, Ap

[lng-odp] [PATCH 3/3] api: ipsec: add default queue for outbound events

2017-04-10 Thread Dmitry Eremin-Solenikov
If SA lookup fails for outbound IPsec packet in async mode, there is no way to report it back to application except using default queue (which does not exist at this moment). Signed-off-by: Dmitry Eremin-Solenikov --- include/odp/api/spec/ipsec.h | 7 +++ 1 file changed, 7 insertions(+) dif

[lng-odp] [PATCH 2/3] api: ipsec: mark odp_ipsec_sa_create argument as constant

2017-04-10 Thread Dmitry Eremin-Solenikov
odp_ipsec_sa_create() should not change its argument. Thus mark it as a constant. Signed-off-by: Dmitry Eremin-Solenikov --- include/odp/api/spec/ipsec.h | 2 +- platform/linux-generic/odp_ipsec.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/odp/api/spec/i

[lng-odp] [PATCH 1/3] api: ipsec: make num_pkt/out/sa/opt unsigned

2017-04-10 Thread Dmitry Eremin-Solenikov
It does not make sense to specify negative amount inside num_*. Make respective fields unsigned instead. Signed-off-by: Dmitry Eremin-Solenikov --- include/odp/api/spec/ipsec.h | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/include/odp/api/spec/ipsec.h b/include/o

Re: [lng-odp] [PATCH 1/3] api: ipsec: make num_pkt/out/sa/opt unsigned

2017-04-10 Thread Maxim Uvarov
On 10 April 2017 at 16:14, Savolainen, Petri (Nokia - FI/Espoo) < petri.savolai...@nokia-bell-labs.com> wrote: > Is there a way to get Github to send individual patches to the list ? ... > Instead of this all-patches-in-one-mail format, with a misleading subject > line (1/3). > > I will take a lo

Re: [lng-odp] [PATCH 1/3] api: ipsec: make num_pkt/out/sa/opt unsigned

2017-04-10 Thread Dmitry Eremin-Solenikov
On 10.04.2017 16:30, Maxim Uvarov wrote: > On 10 April 2017 at 16:14, Savolainen, Petri (Nokia - FI/Espoo) < > petri.savolai...@nokia-bell-labs.com> wrote: > >> Is there a way to get Github to send individual patches to the list ? ... >> Instead of this all-patches-in-one-mail format, with a misl

Re: [lng-odp] [PATCH 1/3] api: ipsec: make num_pkt/out/sa/opt unsigned

2017-04-10 Thread Dmitry Eremin-Solenikov
On 10.04.2017 16:14, Savolainen, Petri (Nokia - FI/Espoo) wrote: > Is there a way to get Github to send individual patches to the list ? ... > Instead of this all-patches-in-one-mail format, with a misleading subject > line (1/3). > > > >> -Original Message- >> From: lng-odp [mailto:l

Re: [lng-odp] [PATCH 1/2] add queue size param and related capability

2017-04-10 Thread Honnappa Nagarahalli
Hi Bala, Continuing the discussion from the call, as I mentioned in the call today, the queues need to hold all kinds of events and not just packets. The events need not be defined by ODP (like timeout events) also. The application may have its own events. In such a case, queue size does not d

Re: [lng-odp] [PATCH 1/2] add queue size param and related capability

2017-04-10 Thread Bill Fischofer
On Thu, Apr 6, 2017 at 11:07 PM, Honnappa Nagarahalli wrote: > Added size parameter indicating the maximum number of events in the > queue and the corresponding queue capability changes. > > Signed-off-by: Honnappa Nagarahalli > --- > include/odp/api/spec/queue.h | 12 > platf

Re: [lng-odp] [PATCH 1/2] add queue size param and related capability

2017-04-10 Thread Bill Fischofer
On Mon, Apr 10, 2017 at 11:17 AM, Honnappa Nagarahalli wrote: > Hi Bala, > Continuing the discussion from the call, as I mentioned in the > call today, the queues need to hold all kinds of events and not just > packets. The events need not be defined by ODP (like timeout events) > also. The ap

[lng-odp] In training 4/10 and 4/11

2017-04-10 Thread Honnappa Nagarahalli
Hi, I am in an offsite training on 4/10 and 4/11 training. Will be back in office on 4/12. Thank you, Honnappa

[lng-odp] [Linaro/odp] 6ae7b5: abi: event: add ODP_EVENT_IPSEC_STATUS

2017-04-10 Thread GitHub
Branch: refs/heads/api-next Home: https://github.com/Linaro/odp Commit: 6ae7b56334f1795203355f3f4429d3f76bce15bf https://github.com/Linaro/odp/commit/6ae7b56334f1795203355f3f4429d3f76bce15bf Author: Janne Peltonen Date: 2017-04-10 (Mon, 10 Apr 2017) Changed paths: M inc

Re: [lng-odp] [API-NEXT PATCH] abi: event: add ODP_EVENT_IPSEC_STATUS

2017-04-10 Thread Maxim Uvarov
Merged, Maxim. On 04/10/17 15:34, Savolainen, Petri (Nokia - FI/Espoo) wrote: > > >> -Original Message- >> From: lng-odp [mailto:lng-odp-boun...@lists.linaro.org] On Behalf Of Bill >> Fischofer >> Sent: Friday, April 07, 2017 3:53 PM >> To: Peltonen, Janne (Nokia - FI/Espoo) >> Cc: lng-

[lng-odp] [PATCH] api: ipsec: change semantics of odp_ipsec_result function

2017-04-10 Thread Dmitry Eremin-Solenikov
- Move packets from the event instead of copying them. This simplifies event handling/freeing code, which now does not have to track, which packets were copied from the event and which packets should be freed. - Do not require to free the event before processing packets. This allows one

Re: [lng-odp] [PATCH] linux-gen: packet: add pkt_to_buffer_hdr() function

2017-04-10 Thread Kevin Wang
Ok, will make it inline with the files which using it. Kevin 2017-04-10 18:35 GMT+08:00 Maxim Uvarov : > Yes, also patch should pass code coverage. That is set on github and it > should warn that there are function which are not used marked with red > color. We are trying to remove all not used

[lng-odp] [PATCHv2] validation: scheduler: modify the queue size for atomic queue

2017-04-10 Thread Kevin Wang
Signed-off-by: Kevin Wang --- test/common_plat/validation/api/scheduler/scheduler.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/common_plat/validation/api/scheduler/scheduler.c b/test/common_plat/validation/api/scheduler/scheduler.c index 952561c..f46d391 100644 --- a/test/common_

Re: [lng-odp] linux-gen: timer: ODP general timer timeout machenism on massive timers usage

2017-04-10 Thread Mario (Miao) Mao
Hi Honnappa, Thanks a lot for the detailed explanation. So I assume there has been a plan to improve the linux generic timer and I can also expect the hardware timer implementation. For the question you mention, please check below information about out project: 1. it is multicore network firew

Re: [lng-odp] [PATCH v3 1/2] api: queue: added queue size param

2017-04-10 Thread Savolainen, Petri (Nokia - FI/Espoo)
Ping. Spec for queue size and capability. > -Original Message- > From: lng-odp [mailto:lng-odp-boun...@lists.linaro.org] On Behalf Of > Savolainen, Petri (Nokia - FI/Espoo) > Sent: Friday, April 07, 2017 10:53 AM > To: lng-odp@lists.linaro.org > Subject: Re: [lng-odp] [PATCH v3 1/2] api: