Re: [lng-odp] [PATCH] performance: pktio: add throughput test

2015-03-26 Thread Bill Fischofer
This is very nice. Only comment (and this is a nit that doesn't affect this review) is that the "FAILs" reported when ramping up to find the upper bounds really aren't failures since it's expected that any system will have finite limits. But that should be perhaps just documentation. On Thu, Mar

Re: [lng-odp] [PATCHv2] fix: incorrect pmr_term_value update in odp_pmr_create_xxx() function

2015-03-26 Thread Bill Fischofer
On Thu, Mar 26, 2015 at 8:30 AM, wrote: > From: Balasubramanian Manoharan > Reviewed-and-tested-by: Bill Fischofer > > Fix for incorrect pmr_term_value update in odp_pmr_create_match() and > odp_pmr_create_range() functions. > Fixes https://bugs.linaro.org/show_bug.cgi?id=1381 > > Signed-off

Re: [lng-odp] [PATCH OVS v2v 0/6] Leftover from Connect

2015-03-26 Thread Bill Fischofer
In future these should probably be posted to the new lng-odp-...@lists.linaro.org mailing list. Bill On Thu, Mar 26, 2015 at 2:23 PM, Zoltan Kiss wrote: > These patches are the leftovers from the code used for the Connect demo. > No. 3-5 > were changed. > > _

Re: [lng-odp] [PATCH 2/2] linux-generic: timer: convert assert to ODP_ASSERT

2015-03-26 Thread Bill Fischofer
On Thu, Mar 26, 2015 at 11:43 AM, Mike Holmes wrote: > ODP implementations should not call assert directly. > > Signed-off-by: Mike Holmes > Reviewed-by: Bill Fischofer > --- > platform/linux-generic/odp_timer.c | 16 +++- > 1 file changed, 7 insertions(+), 9 deletions(-) > > di

Re: [lng-odp] [PATCH 1/2] linux-generic: debug_internal: assert prints condition

2015-03-26 Thread Bill Fischofer
On Thu, Mar 26, 2015 at 11:43 AM, Mike Holmes wrote: > Signed-off-by: Mike Holmes > Reviewed-by: Bill Fischofer > --- > platform/linux-generic/include/odp_debug_internal.h | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/platform/linux-generic/include/odp_debug_i

Re: [lng-odp] [PATCH] validation: pktio: fix memory corruption

2015-03-26 Thread Bill Fischofer
Sounds like we should hold v1.0.2 for this bug fix? Maxim: I think this review is properly yours as you did the jumbo frame add for v1.0.1. On Thu, Mar 26, 2015 at 12:52 PM, Stuart Haslam wrote: > A magic number, used to ensure jumbo frames are transmitted and received > in full, is written to

Re: [lng-odp] [PATCH] linux-generic: linux: destroy used pthread attr

2015-03-26 Thread Bill Fischofer
On Wed, Mar 18, 2015 at 7:02 PM, Mike Holmes wrote: > Signed-off-by: Mike Holmes > Reviewed-by: Bill Fischofer > --- > platform/linux-generic/odp_linux.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/platform/linux-generic/odp_linux.c > b/platform/linux-generic/odp_linux.c > inde

[lng-odp] [PATCH v2 2/6] netdev-odp: refactor error handling in netdev_odp_rxq_recv

2015-03-26 Thread Zoltan Kiss
Refactor how odp_pktio_recv errors handled, including: - use OVS_(UN)LIKELY - set *c in error cases - some code style fix at the definitions - remove stale printf from the end Signed-off-by: Zoltan Kiss --- lib/netdev-odp.c | 31 +++ 1 file changed, 15 insertions(+),

[lng-odp] [PATCH v2 3/5] netdev-odp: rename odp_pool_param_t members

2015-03-26 Thread Zoltan Kiss
Signed-off-by: Zoltan Kiss --- lib/netdev-odp.c | 21 +++-- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/lib/netdev-odp.c b/lib/netdev-odp.c index bdea022..2ab632e 100644 --- a/lib/netdev-odp.c +++ b/lib/netdev-odp.c @@ -132,10 +132,10 @@ odp_class_init(void)

[lng-odp] [PATCH v2 5/5] netdev-odp: remove unnecessary counter

2015-03-26 Thread Zoltan Kiss
It's not used to anything, and I don't see any value of it. Signed-off-by: Zoltan Kiss --- lib/netdev-odp.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/netdev-odp.c b/lib/netdev-odp.c index f2fbb94..be97d0e 100644 --- a/lib/netdev-odp.c +++ b/lib/netdev-odp.c @@ -5

[lng-odp] [PATCH v2 4/5] netdev-odp: rename odp_packet_* functions

2015-03-26 Thread Zoltan Kiss
Signed-off-by: Zoltan Kiss --- lib/netdev-odp.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/netdev-odp.c b/lib/netdev-odp.c index 2ab632e..f2fbb94 100644 --- a/lib/netdev-odp.c +++ b/lib/netdev-odp.c @@ -155,7 +155,7 @@ odp_class_init(void) VLOG_ERR(

[lng-odp] [PATCH v2 1/6] vlog: add vlog_rate_limit_valist

2015-03-26 Thread Zoltan Kiss
We will need this for odp_override_log Signed-off-by: Zoltan Kiss --- include/openvswitch/vlog.h | 2 ++ lib/vlog.c | 8 2 files changed, 10 insertions(+) diff --git a/include/openvswitch/vlog.h b/include/openvswitch/vlog.h index 3f71e4b..71b3453 100644 --- a/include/op

[lng-odp] [PATCH OVS v2 0/5]: Upgrade OVS to 1.0 API level

2015-03-26 Thread Zoltan Kiss
These patches make OVS compile with ODP 1.0 API. This version just rebases to the v2 of previous patch series "Leftover from Connect" ___ lng-odp mailing list lng-odp@lists.linaro.org http://lists.linaro.org/mailman/listinfo/lng-odp

[lng-odp] [PATCH OVS v2v 0/6] Leftover from Connect

2015-03-26 Thread Zoltan Kiss
These patches are the leftovers from the code used for the Connect demo. No. 3-5 were changed. ___ lng-odp mailing list lng-odp@lists.linaro.org http://lists.linaro.org/mailman/listinfo/lng-odp

[lng-odp] [PATCH v2 2/5] netdev-odp: rename buffer_pool to pool

2015-03-26 Thread Zoltan Kiss
Signed-off-by: Zoltan Kiss --- lib/netdev-odp.c | 26 +- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/lib/netdev-odp.c b/lib/netdev-odp.c index 765edee..bdea022 100644 --- a/lib/netdev-odp.c +++ b/lib/netdev-odp.c @@ -56,8 +56,8 @@ VLOG_DEFINE_THIS_MODUL

[lng-odp] [PATCH v2 6/6] netdev-odp: implemenet odp_override_log

2015-03-26 Thread Zoltan Kiss
ODP logs now end up in OVS logs. Signed-off-by: Zoltan Kiss --- lib/netdev-odp.c | 18 ++ 1 file changed, 18 insertions(+) diff --git a/lib/netdev-odp.c b/lib/netdev-odp.c index fa325faa..765edee 100644 --- a/lib/netdev-odp.c +++ b/lib/netdev-odp.c @@ -635,6 +635,24 @@ out_stats

[lng-odp] [PATCH v2 1/5] netdev-odp: fix header file names

2015-03-26 Thread Zoltan Kiss
Signed-off-by: Zoltan Kiss --- lib/netdev-odp.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/netdev-odp.h b/lib/netdev-odp.h index 6162dd4..ba58c08 100644 --- a/lib/netdev-odp.h +++ b/lib/netdev-odp.h @@ -7,9 +7,8 @@ #ifdef ODP_NETDEV #include -#include -#inc

[lng-odp] [PATCH v2 4/6] netdev-odp: allocate packet metadata in the same buffer as the packet itself

2015-03-26 Thread Zoltan Kiss
Allocating it after every packet receive gives a big performance penalty. So move it into the same buffer pool, right after the packet itself. Signed-off-by: Zoltan Kiss --- v2: - fix style of for loops - delete SHM_OFPBUF_NUM_BUFS and odp_ofpbuf - no need to DPDK offset hack anymore, it was a DP

[lng-odp] [PATCH v2 3/6] netdev-odp: Increase packet pool size

2015-03-26 Thread Zoltan Kiss
DPDK needs this otherwise it saturates the whole pool too fast. For some reason it doesn't work properly if the pool size is too small. Use a 2^q - 1 number as suggested by rte_mempool_create. Signed-off-by: Zoltan Kiss --- v2: decrease by one on DPDK's recommendation lib/netdev-odp.c | 2 +-

[lng-odp] [PATCH v2 5/6] netdev-odp: add error checking to clone_pkts

2015-03-26 Thread Zoltan Kiss
For odp_packet_push_tail Signed-off-by: Zoltan Kiss --- v2: add OVS_UNLIKELY lib/netdev-odp.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/netdev-odp.c b/lib/netdev-odp.c index b77eea0..fa325faa 100644 --- a/lib/netdev-odp.c +++ b/lib/netdev-odp.c @@ -326,7 +326,8 @

[lng-odp] [PATCH] validation: pktio: fix memory corruption

2015-03-26 Thread Stuart Haslam
A magic number, used to ensure jumbo frames are transmitted and received in full, is written to the end of a packet buffer at a fixed offset of 9170 bytes. However for non-jumbo tests this is way beyond the end of the allocated buffer. Signed-off-by: Stuart Haslam --- test/validation/odp_pktio.c

Re: [lng-odp] [RFC API-NEXT PATCHv2] api: pool/packet: proposed user metadata APIs

2015-03-26 Thread Bill Fischofer
OK, v3 posted to reflect these changes. Thanks. On Thu, Mar 26, 2015 at 9:42 AM, Savolainen, Petri (Nokia - FI/Espoo) < petri.savolai...@nokia.com> wrote: > > > > -Original Message- > > From: lng-odp-boun...@lists.linaro.org [mailto:lng-odp- > > boun...@lists.linaro.org] On Behalf Of ext

Re: [lng-odp] [PATCH] linux-generic: linux: destroy used pthread attr

2015-03-26 Thread Mike Holmes
ping On 18 March 2015 at 20:02, Mike Holmes wrote: > Signed-off-by: Mike Holmes > --- > platform/linux-generic/odp_linux.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/platform/linux-generic/odp_linux.c > b/platform/linux-generic/odp_linux.c > index 67ad05c..a471dd6 100644 > --- a/

[lng-odp] [RFC API-NEXT PATCHv3] api: packet/pool: proposed APIs for packet user metadata

2015-03-26 Thread Bill Fischofer
Signed-off-by: Bill Fischofer --- v3 changes: - Renamed odp_packet_user_metadata() to odp_packet_user_data() - Split addr/size return, adding odp_packet_user_data_size() - Moved udata_size to pkt structure within odp_pool_param_t v2 changes: - Moved udata_size to odp_pool_param_t - Renamed odp_p

[lng-odp] [PATCH 2/2] linux-generic: timer: convert assert to ODP_ASSERT

2015-03-26 Thread Mike Holmes
ODP implementations should not call assert directly. Signed-off-by: Mike Holmes --- platform/linux-generic/odp_timer.c | 16 +++- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/platform/linux-generic/odp_timer.c b/platform/linux-generic/odp_timer.c index b7cb04f..500f

[lng-odp] [PATCH 1/2] linux-generic: debug_internal: assert prints condition

2015-03-26 Thread Mike Holmes
Signed-off-by: Mike Holmes --- platform/linux-generic/include/odp_debug_internal.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/platform/linux-generic/include/odp_debug_internal.h b/platform/linux-generic/include/odp_debug_internal.h index 5e38772..24608e1 100644 --- a

Re: [lng-odp] [API-NEXT PATCHv2 1/3] api: packet: use odp_bool_t for packet flag APIs

2015-03-26 Thread Bill Fischofer
Following discussions today I've posted v3 of this patch as two separate patches as described in the update to Bug 1334: For v3 this patch has been split into two patches to reflect the change; Patch http://patches.opendataplane.org/patch/1215/ only changes the packet test in a way that is fully

[lng-odp] [Bug 1334] packet flag APIs are booleans and should follow boolean guidelines

2015-03-26 Thread bugzilla-daemon
https://bugs.linaro.org/show_bug.cgi?id=1334 --- Comment #4 from Bill Fischofer --- For v3 this patch has been split into two patches to reflect the change; Patch http://patches.opendataplane.org/patch/1215/ only changes the packet test in a way that is fully backwards-compatible with before, so

[lng-odp] [PATCHv3] validation: packet: use non-zero as true indicator

2015-03-26 Thread Bill Fischofer
This change addresses Bug https://bugs.linaro.org/show_bug.cgi?id=1334 Signed-off-by: Bill Fischofer --- Note that for v3 this patch is split. The test change doe not affect the ODP API and hence can be merged as part of the next ODP maintenance release. The API change (just doxygen) is posted t

[lng-odp] [API-NEXT PATCHv3] api: packet: relax return code to use non-zero for true

2015-03-26 Thread Bill Fischofer
This change addresses Bug https://bugs.linaro.org/show_bug.cgi?id=1334 Signed-off-by: Bill Fischofer --- Note that for v3 this patch is split. The test change doe not affect the ODP API and hence can be merged as part of the next ODP maintenance release. The API change (just doxygen) is posted t

[lng-odp] [Bug 1365] Lock-up following sendmmsg failure

2015-03-26 Thread bugzilla-daemon
https://bugs.linaro.org/show_bug.cgi?id=1365 Mike Holmes changed: What|Removed |Added Assignee|maxim.uva...@linaro.org |stuart.has...@linaro.org --- Comment #3 from Mik

[lng-odp] [Bug 1001] linux-generic: schedule: priority scheduling broken for one thread

2015-03-26 Thread bugzilla-daemon
https://bugs.linaro.org/show_bug.cgi?id=1001 --- Comment #9 from Ciprian Barbu --- Petri started reworking the scheduler for linux-generic, but I will have to check if the bug is still present. -- You are receiving this mail because: You are on the CC list for the bug.__

[lng-odp] [Bug 1386] Doxygen: input source `./platform/linux-netmap/include/odp' does not exist

2015-03-26 Thread bugzilla-daemon
https://bugs.linaro.org/show_bug.cgi?id=1386 Mike Holmes changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

Re: [lng-odp] [PATCHv3 2/3] example: odp_ipsec: replace strtok_r with strtok and fix leaks

2015-03-26 Thread Mike Holmes
On 25 March 2015 at 07:58, Ciprian Barbu wrote: > The odp_ipsec example leaks some strings allocated during parse_args. > https://bugs.linaro.org/show_bug.cgi?id=1117 > CID 56899: Resource leak (RESOURCE_LEAK) > > Signed-off-by: Ciprian Barbu > Reviewed-by: Mike Holmes > --- > example/ips

Re: [lng-odp] [PATCHv3 3/3] example: generator: replace strtok_r with strtok and fix leaks

2015-03-26 Thread Mike Holmes
On 25 March 2015 at 07:58, Ciprian Barbu wrote: > The odp_ipsec example leaks some strings allocated during parse_args. > https://bugs.linaro.org/show_bug.cgi?id=1117 > CID 56899: Resource leak (RESOURCE_LEAK) > > Signed-off-by: Ciprian Barbu > Reviewed-by: Mike Holmes > --- > example/gen

Re: [lng-odp] [PATCHv3 1/3] example: odp_l2fwd: replace strtok_r with strtok and fix leaks

2015-03-26 Thread Mike Holmes
On 25 March 2015 at 07:58, Ciprian Barbu wrote: > The odp_l2fwd example leaks some strings allocated during parse_args. > https://bugs.linaro.org/show_bug.cgi?id=1117 > CID 56899: Resource leak (RESOURCE_LEAK) > > Signed-off-by: Ciprian Barbu > Reviewed-by: Mike Holmes > --- > v3: > - reba

[lng-odp] [Bug 1359] include/odp/api/init.h empty struct has size 0 in C, size 1 in C++

2015-03-26 Thread bugzilla-daemon
https://bugs.linaro.org/show_bug.cgi?id=1359 Mike Holmes changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[lng-odp] [Bug 1365] Lock-up following sendmmsg failure

2015-03-26 Thread bugzilla-daemon
https://bugs.linaro.org/show_bug.cgi?id=1365 --- Comment #2 from Mike Holmes --- Requires patch - need to return error to application, a new unit test case could verify this behavior. -- You are receiving this mail because: You are on the CC list for the bug.

[lng-odp] [Bug 1383] validation: pktio check for poll queue type

2015-03-26 Thread bugzilla-daemon
https://bugs.linaro.org/show_bug.cgi?id=1383 Mike Holmes changed: What|Removed |Added CC||mike.hol...@linaro.org --- Comment #1 from Mike

[lng-odp] [Bug 1389] Static assertion on tick_buf_t in timer.c

2015-03-26 Thread bugzilla-daemon
https://bugs.linaro.org/show_bug.cgi?id=1389 Mike Holmes changed: What|Removed |Added Resolution|--- |FIXED CC|

Re: [lng-odp] [API-NEXT PATCHv2 1/3] api: packet: use odp_bool_t for packet flag APIs

2015-03-26 Thread Ola Liljedahl
On 26 March 2015 at 15:02, Savolainen, Petri (Nokia - FI/Espoo) < petri.savolai...@nokia.com> wrote: > I was referring to flags in a SoC packet descriptor, which may be stored > into one or more u64 words. > Code could access the most significant half (32 bits) of such 64-bit words using 32-bit l

Re: [lng-odp] [RFC API-NEXT PATCHv2] api: pool/packet: proposed user metadata APIs

2015-03-26 Thread Savolainen, Petri (Nokia - FI/Espoo)
> -Original Message- > From: lng-odp-boun...@lists.linaro.org [mailto:lng-odp- > boun...@lists.linaro.org] On Behalf Of ext Bill Fischofer > Sent: Wednesday, March 25, 2015 8:04 PM > To: lng-odp@lists.linaro.org > Subject: [lng-odp] [RFC API-NEXT PATCHv2] api: pool/packet: proposed user >

[lng-odp] [PATCH] performance: pktio: add throughput test

2015-03-26 Thread Stuart Haslam
A self-contained throughput test using the loop interface. A number of transmit and receive workers are run on separate cores, the transmitters generate packets at a defined rate and the receivers consume them. Each test iteration runs for a fixed period, at the end of the iteration it is verified

Re: [lng-odp] [API-NEXT PATCHv2 1/3] api: packet: use odp_bool_t for packet flag APIs

2015-03-26 Thread Savolainen, Petri (Nokia - FI/Espoo)
I was referring to flags in a SoC packet descriptor, which may be stored into one or more u64 words. I’m also suggesting to use int. Just wanted check if SoC vendors agree that it performs OK. -Petri From: ext Bill Fischofer [mailto:bill.fischo...@linaro.org] Sent: Thursday, March 26, 2015 3:

[lng-odp] [Bug 1381] Incorrect pmr_term_value update in odp_pmr_create_xxx() fuction

2015-03-26 Thread bugzilla-daemon
https://bugs.linaro.org/show_bug.cgi?id=1381 --- Comment #2 from Bala Manoharan --- V2 patch submitted: https://patches.linaro.org/46366/ -- You are receiving this mail because: You are on the CC list for the bug.___ lng-odp mailing list lng-odp@lists

Re: [lng-odp] [PATCHv5] validation: implement platform env and add performance/odp_example_l2fwd_run

2015-03-26 Thread Mike Holmes
On 25 March 2015 at 12:32, Maxim Uvarov wrote: > Different platforms need different steps to set up pktio for testing. That > might be veth devices for linux-generic, kernel modules and extended set up > for dpdk and simple set pktio testing names for other platforms. This patch > implements plat

[lng-odp] [PATCHv2] fix: incorrect pmr_term_value update in odp_pmr_create_xxx() function

2015-03-26 Thread bala . manoharan
From: Balasubramanian Manoharan Fix for incorrect pmr_term_value update in odp_pmr_create_match() and odp_pmr_create_range() functions. Fixes https://bugs.linaro.org/show_bug.cgi?id=1381 Signed-off-by: Balasubramanian Manoharan --- v2: Fixes checkpatch issue pointed by Bill platform/linux-ge

Re: [lng-odp] [API-NEXT PATCHv2 1/3] api: packet: use odp_bool_t for packet flag APIs

2015-03-26 Thread Bill Fischofer
We actually have far fewer than 32 flag bits defined (19 at present), so no need for uint64_t to store them. Most SoCs have fairly efficient bit-twiddling instructions anyway so I'd leave the optimal implementation questions to them. Sounds like we should just leave this as int (as it is today),

Re: [lng-odp] [API-NEXT PATCHv2 1/3] api: packet: use odp_bool_t for packet flag APIs

2015-03-26 Thread Savolainen, Petri (Nokia - FI/Espoo)
It’s OK to me. Although, I was thinking that an implementation defined type can save e.g. cycle in a case like this - flags are stored in a uint64_t - IPv4 flag in upper 32 bits - implementation defines the type as uint64_t - only one mask operation is needed e.g. return pkt_hrd.flags & HAS_IPV4_

Re: [lng-odp] [API-NEXT PATCHv2 1/3] api: packet: use odp_bool_t for packet flag APIs

2015-03-26 Thread Bill Fischofer
Is there any reason not to leave this as int then? On Thu, Mar 26, 2015 at 7:10 AM, Savolainen, Petri (Nokia - FI/Espoo) < petri.savolai...@nokia.com> wrote: > As discussed in one of the calls, I think 0 vs. non-zero return value is > OK, but odp_bool_t would be misleading type for that range (bo

Re: [lng-odp] [API-NEXT PATCHv2 1/3] api: packet: use odp_bool_t for packet flag APIs

2015-03-26 Thread Savolainen, Petri (Nokia - FI/Espoo)
As discussed in one of the calls, I think 0 vs. non-zero return value is OK, but odp_bool_t would be misleading type for that range (bool is 0 or 1). So, it would be better to have another type for true/false integer condition. -Petri > -Original Message- > From: ext Maxim Uvarov [mailt

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

2015-03-26 Thread Mike Holmes
Hi Jianhua Egress API's are in progress currently, we expect to roll out initial proposals into the api-next branch over the next few weeks, for classification the existing API covers these features http://docs. opendataplane.org/linux-generic-doxygen-html/group__odp __classification.html If you

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

2015-03-26 Thread Bill Fischofer
ODP v1.0 has an initial set of APIs to support packet classification on RX. See http://docs.opendataplane.org/linux-generic-doxygen-html/group__odp__classification.html for details. We are currently working on corresponding TX capabilities for packet shaping. These are currently being developed

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

2015-03-26 Thread Zhujianhua
Hi, ODP APIs are attractive and it seems very useful for data communication application. But unfortunately I cannot find any API (http://docs.opendataplane.org/html/files.html) for: Packet classification and Packet Shaping. Are these APIs not needed from ODP's point of view or will be defined

Re: [lng-odp] [API-NEXT PATCHv2 1/3] api: packet: use odp_bool_t for packet flag APIs

2015-03-26 Thread Maxim Uvarov
Petri, please review. Maxim. On 03/20/15 21:14, Bill Fischofer wrote: This change addresses Bug https://bugs.linaro.org/show_bug.cgi?id=1334 Signed-off-by: Bill Fischofer --- v2 adds doxygen fix to this patch. Petri: Please review this for API conformance. include/odp/api/packet_flags.h

Re: [lng-odp] api-next is behind

2015-03-26 Thread Maxim Uvarov
On 03/26/15 12:21, Savolainen, Petri (Nokia - FI/Espoo) wrote: Hi, Api-next branch seems to be some 30 commits behind the master. Those two should be very closely in sync, and api-next ahead of master. Maxim, could you merge all latest commits to api-next also. Last commit in api-next is: commi

[lng-odp] api-next is behind

2015-03-26 Thread Savolainen, Petri (Nokia - FI/Espoo)
Hi, Api-next branch seems to be some 30 commits behind the master. Those two should be very closely in sync, and api-next ahead of master. Maxim, could you merge all latest commits to api-next also. Last commit in api-next is: commit 66fe09dcf7bc55370781c42459ec84abfb56b195 Author: Maxim Uvaro

[lng-odp] [PATCH v2 3/4] validation: schedule: added queue destroy test

2015-03-26 Thread Petri Savolainen
The test creates one queue of each schedule sync type and destroys those. Signed-off-by: Petri Savolainen --- test/validation/odp_schedule.c | 64 ++ 1 file changed, 64 insertions(+) diff --git a/test/validation/odp_schedule.c b/test/validation/odp_schedu

[lng-odp] [PATCH v2 1/4] linux-generic: scheduler: restructured queue and pktio integration

2015-03-26 Thread Petri Savolainen
Scheduler runs by polling scheduler priority queues for schedule commands. There are two types of scheduler commands: queue dequeue and packet input poll. Packet input is polled directly when a poll command is received. From schduler point of view, the default packet input queue is like any other q

[lng-odp] [PATCH v2 2/4] linux-generic: schedule: terminate

2015-03-26 Thread Petri Savolainen
Added clean up for pending schedule commands and queue destroys. Added error detection of non empty queues and pre-scheduled events. Signed-off-by: Petri Savolainen --- platform/linux-generic/odp_schedule.c | 82 ++- 1 file changed, 61 insertions(+), 21 deletions(

[lng-odp] [PATCH v2 0/4] Schedule terminate

2015-03-26 Thread Petri Savolainen
v2: Addressed Mike's comments: modified TODO comments, renamed cls_enabled, queue type check returns an error in odp_pktio_inq_setdef() Petri Savolainen (4): linux-generic: scheduler: restructured queue and pktio integration linux-generic: schedule: terminate validation: schedule: added queu

[lng-odp] [PATCH v2 4/4] validation: schedule: exit schedule loop

2015-03-26 Thread Petri Savolainen
Added function to pause and exit the schedule loop according to the API. Signed-off-by: Petri Savolainen --- test/validation/odp_schedule.c | 21 + 1 file changed, 21 insertions(+) diff --git a/test/validation/odp_schedule.c b/test/validation/odp_schedule.c index 0f659b8..b1

Re: [lng-odp] [PATCH 1/4] linux-generic: scheduler: restructured queue and pktio integration

2015-03-26 Thread Savolainen, Petri (Nokia - FI/Espoo)
From: ext Mike Holmes [mailto:mike.hol...@linaro.org] Sent: Thursday, March 26, 2015 12:00 AM To: Savolainen, Petri (Nokia - FI/Espoo) Cc: lng-odp Subject: Re: [lng-odp] [PATCH 1/4] linux-generic: scheduler: restructured queue and pktio integration On 23 March 2015 at 10:42, Petri Savolainen