Re: [lng-odp] [API-NEXT PATCH v6 6/6] Add scalable scheduler

2017-05-23 Thread Peltonen, Janne (Nokia - FI/Espoo)
Honnappa Nagarahalli wrote: > On 23 May 2017 at 09:49, Peltonen, Janne (Nokia - FI/Espoo) > wrote: > > > >> +static int ord_enq_multi(uint32_t queue_index, void *p_buf_hdr[], > >> + int num, int *ret) > >> +{ > >> + (void)queue_index; > >> + (void)p_buf_hdr; > >> +

Re: [lng-odp] [RFC, API-NEXT v3 1/1] comp: compression interface

2017-05-23 Thread Verma, Shally
-Original Message- From: Dmitry Eremin-Solenikov [mailto:dmitry.ereminsoleni...@linaro.org] Sent: 23 May 2017 20:54 To: Shally Verma ; lng-odp@lists.linaro.org Cc: Challa, Mahipal ; Narayana, Prasad Athreya ; Verma, Shally Subject: Re: [lng-odp] [RFC, API-NEXT v3 1/1] comp: compression

Re: [lng-odp] [PATCH v2] linux-gen: sched: fix ordered enqueue to pktout queue

2017-05-23 Thread Yi He
Very good catch, I rerun the tests and my review stands for this v2. Best Regards, Yi On 23 May 2017 at 20:38, Matias Elo wrote: > Make sure packet order is maintained if enqueueing packets from an ordered > queue. > > Fixes https://bugs.linaro.org/show_bug.cgi?id=3002 > > Signed-off-by: Matias

Re: [lng-odp] [API-NEXT PATCH v6 3/6] Add arch/ files

2017-05-23 Thread Honnappa Nagarahalli
On 23 May 2017 at 02:10, Savolainen, Petri (Nokia - FI/Espoo) wrote: >> diff --git a/platform/linux-generic/arch/powerpc/odp_cpu.h >> b/platform/linux-generic/arch/powerpc/odp_cpu.h >> new file mode 100644 >> index ..e118e709 >> --- /dev/null >> +++ b/platform/linux-generic/arch/powerpc/od

Re: [lng-odp] [API-NEXT PATCH v6 1/6] test: odp_sched_latency: misc improvements

2017-05-23 Thread Honnappa Nagarahalli
On 23 May 2017 at 01:52, Savolainen, Petri (Nokia - FI/Espoo) wrote: > > >> -Original Message- >> From: lng-odp [mailto:lng-odp-boun...@lists.linaro.org] On Behalf Of Brian >> Brooks >> Sent: Tuesday, May 23, 2017 1:28 AM >> To: lng-odp@lists.linaro.org >> Cc: Ola Liljedahl >> Subject: [l

[lng-odp] Modular queue interface

2017-05-23 Thread Honnappa Nagarahalli
I am looking at the modular queue interface. I see that the queue_entry_s structure has 'pktin' and 'pktout'. These two structure members are accessed in pkt I/O directly (odp_pkt_io.c, functions: pktout_enqueue, pktout_enq_multi, pktin_dequeue, pktin_deq_multi). For modular queue interface these t

Re: [lng-odp] [API-NEXT PATCH v6 6/6] Add scalable scheduler

2017-05-23 Thread Honnappa Nagarahalli
On 23 May 2017 at 09:49, Peltonen, Janne (Nokia - FI/Espoo) wrote: > >> +static int ord_enq_multi(uint32_t queue_index, void *p_buf_hdr[], >> + int num, int *ret) >> +{ >> + (void)queue_index; >> + (void)p_buf_hdr; >> + (void)num; >> + (void)ret; >> + retur

[lng-odp] Summary of Expiration Discussion

2017-05-23 Thread Bill Fischofer
This is a quick summary of the expiration discussion held during Monday's ARCH call. The current odp_ipsec_capability_t defines two fields: /** Soft expiry limit in seconds support * * 0: Limit is not supported * 1: Limit is supported */ uint8_t soft_limit_sec; /** Hard expiry limit in seconds

[lng-odp] [PATCH v1 1/2] travis: expand testing with varios configure options

2017-05-23 Thread Github ODP bot
From: Maxim Uvarov Signed-off-by: Maxim Uvarov --- /** Email created from pull request 36 (muvarov:master_travis_checks) ** https://github.com/Linaro/odp/pull/36 ** Patch: https://github.com/Linaro/odp/pull/36.patch ** Base sha: 599ac6802352c9c56eca33a6004824783becaa6e ** Merge commit sha: 6

[lng-odp] [PATCH v1 2/2] travis: print failed test logs to screen

2017-05-23 Thread Github ODP bot
From: Maxim Uvarov If some test failed try to find them and print log. Signed-off-by: Maxim Uvarov --- /** Email created from pull request 36 (muvarov:master_travis_checks) ** https://github.com/Linaro/odp/pull/36 ** Patch: https://github.com/Linaro/odp/pull/36.patch ** Base sha: 599ac680235

[lng-odp] [PATCH v1 0/2] travis: expand testing with varios configure options

2017-05-23 Thread Github ODP bot
Improve testing with enabling different configure options. github /** Email created from pull request 36 (muvarov:master_travis_checks) ** https://github.com/Linaro/odp/pull/36 ** Patch: https://github.com/Linaro/odp/pull/36.patch ** Base sha: 599ac680235

Re: [lng-odp] [API-NEXT PATCH v6 0/6] A scalable software scheduler

2017-05-23 Thread Honnappa Nagarahalli
On 23 May 2017 at 07:33, Bill Fischofer wrote: > On Mon, May 22, 2017 at 11:12 PM, Brian Brooks wrote: > >> On 05/22 22:16:27, Bill Fischofer wrote: >> > Part 6 still has checkpatch issues: >> > >> > WARNING: Missing a blank line after declarations >> > #464: FILE: platform/linux-generic/include/

Re: [lng-odp] discussion thread on pool create & rte_mbuf support in odp-cloud

2017-05-23 Thread Bill Fischofer
On Tue, May 23, 2017 at 10:12 AM, Krishna Garapati < balakrishna.garap...@linaro.org> wrote: > Fallowing are the open issues that requires discussion in odp-cloud > implementation, > > - Currently in odp, pkt pool creation has no knowledge of pktio type as it > would need in case of odp-cloud if i

Re: [lng-odp] [PATCHv2] scripts: checkpatch: update to allow additional exceptions

2017-05-23 Thread Maxim Uvarov
Ok, I will test with --ignore options. If it works than might be better to use it. Maxim. On 05/23/17 15:41, Savolainen, Petri (Nokia - FI/Espoo) wrote: > > > From: Bill Fischofer [mailto:bill.fischo...@linaro.org] > Sent: Tuesday, May 23, 2017 3:22 PM > To: Savolainen, Petri (Nokia - FI/Espoo

[lng-odp] [Linaro/odp] 599ac6: travis: check compile and run from install

2017-05-23 Thread GitHub
Branch: refs/heads/api-next Home: https://github.com/Linaro/odp Commit: 599ac6802352c9c56eca33a6004824783becaa6e https://github.com/Linaro/odp/commit/599ac6802352c9c56eca33a6004824783becaa6e Author: Maxim Uvarov Date: 2017-05-23 (Tue, 23 May 2017) Changed paths: M .trav

[lng-odp] [Linaro/odp] 599ac6: travis: check compile and run from install

2017-05-23 Thread GitHub
Branch: refs/heads/master Home: https://github.com/Linaro/odp Commit: 599ac6802352c9c56eca33a6004824783becaa6e https://github.com/Linaro/odp/commit/599ac6802352c9c56eca33a6004824783becaa6e Author: Maxim Uvarov Date: 2017-05-23 (Tue, 23 May 2017) Changed paths: M .travis

[lng-odp] [Linaro/odp] 0a3e5b: linux-generic: packet: add functions to optimize m...

2017-05-23 Thread GitHub
Branch: refs/heads/api-next Home: https://github.com/Linaro/odp Commit: 0a3e5be140e77167173b9af4b72cdad8451aff71 https://github.com/Linaro/odp/commit/0a3e5be140e77167173b9af4b72cdad8451aff71 Author: Dmitry Eremin-Solenikov Date: 2017-05-23 (Tue, 23 May 2017) Changed paths:

[lng-odp] [Bug 3003] AES-GCM returns 'valid' tag when checking invalid tag

2017-05-23 Thread bugzilla-daemon
https://bugs.linaro.org/show_bug.cgi?id=3003 --- Comment #2 from Maxim Uvarov --- https://github.com/Linaro/odp/commit/826ee894aa0ebd09d42a17e1de077c46bc5b366a 2017-05-19T18:12:36+03:00 Dmitry Eremin-Solenikov dmitry.ereminsoleni...@linaro.org linux: crypto: fix checking of GCM tags Currently od

[lng-odp] [Linaro/odp] b50cf1: codecov: enable threshold for patches

2017-05-23 Thread GitHub
Branch: refs/heads/cloud-dev Home: https://github.com/Linaro/odp Commit: b50cf14202528e986ae9a41721fae1e746078646 https://github.com/Linaro/odp/commit/b50cf14202528e986ae9a41721fae1e746078646 Author: Maxim Uvarov Date: 2017-05-16 (Tue, 16 May 2017) Changed paths: M .cod

Re: [lng-odp] [RFC, API-NEXT v3 1/1] comp: compression interface

2017-05-23 Thread Dmitry Eremin-Solenikov
On 22.05.2017 09:54, Shally Verma wrote: > Signed-off-by: Shally Verma > Signed-off-by: Mahipal Challa > +/** > + * Comp API operation return codes > + * > + */ > +typedef enum { > + /** Operation completed successfully*/ > + ODP_COMP_ERR_NONE, > + /** Invalid user data pointers*/ >

[lng-odp] [Linaro/odp] b50cf1: codecov: enable threshold for patches

2017-05-23 Thread GitHub
Branch: refs/heads/api-next Home: https://github.com/Linaro/odp Commit: b50cf14202528e986ae9a41721fae1e746078646 https://github.com/Linaro/odp/commit/b50cf14202528e986ae9a41721fae1e746078646 Author: Maxim Uvarov Date: 2017-05-16 (Tue, 16 May 2017) Changed paths: M .code

[lng-odp] discussion thread on pool create & rte_mbuf support in odp-cloud

2017-05-23 Thread Krishna Garapati
Fallowing are the open issues that requires discussion in odp-cloud implementation, - Currently in odp, pkt pool creation has no knowledge of pktio type as it would need in case of odp-cloud if it wants to use the platform specific API's (ex: dpdk) to create the pool through DDF (Driver framework)

[lng-odp] [Linaro/odp] d2562f: travis: move code style check to separate job

2017-05-23 Thread GitHub
Branch: refs/heads/master Home: https://github.com/Linaro/odp Commit: d2562fb0cb2c2b21b628b265ef24a6c8cbac9608 https://github.com/Linaro/odp/commit/d2562fb0cb2c2b21b628b265ef24a6c8cbac9608 Author: Maxim Uvarov Date: 2017-05-23 (Tue, 23 May 2017) Changed paths: M .travis

[lng-odp] Status of scalable scheduler patches

2017-05-23 Thread Honnappa Nagarahalli
Hi, I wanted to provide a status on where we are. The current patch sent out by Brian addresses the issue of storing handles vs memory pointers in the queues. We intend to make one more patch after this which will address the modular queue interface. Please complete your review with this patch

Re: [lng-odp] [API-NEXT PATCH v6 6/6] Add scalable scheduler

2017-05-23 Thread Peltonen, Janne (Nokia - FI/Espoo)
> +static int ord_enq_multi(uint32_t queue_index, void *p_buf_hdr[], > + int num, int *ret) > +{ > + (void)queue_index; > + (void)p_buf_hdr; > + (void)num; > + (void)ret; > + return 0; > +} How is packet order maintained when enqueuing packets read from an

Re: [lng-odp] [API-NEXT PATCHv4] api: crypto: change iv_len field to feature min-max len

2017-05-23 Thread Savolainen, Petri (Nokia - FI/Espoo)
> -Original Message- > From: lng-odp [mailto:lng-odp-boun...@lists.linaro.org] On Behalf Of > Balakrishna Garapati > Sent: Friday, May 19, 2017 5:24 PM > To: lng-odp@lists.linaro.org > Subject: [lng-odp] [API-NEXT PATCHv4] api: crypto: change iv_len field to > feature min-max len > > dpd

Re: [lng-odp] [PATCH API-NEXT v3 1/1] api: ipsec: factor out IP protocol version parameter

2017-05-23 Thread Savolainen, Petri (Nokia - FI/Espoo)
Reviewed-by: Petri Savolainen > -Original Message- > From: lng-odp [mailto:lng-odp-boun...@lists.linaro.org] On Behalf Of > Github ODP bot > Sent: Tuesday, May 23, 2017 9:00 AM > To: lng-odp@lists.linaro.org > Subject: [lng-odp] [PATCH API-NEXT v3 1/1] api: ipsec: factor out IP > protoco

Re: [lng-odp] [PATCHv2] scripts: checkpatch: update to allow additional exceptions

2017-05-23 Thread Savolainen, Petri (Nokia - FI/Espoo)
From: Bill Fischofer [mailto:bill.fischo...@linaro.org] Sent: Tuesday, May 23, 2017 3:22 PM To: Savolainen, Petri (Nokia - FI/Espoo) Cc: Maxim Uvarov ; lng-odp@lists.linaro.org Subject: Re: [lng-odp] [PATCHv2] scripts: checkpatch: update to allow additional exceptions On Tue, May 23, 2017 a

[lng-odp] [PATCH v2] linux-gen: sched: fix ordered enqueue to pktout queue

2017-05-23 Thread Matias Elo
Make sure packet order is maintained if enqueueing packets from an ordered queue. Fixes https://bugs.linaro.org/show_bug.cgi?id=3002 Signed-off-by: Matias Elo Reviewed-and-tested-by: Yi He --- V2: - Fix pktout_enqueue() return value (Janne) platform/linux-generic/odp_packet_io.c | 8 ++

Re: [lng-odp] [API-NEXT PATCH v6 0/6] A scalable software scheduler

2017-05-23 Thread Bill Fischofer
On Mon, May 22, 2017 at 11:12 PM, Brian Brooks wrote: > On 05/22 22:16:27, Bill Fischofer wrote: > > Part 6 still has checkpatch issues: > > > > WARNING: Missing a blank line after declarations > > #464: FILE: platform/linux-generic/include/odp_schedule_scalable.h:64: > > + uint16_t qschst_type;

Re: [lng-odp] [PATCHv2] scripts: checkpatch: update to allow additional exceptions

2017-05-23 Thread Bill Fischofer
On Tue, May 23, 2017 at 7:07 AM, Savolainen, Petri (Nokia - FI/Espoo) < petri.savolai...@nokia.com> wrote: > > > > -Original Message- > > From: lng-odp [mailto:lng-odp-boun...@lists.linaro.org] On Behalf Of > Maxim > > Uvarov > > Sent: Monday, May 22, 2017 10:07 PM > > To: lng-odp@lists.li

Re: [lng-odp] [PATCH] linux-gen: sched: fix ordered enqueue to pktout queue

2017-05-23 Thread Elo, Matias (Nokia - FI/Espoo)
> On 23 May 2017, at 15:04, Peltonen, Janne (Nokia - FI/Espoo) > wrote: > > >> -Original Message- >> From: lng-odp [mailto:lng-odp-boun...@lists.linaro.org] On Behalf Of Matias >> Elo >> Sent: Monday, May 22, 2017 12:39 PM >> To: lng-odp@lists.linaro.org >> Subject: [lng-odp] [PATCH]

Re: [lng-odp] [PATCHv2] scripts: checkpatch: update to allow additional exceptions

2017-05-23 Thread Savolainen, Petri (Nokia - FI/Espoo)
> -Original Message- > From: lng-odp [mailto:lng-odp-boun...@lists.linaro.org] On Behalf Of Maxim > Uvarov > Sent: Monday, May 22, 2017 10:07 PM > To: lng-odp@lists.linaro.org > Subject: Re: [lng-odp] [PATCHv2] scripts: checkpatch: update to allow > additional exceptions > > Merged! > >

Re: [lng-odp] [PATCH] linux-gen: sched: fix ordered enqueue to pktout queue

2017-05-23 Thread Peltonen, Janne (Nokia - FI/Espoo)
> -Original Message- > From: lng-odp [mailto:lng-odp-boun...@lists.linaro.org] On Behalf Of Matias > Elo > Sent: Monday, May 22, 2017 12:39 PM > To: lng-odp@lists.linaro.org > Subject: [lng-odp] [PATCH] linux-gen: sched: fix ordered enqueue to pktout > queue > > Make sure packet order i

Re: [lng-odp] [API-NEXT PATCH v6 6/6] Add scalable scheduler

2017-05-23 Thread Savolainen, Petri (Nokia - FI/Espoo)
> diff --git a/platform/linux-generic/include/odp_queue_internal.h > b/platform/linux-generic/include/odp_queue_internal.h > index 560f826e..cbe065dc 100644 > --- a/platform/linux-generic/include/odp_queue_internal.h > +++ b/platform/linux-generic/include/odp_queue_internal.h > @@ -19,16 +19,24 @@

[lng-odp] [PATCH v1 1/1] test: traffic_mngr: fix install-check failure

2017-05-23 Thread Github ODP bot
From: Yi He make install-check failed by not able to find traffic_mngr test binary and script in the installation. this patch changes Makefile.am to install test_PROGRAMS and test_SCRIPTS. Signed-off-by: Yi He --- /** Email created from pull request 35 (heyi-linaro:install-check) ** https://gi

[lng-odp] [PATCH v1 0/1] test: traffic_mngr: fix install-check failure

2017-05-23 Thread Github ODP bot
make install-check failed by not able to find traffic_mngr test binary and script in the installation. this patch changes Makefile.am to install test_PROGRAMS and test_SCRIPTS. Signed-off-by: Yi He yi...@linaro.org github /** Email created from pull request

Re: [lng-odp] [PATCH v2 1/2] linux-gen: dpdk: handle minimum rx burst size

2017-05-23 Thread Yi He
For this patch series: Reviewed-by: Yi He On 22 May 2017 at 19:56, Matias Elo wrote: > Both ixgbe and i40e dpdk drivers have a minimum supported rx burst size of > four. Additionally, update driver names to match dpdk v17.02. > > Signed-off-by: Matias Elo > --- > platform/linux-generic/incl

Re: [lng-odp] [API-NEXT PATCH v6 3/6] Add arch/ files

2017-05-23 Thread Savolainen, Petri (Nokia - FI/Espoo)
> diff --git a/platform/linux-generic/arch/powerpc/odp_cpu.h > b/platform/linux-generic/arch/powerpc/odp_cpu.h > new file mode 100644 > index ..e118e709 > --- /dev/null > +++ b/platform/linux-generic/arch/powerpc/odp_cpu.h > @@ -0,0 +1,10 @@ > +/* Copyright (c) 2017, Linaro Limited > + * Al

Re: [lng-odp] [PATCH] linux-gen: sched: fix ordered enqueue to pktout queue

2017-05-23 Thread Yi He
Reviewed-and-tested-by: Yi He On 22 May 2017 at 17:39, Matias Elo wrote: > Make sure packet order is maintained if enqueueing packets from an ordered > queue. > > Fixes https://bugs.linaro.org/show_bug.cgi?id=3002 > > Signed-off-by: Matias Elo > --- > platform/linux-generic/odp_packet_io.c