Re: [lng-odp] use of barrier in ODP programs

2014-09-03 Thread Bala Manoharan
Hi, I agree completely for the odp_buffer_t which is returned by odp_schedule that the barrier should be maintained by the implementation. But what about the user meta data which is added as a pointer to the odp_buffer_t this data is linked with the buffer by the application. Since the user meta

Re: [lng-odp] [PATCH v2] test/unit: add odp_buffer_test

2014-09-03 Thread Savolainen, Petri (NSN - FI/Espoo)
From: ext Mike Holmes [mailto:mike.hol...@linaro.org] Sent: Tuesday, September 02, 2014 11:53 PM To: Savolainen, Petri (NSN - FI/Espoo) Cc: lng-odp@lists.linaro.org Subject: Re: [lng-odp] [PATCH v2] test/unit: add odp_buffer_test On 1 September 2014 03:44, Savolainen, Petri (NSN - FI/Espoo)

Re: [lng-odp] ODP-DPDK multi queue support

2014-09-03 Thread Santosh Shukla
Patch to test multi-queue support on ODP-DPDK without with multi-queue. Tested-by : Santosh Shukla santosh.shu...@linaro.org On 3 September 2014 16:10, Santosh Shukla santosh.shu...@linaro.org wrote: Confirmed. It is working. On 1 September 2014 14:09, Venkatesh Vivekanandan

Re: [lng-odp] ODP-DPDK multi queue support

2014-09-03 Thread Maxim Uvarov
On 09/03/2014 02:48 PM, Venkatesh Vivekanandan wrote: Hi Maxim, Can you please add the Tested-by to the below commit, I can not change existence commits. But we can have this for record in mailing list. Maxim. commit e9e7bc237086d6d07dc004e591063838a12563ed Author: Venkatesh

Re: [lng-odp] ODP Bare-metal support

2014-09-03 Thread Bill Fischofer
Thanks Jerin. This is something we can perhaps discuss in more detail during next week's ODP call and/or at LCU. The ODP design point is multicore SoCs where at least one processor can run Linux. It's quite reasonable to expect that many SoCs will have a main core that has Linux capabilities

Re: [lng-odp] ODP Bare-metal support

2014-09-03 Thread Savolainen, Petri (NSN - FI/Espoo)
-Original Message- From: lng-odp-boun...@lists.linaro.org [mailto:lng-odp- boun...@lists.linaro.org] On Behalf Of ext Jacob, Jerin Sent: Wednesday, September 03, 2014 10:49 AM To: lng-odp@lists.linaro.org Subject: [lng-odp] ODP Bare-metal support All, We have tried to add ODP

[lng-odp] [PATCH 1/2] linux-generic: netmap: Fixed Makefile.am

2014-09-03 Thread Ciprian Barbu
Signed-off-by: Ciprian Barbu ciprian.ba...@linaro.org --- platform/linux-generic/Makefile.am | 5 + 1 file changed, 5 insertions(+) diff --git a/platform/linux-generic/Makefile.am b/platform/linux-generic/Makefile.am index 949b8d1..25c82ea 100644 --- a/platform/linux-generic/Makefile.am +++

[lng-odp] [PATCH 2/2] linux-generic: netmap: renamed helper functions

2014-09-03 Thread Ciprian Barbu
Signed-off-by: Ciprian Barbu ciprian.ba...@linaro.org --- example/packet_netmap/odp_pktio_netmap.c | 2 +- platform/linux-generic/include/odp_packet_netmap.h | 2 +- platform/linux-generic/odp_packet_netmap.c | 8 3 files changed, 6 insertions(+), 6 deletions(-) diff

[lng-odp] [PATCH 0/2] Fix compilation errors for netmap support

2014-09-03 Thread Ciprian Barbu
The structure in ODP has changed since last time netmap was checked. This patch series fixes compilation issues for the netmap support Ciprian Barbu (2): linux-generic: odp_packet_netmap: Added missing source file in Makefile.am linux-generic: netmap: fixed renamed helper functions

Re: [lng-odp] ODP Bare-metal support

2014-09-03 Thread Jerin Jacob
On Wed, Sep 03, 2014 at 11:31:40AM +, Savolainen, Petri (NSN - FI/Espoo) wrote: -Original Message- From: lng-odp-boun...@lists.linaro.org [mailto:lng-odp- boun...@lists.linaro.org] On Behalf Of ext Jacob, Jerin Sent: Wednesday, September 03, 2014 10:49 AM To:

Re: [lng-odp] ODP Bare-metal support

2014-09-03 Thread Jerin Jacob
On Wed, Sep 03, 2014 at 02:14:20PM +0400, Maxim Uvarov wrote: Hello Jacob, that is interesting. Sound linke not huge work is needed. But in your case you need to implement separate odp platform which will use Cavium specific things instead of linux-generic. I also have some notes bellow.

Re: [lng-odp] ODP Bare-metal support

2014-09-03 Thread Ola Liljedahl
If you use shared data (e.g. using global variables) in a multithreaded environment, you will need to do explicit synchronization (barriers etc) from the application. I assume that the current test and example apps support multithreaded (including multicore) environments. Do you think there are

Re: [lng-odp] UML diagrams for ODP entities (was Re: odp_buffer_alloc and odp_buffer_free)

2014-09-03 Thread Marshall Guillory
oh...that would be bad. :-) I will mail you my books from the class. -- Sincerely, Marshall Guillory Technical Program Enabler, Scrum master Linaro Networking Group (LNG) Engineering Group M: +1.405.609.4491 IRC: marshallg Skype: hingedthinker E: marshall.guill...@linaro.org Linaro.org │

[lng-odp] [PATCH v3 2/2] Timer example error check

2014-09-03 Thread Petri Savolainen
Signed-off-by: Petri Savolainen petri.savolai...@linaro.org --- example/timer/odp_timer_test.c | 15 ++- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/example/timer/odp_timer_test.c b/example/timer/odp_timer_test.c index 4168856..d040821 100644 ---

[lng-odp] [PATCH] linux-generic: odp ipc implementation v4

2014-09-03 Thread Maxim Uvarov
Implement odp implementation for linux-generic using standard odp queue API. Signed-off-by: Maxim Uvarov maxim.uva...@linaro.org --- v4: - fixed Anderses comments. (did not use unlikely() for init functions. Only for packet processing. - checkpatch cleanup; - update to the

Re: [lng-odp] [PATCH 1/2] Shared memory reserve flag

2014-09-03 Thread Maxim Uvarov
Perti, can you please take a look at linux-generic: odp ipc implementation v4 patch? We need to define how to pass flags to odp_shm_reserve. Or we use mine variant or yours. Thank you, Maxim. On 09/03/2014 03:56 PM, Savolainen, Petri (NSN - FI/Espoo) wrote: -Original Message-

Re: [lng-odp] ODP Bare-metal support

2014-09-03 Thread Bill Fischofer
It depends on the bare metal environment. Depending on the underlying architecture, the processing elements may have their own separate RAMs, with controlled access to common areas. This maps better to a process model with select shared memory areas than a threading model where there's implied

Re: [lng-odp] [OVS-ODP] Testing on Keystone2

2014-09-03 Thread Taras Kondratiuk
On 09/02/2014 08:59 PM, Ciprian Barbu wrote: Hello Taras, I have updated my openvswitch_odp to the latest ODP version and I would like some help testing it on keystone. I haven't compiled ODP for KS2 yet, so maybe you can help me with that. Let's make a HO. Are you available today? The

[lng-odp] [APPS/PATCH] Added openvswitch with ODP support

2014-09-03 Thread Ciprian Barbu
Signed-off-by: Ciprian Barbu ciprian.ba...@linaro.org --- Makefile | 12 + openvswitch/Makefile | 41 + .../0001-ofpbuf-Added-OFPBUF_ODP-type.patch| 60 + ...0002-Config-options-for-building-with-ODP.patch |

Re: [lng-odp] [OVS-ODP] Testing on Keystone2

2014-09-03 Thread Ciprian Barbu
On Wed, Sep 3, 2014 at 5:27 PM, Taras Kondratiuk taras.kondrat...@linaro.org wrote: On 09/02/2014 08:59 PM, Ciprian Barbu wrote: Hello Taras, I have updated my openvswitch_odp to the latest ODP version and I would like some help testing it on keystone. I haven't compiled ODP for KS2 yet,

Re: [lng-odp] [PATCH 0/2] Fix compilation errors for netmap support

2014-09-03 Thread Mike Holmes
Do you mean https://cards.linaro.org/browse/LNG-483 that was scheduled behind OVS work ? On 3 September 2014 13:06, Taras Kondratiuk taras.kondrat...@linaro.org wrote: On 09/03/2014 02:41 PM, Ciprian Barbu wrote: The structure in ODP has changed since last time netmap was checked. This

Re: [lng-odp] [PATCH 0/2] Fix compilation errors for netmap support

2014-09-03 Thread Taras Kondratiuk
On 09/03/2014 08:18 PM, Mike Holmes wrote: Do you mean https://cards.linaro.org/browse/LNG-483 that was scheduled behind OVS work ? Exactly this one. ___ lng-odp mailing list lng-odp@lists.linaro.org http://lists.linaro.org/mailman/listinfo/lng-odp

Re: [lng-odp] [PATCH v4 1/1] API support for querying mac address

2014-09-03 Thread Robbie King (robking)
Anders has requested that I put a bugID in my patches for IPsec example application where I have a #define to work around the fact this patch isn't in yet. Does such a bugID already exist, or is there a chance this patch will be accepted soon? I would really like to get the IPsec app patches in

Re: [lng-odp] [PATCHv3 0/4] IPsec example application

2014-09-03 Thread Robbie King (robking)
Taras, do you have a bug ID for the IPSEC_POLL_QUEUES workaround? Anders has requested that be included in my IPsec application patch. -Original Message- From: Taras Kondratiuk [mailto:taras.kondrat...@linaro.org] Sent: Tuesday, August 26, 2014 10:42 AM To: Robbie King (robking);

[lng-odp] [Bug 616] static void check_align(pool_entry_t *pool, odp_buffer_hdr_t *hdr) calls exit(0)

2014-09-03 Thread bugzilla-daemon
https://bugs.linaro.org/show_bug.cgi?id=616 Mike Holmes mike.hol...@linaro.org changed: What|Removed |Added CC||lng-odp@lists.linaro.org

[lng-odp] [Bug 618] uint64_t odp_time_get_cycles(void) calls exit

2014-09-03 Thread bugzilla-daemon
https://bugs.linaro.org/show_bug.cgi?id=618 Mike Holmes mike.hol...@linaro.org changed: What|Removed |Added CC||lng-odp@lists.linaro.org

[lng-odp] [Bug 617] static void fill_hdr(void *ptr, pool_entry_t *pool, uint32_t index, int buf_type) calls exit()

2014-09-03 Thread bugzilla-daemon
https://bugs.linaro.org/show_bug.cgi?id=617 Mike Holmes mike.hol...@linaro.org changed: What|Removed |Added CC||lng-odp@lists.linaro.org

[lng-odp] [Bug 608] Failure to build ODP with --enable-netmap

2014-09-03 Thread bugzilla-daemon
https://bugs.linaro.org/show_bug.cgi?id=608 Mike Holmes mike.hol...@linaro.org changed: What|Removed |Added CC||lng-odp@lists.linaro.org

[lng-odp] [Bug 609] Update configure script so as to specify path to netmap sources

2014-09-03 Thread bugzilla-daemon
https://bugs.linaro.org/show_bug.cgi?id=609 Mike Holmes mike.hol...@linaro.org changed: What|Removed |Added CC||lng-odp@lists.linaro.org

[lng-odp] [Bug 613] static void link_bufs(pool_entry_t *pool) calls exit(0) for abad buffer type

2014-09-03 Thread bugzilla-daemon
https://bugs.linaro.org/show_bug.cgi?id=613 Mike Holmes mike.hol...@linaro.org changed: What|Removed |Added Resolution|--- |DUPLICATE

Re: [lng-odp] [PATCH 1/2] linux-generic: netmap: Fixed Makefile.am

2014-09-03 Thread Mike Holmes
Are there any instructions on how to build with netmap ? On 3 September 2014 07:41, Ciprian Barbu ciprian.ba...@linaro.org wrote: Signed-off-by: Ciprian Barbu ciprian.ba...@linaro.org --- platform/linux-generic/Makefile.am | 5 + 1 file changed, 5 insertions(+) diff --git