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] [PATCH 4/4] ipc: example app

2015-05-21 Thread Maxim Uvarov
On 05/20/2015 18:24, Ciprian Barbu wrote: On Fri, May 8, 2015 at 12:57 PM, Maxim Uvarov maxim.uva...@linaro.org wrote: Simple example app creates one packet i/o to external interface and one ipc pktio to other process. Then transfer packet from external interface to other process and back

Re: [lng-odp] [PATCH 1/2 v1] examples: ipsec: tunnel mode support

2015-05-21 Thread Steve Kordus (skordus)
The changes look good to me. -Original Message- From: Maxim Uvarov [mailto:maxim.uva...@linaro.org] Sent: Thursday, May 21, 2015 12:47 PM To: lng-odp@lists.linaro.org; Steve Kordus (skordus) Subject: Re: [lng-odp] [PATCH 1/2 v1] examples: ipsec: tunnel mode support CC Steve, it he is

Re: [lng-odp] [RFC] Add ipc.h

2015-05-21 Thread Ola Liljedahl
On 21 May 2015 at 13:22, Alexandru Badicioiu alexandru.badici...@linaro.org wrote: Hi, would Netlink protocol (https://tools.ietf.org/html/rfc3549) fit the purpose of ODP IPC (within a single OS instance)? I interpret this as a question whether Netlink would be fit as an implementation of the

Re: [lng-odp] [RFC] Add ipc.h

2015-05-21 Thread Alexandru Badicioiu
I was referring to the Netlink protocol in itself, as a model for ODP MBUS (or IPC). The interaction between the FEC and the CPC, in the Netlink context, defines a protocol. Netlink provides mechanisms for the CPC (residing in user space) and the FEC (residing in kernel space) to have

Re: [lng-odp] [RFC] Add ipc.h

2015-05-21 Thread Ola Liljedahl
On 21 May 2015 at 11:50, 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 ext Ola Liljedahl Sent: Tuesday, May 19, 2015 1:04 AM To: lng-odp@lists.linaro.org Subject:

Re: [lng-odp] [RFC] Add ipc.h

2015-05-21 Thread Alexandru Badicioiu
Hi, would Netlink protocol (https://tools.ietf.org/html/rfc3549) fit the purpose of ODP IPC (within a single OS instance)? Thanks, Alex On 21 May 2015 at 14:12, Ola Liljedahl ola.liljed...@linaro.org wrote: On 21 May 2015 at 11:50, Savolainen, Petri (Nokia - FI/Espoo)

Re: [lng-odp] [RFC] Add ipc.h

2015-05-21 Thread Savolainen, Petri (Nokia - FI/Espoo)
-Original Message- From: lng-odp [mailto:lng-odp-boun...@lists.linaro.org] On Behalf Of ext Ola Liljedahl Sent: Tuesday, May 19, 2015 1:04 AM To: lng-odp@lists.linaro.org Subject: [lng-odp] [RFC] Add ipc.h As promised, here is my first attempt at a standalone API for IPC - inter

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

2015-05-21 Thread Ola Liljedahl
On 21 May 2015 at 09:53, Jerin Jacob jerin.ja...@caviumnetworks.com wrote: 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

Re: [lng-odp] [RFC] Add ipc.h

2015-05-21 Thread Ola Liljedahl
On 21 May 2015 at 15:56, Alexandru Badicioiu alexandru.badici...@linaro.org wrote: I got the impression that ODP MBUS API would define a transport protocol/API between an ODP No the MBUS API is just an API for message passing (think of the OSE IPC API) and doesn't specify use cases or

Re: [lng-odp] [RFC] Add ipc.h

2015-05-21 Thread Alexandru Badicioiu
I got the impression that ODP MBUS API would define a transport protocol/API between an ODP application and a control plane application, like TCP is the transport protocol for HTTP applications (e.g Web). Netlink defines exactly that - transport protocol for configuration messages. Maxim asked

Re: [lng-odp] [RFC] Add ipc.h

2015-05-21 Thread Ola Liljedahl
On 21 May 2015 at 15:05, Alexandru Badicioiu alexandru.badici...@linaro.org wrote: I was referring to the Netlink protocol in itself, as a model for ODP MBUS (or IPC). Isn't the Netlink protocol what the endpoints send between them? This is not specified by the ODP IPC/MBUS API, applications

[lng-odp] [PATCHv6 2/5] api ipc: update ring with shm proc argument

2015-05-21 Thread Maxim Uvarov
Signed-off-by: Maxim Uvarov maxim.uva...@linaro.org --- helper/include/odp/helper/ring.h | 2 ++ helper/ring.c| 9 - 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/helper/include/odp/helper/ring.h b/helper/include/odp/helper/ring.h index

[lng-odp] [PATCHv6 1/5] linux-generic: zero params for pool create

2015-05-21 Thread Maxim Uvarov
Adding more params to pool create breaks original work. Make sure that not set params are zero. Signed-off-by: Maxim Uvarov maxim.uva...@linaro.org --- platform/linux-generic/odp_schedule.c | 1 + test/validation/odp_queue.c | 1 + 2 files changed, 2 insertions(+) diff --git

Re: [lng-odp] [PATCH 1/2 v1] examples: ipsec: tunnel mode support

2015-05-21 Thread Maxim Uvarov
CC Steve, it he is not in mailing list. Maxim. On 05/19/2015 11:38, alexandru.badici...@linaro.org wrote: From: Alexandru Badicioiu alexandru.badici...@linaro.org v1 - added comment for tunnel DB entry use Tunnel mode is enabled from the command line using -t argument with the following

Re: [lng-odp] [PATCH] platform: Makefile.inc: use `` instead of != for compatibility with older versions of Make

2015-05-21 Thread Maxim Uvarov
Merged, Maxim. On 05/19/2015 11:31, Nicolas Morey-Chaisemartin wrote: Suggested-by: Maxim Uvarov maxim.uva...@linaro.org Signed-off-by: Nicolas Morey-Chaisemartin nmo...@kalray.eu --- platform/Makefile.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [lng-odp] [PATCH] validation: pktio: do not destroy pool

2015-05-21 Thread Maxim Uvarov
Hello Stuart, please review that patch. Thank you, Maxim. On 05/20/2015 12:31, Maxim Uvarov wrote: Some platforms like DPDK and Cavium bare metal can not dynamically destroy and create pool with the same name. Keep pool destroy only in test suite termination to make all other pktio tests