[lng-odp] [API-NEXT PATCHv5 2/4] api: move include/odp.h to include/odp_api.h

2016-02-10 Thread Christophe Milard
odp.h actually describes the applicatiion interface of ODP and is logicaly moved to odp_api.h. Applications now includes . This simplifies the addition of other ODP interfaces (e.g. drivers may include odp_drv.h in the future.) Signed-off-by: Christophe Milard <christophe.mil...@linaro.

Re: [lng-odp] [API-NEXT PATCHv4 4/4] api: odp.h to ease transition period

2016-02-10 Thread Christophe Milard
I did not know this was an issue. will do a v5... On 10 February 2016 at 17:34, Bill Fischofer <bill.fischo...@linaro.org> wrote: > > > On Wed, Feb 10, 2016 at 11:27 AM, Christophe Milard < > christophe.mil...@linaro.org> wrote: > >> The former odp.h (now ca

[lng-odp] [API-NEXT PATCHv4 3/4] doc: descr of structure for new interfaces

2016-02-10 Thread Christophe Milard
updates of the documentation to reflect the new structure allowing new interface addition. Signed-off-by: Christophe Milard <christophe.mil...@linaro.org> --- doc/implementers-guide/implementers-guide.adoc | 72 +++--- doc/users-guide/users-guide.adoc

[lng-odp] [API-NEXT PATCHv4 0/4] Preparing for new interfaces

2016-02-10 Thread Christophe Milard
own: git mv include/odp.h include/odp_api.h #change double include protection macro name: sed -i -e 's:ODP_H_:ODP_API_H_:' include/odp_api.h #change all include to include git grep -l 'include.*odp\.h[>"]' | egrep -e '(.*\.c$)|(.*\.h$)|(.*\.cpp$)' | xargs sed -i -e 's:#include\(.*\)odp\.h\(.*\):

[lng-odp] [API-NEXT PATCHv5 0/4] Preparing for new interfaces

2016-02-10 Thread Christophe Milard
## #move odp.h one step down: git mv include/odp.h include/odp_api.h #change double include protection macro name: sed -i -e 's:ODP_H_:ODP_API_H_:' include/odp_api.h #change all include to include git grep -l 'include.*odp\.h[>"]' | egrep -e '(.*\.c$)|(.*\

[lng-odp] ODP_SHM_SW_ONLY shmem flag

2016-02-10 Thread Christophe Milard
Hi, As far as I understand, the ODP_SHM_SW_ONLY flag used when creating shared memory blocks is used to tell ODP that no 'HW' will try to access that shared memory. Is the ODP HW included in this?... If ODP provide HW acceleration for some functions, would the usage of this flag tell ODP that

[lng-odp] [API-NEXT PATCHv3 0/3] Preparing for new interfaces

2016-02-09 Thread Christophe Milard
# #move odp.h one step down: git mv include/odp.h include/odp_api.h #change all include to include git grep -l 'include.*odp\.h[>"]' | egrep -e '(.*\.c$)|(.*\.h$)|(.*\.cpp$)' | xargs sed -i -e 's:#include\(.*\)odp\.h\(.*\):#include\1odp_api\.h\

[lng-odp] [API-NEXT PATCHv3 2/3] api: move include/odp.h to include/odp_api.h

2016-02-09 Thread Christophe Milard
letter of this patch serie. Signed-off-by: Christophe Milard <christophe.mil...@linaro.org> --- example/classifier/odp_classifier.c| 2 +- example/generator/odp_generator.c | 2 +- example/ipsec/odp_i

Re: [lng-odp] [API-NEXT PATCHv2 3/3] doc: descr of structure for new interfaces

2016-02-09 Thread Christophe Milard
I think the docs should use space when it comes to trees. It make more sense than tabs, as it is a "drawing". This is what was used so far. But Anders is right here: there are strange ascii codes decimal 160 probably output by the "tree" command. I will send a v3 without these. Christophe. On

[lng-odp] [API-NEXT PATCHv3 3/3] doc: descr of structure for new interfaces

2016-02-09 Thread Christophe Milard
updates of the documentation to reflect the new structure allowing new interface addition. Signed-off-by: Christophe Milard <christophe.mil...@linaro.org> --- doc/implementers-guide/implementers-guide.adoc | 72 +++--- doc/users-guide/users-guide.adoc

Re: [lng-odp] [API-NEXT PATCHv2 0/3] Preparing for new interfaces

2016-02-09 Thread Christophe Milard
ld. However in addition to the > whitespace issues in part 3 it needs a part 4 to update the Implementation > Guide, which includes a diagram of the include hierarchy that this series > modifies. > > On Mon, Feb 8, 2016 at 12:31 PM, Christophe Milard < > christophe.mil...

[lng-odp] [API-NEXT PATCHv2 3/3] doc: descr of structure for new interfaces

2016-02-08 Thread Christophe Milard
updates of the documentation to reflect the new structure allowing new interface addition. Signed-off-by: Christophe Milard <christophe.mil...@linaro.org> --- doc/implementers-guide/implementers-guide.adoc | 72 +++--- doc/users-guide/users-guide.adoc

[lng-odp] [API-NEXT PATCHv2 2/3] api: move include/odp.h to include/odp_api.h

2016-02-08 Thread Christophe Milard
letter of this patch serie. Signed-off-by: Christophe Milard <christophe.mil...@linaro.org> --- example/classifier/odp_classifier.c| 2 +- example/generator/odp_generator.c | 2 +- example/ipsec/odp_i

[lng-odp] [API-NEXT PATCHv2 0/3] Preparing for new interfaces

2016-02-08 Thread Christophe Milard
#move odp.h one step down: git mv include/odp.h include/odp_api.h #change all include to include git grep -l 'include.*odp\.h[>"]' | egrep -e '(.*\.c$)|(.*\.h$)|(.*\.cpp$)' | xargs sed -i -e 's:#include\(.*\)odp\.h\(.*\):#include\1odp_api\.h\2:' #change the makefile sed -i -e 's:

Re: [lng-odp] ODP_SHM_SW_ONLY shmem flag

2016-02-11 Thread Christophe Milard
nction that happens to be HW accelerated on the ODP this app is running on? Christophe. > > > *From:* lng-odp [mailto:lng-odp-boun...@lists.linaro.org] *On Behalf Of *EXT > Christophe Milard > *Sent:* Wednesday, February 10, 2016 7:20 PM > *To:* LNG ODP Mailman List <lng-odp@lists.

Re: [lng-odp] ODP_SHM_PROC shmem flag

2016-02-11 Thread Christophe Milard
processes can be linked with the ODP lib. Is it used anywhere?. thx, Christophe On 11 February 2016 at 15:28, Christophe Milard < christophe.mil...@linaro.org> wrote: > OK. > So my first understanding was correct. So I am back to my original > question: > through which interface

Re: [lng-odp] [PATCH v3 API-NEXT 1/4] linux-generic: separate x86 ODP_CACHE_LINE_SIZE to its arch file

2016-02-12 Thread Christophe Milard
On 5 February 2016 at 09:56, wrote: > From: Hongbo Zhang > > Currently all ODP_CACHE_LINE_SIZE macros for different architectures are > held in one header file, they should be moved to their own arch file. > This patch moves ODP_CACHE_LINE_SIZE

[lng-odp] [API-NEXT PATCH 2/5] linux-generic: drv: creation of the driver interface (drv)

2016-02-12 Thread Christophe Milard
Signed-off-by: Christophe Milard <christophe.mil...@linaro.org> --- platform/linux-generic/include/odp/drv/README | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 platform/linux-generic/include/odp/drv/README diff --git a/platform/linux-generic/include/odp/drv/README b/platform

[lng-odp] [API-NEXT PATCH 4/5] drv: adding standard types

2016-02-12 Thread Christophe Milard
Adding standard types to the ODP driver interface (drv). Signed-off-by: Christophe Milard <christophe.mil...@linaro.org> --- include/odp/drv/spec/std_types.h | 40 1 file changed, 40 insertions(+) create mode 100644 include/odp/drv/spec/std_types.h

Re: [lng-odp] [API-NEXT PATCH 1/5] drv: creation of the driver interface (drv)

2016-02-12 Thread Christophe Milard
to many other patches in this series, as well. > Sorry: I cannot see any tab. at least where I am looking for... What problem are you seeing exactly? Christophe. > > -Original Message- > From: lng-odp [mailto:lng-odp-boun...@lists.linaro.org] On Behalf Of EXT > Christophe Milard &g

[lng-odp] [API-NEXT PATCH 0/5] creating the driver interface

2016-02-12 Thread Christophe Milard
updates the documentation (implementers guide). Christophe Milard (5): drv: creation of the driver interface (drv) linux-generic: drv: creation of the driver interface (drv) doc: implementers-guide: adding drv interface drv: adding standard types linux-generic: drv: adding standard types

[lng-odp] [API-NEXT PATCH 1/5] drv: creation of the driver interface (drv)

2016-02-12 Thread Christophe Milard
The Driver Programming Interface (drv) is defined in include/odp_drv.h and include/odp/drv/spec directory. Signed-off-by: Christophe Milard <christophe.mil...@linaro.org> --- include/odp/drv/spec/README | 4 include/odp_drv.h | 24 2 files chang

[lng-odp] [API-NEXT PATCH 3/5] doc: implementers-guide: adding drv interface

2016-02-12 Thread Christophe Milard
The driver interface structure (similar to the api) is described. Signed-off-by: Christophe Milard <christophe.mil...@linaro.org> --- doc/implementers-guide/implementers-guide.adoc | 77 -- 1 file changed, 60 insertions(+), 17 deletions(-) diff --git a/doc/implem

[lng-odp] [API-NEXT PATCH 5/5] linux-generic: drv: adding standard types

2016-02-12 Thread Christophe Milard
Signed-off-by: Christophe Milard <christophe.mil...@linaro.org> --- include/odp_drv.h | 2 ++ platform/linux-generic/include/odp/drv/std_types.h | 42 ++ 2 files changed, 44 insertions(+) create mode 100644 platform/linux-generic/inclu

Re: [lng-odp] [API-NEXT PATCH 1/5] drv: creation of the driver interface (drv)

2016-02-12 Thread Christophe Milard
. thanks for looking at it. Christophe. On 12 February 2016 at 16:36, Mike Holmes <mike.hol...@linaro.org> wrote: > It looks ok to me in gmail if that helps > > On 12 February 2016 at 10:25, Christophe Milard < > christophe.mil...@linaro.org> wrote: > >> I

Re: [lng-odp] [API-NEXT PATCH 1/5] drv: creation of the driver interface (drv)

2016-02-12 Thread Christophe Milard
see any tab. at least where I am looking for... What > problem are you seeing exactly? > > > > Christophe. > > > -Original Message- > From: lng-odp [mailto:lng-odp-boun...@lists.linaro.org] On Behalf Of EXT > Christophe Milard > Sent: Friday, February 12

Re: [lng-odp] ODP_SHM_SW_ONLY shmem flag

2016-02-11 Thread Christophe Milard
ok. If that tells that the app will not even call any other ODP functions on this are, that make sense. I will try to document that. Thanks. Christophe On 11 February 2016 at 11:04, Savolainen, Petri (Nokia - FI/Espoo) < petri.savolai...@nokia.com> wrote: > > > > > *From:*

[lng-odp] [API-NEXT PATCHv6 0/4] Preparing for new interfaces

2016-02-11 Thread Christophe Milard
#move odp.h one step down: git mv include/odp.h include/odp_api.h #change double include protection macro name: sed -i -e 's:ODP_H_:ODP_API_H_:' include/odp_api.h #change all include to include git grep -l 'include.*odp\.h[>"]' |

[lng-odp] [API-NEXT PATCHv6 2/4] api: move include/odp.h to include/odp_api.h

2016-02-11 Thread Christophe Milard
odp.h actually describes the applicatiion interface of ODP and is logicaly moved to odp_api.h. Applications now includes . This simplifies the addition of other ODP interfaces (e.g. drivers may include odp_drv.h in the future.) Signed-off-by: Christophe Milard <christophe.mil...@linaro.

[lng-odp] [API-NEXT PATCHv6 4/4] api: odp.h to ease transition period

2016-02-11 Thread Christophe Milard
during this transition period. Signed-off-by: Christophe Milard <christophe.mil...@linaro.org> Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org> --- include/odp.h | 23 +++ platform/linux-generic/Makefile.am | 1 + 2 files changed, 2

[lng-odp] [API-NEXT PATCHv6 3/4] doc: descr of structure for new interfaces

2016-02-11 Thread Christophe Milard
updates of the documentation to reflect the new structure allowing new interface addition. Signed-off-by: Christophe Milard <christophe.mil...@linaro.org> Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org> --- doc/implementers-guide/implementers-gui

Re: [lng-odp] ODP_SHM_PROC shmem flag

2016-02-11 Thread Christophe Milard
. linux syscall)? (meaning that each ODP implementation have to document how to do that) On 11 February 2016 at 14:35, Christophe Milard < christophe.mil...@linaro.org> wrote: > I don't understand here... > My understanding is that shmem_reserve would always allocate SHARED > memory

Re: [lng-odp] ODP_SHM_PROC shmem flag

2016-02-11 Thread Christophe Milard
uva...@linaro.org> wrote: > On 02/10/2016 20:43, Christophe Milard wrote: > >> Hi, >> >> If I understand correctly, the usage of this flag tells that Non ODP >> processes/thread can gain access to the shared memory. >> My question is: through which interface? &

Re: [lng-odp] [API-NEXT RFC PATCH 0/3] new try for a adding a driver interface

2016-01-26 Thread Christophe Milard
On 26 January 2016 at 22:45, Mike Holmes <mike.hol...@linaro.org> wrote: > Inline comment on include structure > > On 26 January 2016 at 13:04, Christophe Milard < > christophe.mil...@linaro.org> wrote: > >> This patch series implements a new structure in the O

Re: [lng-odp] [API-NEXT RFC PATCH 0/3] new try for a adding a driver interface

2016-01-27 Thread Christophe Milard
north or south interface) I dont think having different meanings for the same word is a good start point. We have that today with "ODP" (somtimes meaning the ODP library, sometimes meaning its north interface) and this is confusing Christophe. On 27 January 2016 at 08:30, Chris

Re: [lng-odp] [API-NEXT PATCH] api: prefixing some standard types.

2016-01-27 Thread Christophe Milard
ot; > > > Maybe Maxim can edit that during merge. > > > > Reviewed-by: Petri Savolainen <petri.savolai...@nokia.com> > > > > > -Original Message- > > From: EXT Christophe Milard [mailto:christophe.mil...@linaro.org] > > Sent:

[lng-odp] [API-NEXT PATCH 2/3] api: move include/odp.h to include/odp/api.h

2016-01-28 Thread Christophe Milard
is given in the cover letter of this patch serie Signed-off-by: Christophe Milard <christophe.mil...@linaro.org> --- example/classifier/odp_classifier.c| 2 +- example/generator/odp_generator.c | 2 +- example/ipsec/odp_i

[lng-odp] [API-NEXT PATCH 0/3] Preparing for new interfaces

2016-01-28 Thread Christophe Milard
nclude to include git grep -l 'include.*odp\.h[>"]' | egrep -e '(.*\.c$)|(.*\.h$)|(.*\.cpp$)' | xargs sed -i -e 's:#include\(.*\)odp\.h\(.*\):#include\1odp/api\.h\2:' #change the makefile sed -i -e 's:include\(.*\)odp\.h\(.*\):include\1odp/api\.h\2:' platform/linux-generic/Makefil

[lng-odp] [API-NEXT PATCH 3/3] doc: descr of structure for new interfaces

2016-01-28 Thread Christophe Milard
updates of the documentation to reflect the new structure allowing new interface addition. Signed-off-by: Christophe Milard <christophe.mil...@linaro.org> --- doc/implementers-guide/implementers-guide.adoc | 76 +++--- doc/users-guide/users-guide.adoc

[lng-odp] [PATCH] linux-generic: shmem: odp scope in /dev/shmem

2016-02-23 Thread Christophe Milard
The name of the shared memory (created with linux shm_open() when the ODP_SHM_PROC flag is given) is now prefixed with "/opd--" so as to name scope ODP shared mem in /dev/shmem. Signed-off-by: Christophe Milard <christophe.mil...@linaro.org> --- platform/linux-generic/include/odp

[lng-odp] [PATCHv2] linux-generic: shmem: odp scope in /dev/shmem

2016-02-23 Thread Christophe Milard
The name of the shared memory (created with linux shm_open() when the ODP_SHM_PROC flag is given) is now prefixed with "/odp--" so as to name scope ODP shared mem in /dev/shmem. Signed-off-by: Christophe Milard <christophe.mil...@linaro.org> Reviewed-and-tested-by: Bill Fischo

Re: [lng-odp] [API-NEXT PATCHv2] linux-generic: Makefile: fix broken include path

2016-02-22 Thread Christophe Milard
t; Signed-off-by: Anders Roxell <anders.rox...@linaro.org> Reviewed-by: Christophe Milard <christophe.mil...@linaro.org> > --- > platform/linux-generic/Makefile.am | 2 +- > platform/linux-generic/arch/linux/odp/{ => api}/cpu_arch.h | 0 &g

Re: [lng-odp] [API-NEXT PATCH 1/3] drv: adding byteorder.h

2016-02-25 Thread Christophe Milard
On 25 February 2016 at 22:43, Mike Holmes <mike.hol...@linaro.org> wrote: > On 25 February 2016 at 08:17, Christophe Milard < > christophe.mil...@linaro.org> wrote: > >> I guess this is stuck untill BKK discussion...? >> > > I hope not. > > >>

Re: [lng-odp] [API-NEXT v3] doc: user-guide documentation for classification

2016-02-28 Thread Christophe Milard
Hi Bala. Just sent you a patch that you can apply on the top of this to correct a few formating issues.I assume you will agree. You can sent V6 with my review (see patch comments), as this document makes sense to me. It would be nice to add a section on writting PMRs (with code exemples) in the

Re: [lng-odp] [PATCH v2] configure.ac: distribute the AC_CONFIG_FILES

2016-02-29 Thread Christophe Milard
On 2016-02-26 17:29, Mike Holmes wrote: > Signed-off-by: Mike Holmes <mike.hol...@linaro.org> Reviewed-by: Christophe Milard <christophe.mil...@linaro.org> > --- > v2 >Sort lists suggested by Maxim > > configure.ac| 44

Re: [lng-odp] [PATCH V2 1/2] linux-generic: test: move validation tests to their own directory

2016-02-25 Thread Christophe Milard
On 24 February 2016 at 22:24, Mike Holmes wrote: > Simplify adding platform performance tests by mirroring the test directory > structure and moving the validation tests to their own directory under > platform also. > > Signed-off-by: Mike Holmes

Re: [lng-odp] [PATCH V2 2/2] linux-generic: test: add process mode scheduler test

2016-02-25 Thread Christophe Milard
On 24 February 2016 at 22:24, Mike Holmes wrote: > Add new platform test infrastructure to run the scheduler performance > test in process mode. > > Signed-off-by: Mike Holmes > --- > platform/linux-generic/m4/configure.m4 | 1 + >

Re: [lng-odp] [PATCH] configure.ac: distribute the AC_CONFIG_FILES

2016-02-25 Thread Christophe Milard
On 2016-02-24 17:08, Mike Holmes wrote: > Signed-off-by: Mike Holmes <mike.hol...@linaro.org> Reviewed-by: Christophe Milard <christophe.mil...@linaro.org> > --- > configure.ac| 44 > doc/m4/configure.m4

Re: [lng-odp] [API-NEXT v3] doc: user-guide documentation for classification

2016-02-25 Thread Christophe Milard
On 25 February 2016 at 09:56, Balasubramanian Manoharan < bala.manoha...@linaro.org> wrote: > Signed-off-by: Balasubramanian Manoharan > --- > v3: Incorporates classification user guide to main document > Adds Practical example section > v2: Incorporates review

Re: [lng-odp] [API-NEXT PATCH 1/3] drv: adding byteorder.h

2016-02-25 Thread Christophe Milard
I guess this is stuck untill BKK discussion...? On 18 February 2016 at 12:37, Christophe Milard < christophe.mil...@linaro.org> wrote: > A complete -partly working- driver prototype was sent as in RFC: > https://lists.linaro.org/pipermail/lng-odp/2016-January/019162.html >

[lng-odp] [PATCHv3 2/4] doc: user-guide: shmem

2016-02-22 Thread Christophe Milard
section regarding shared memo added. Signed-off-by: Christophe Milard <christophe.mil...@linaro.org> Reviewed-and-tested-by: Bill Fischofer <bill.fischo...@linaro.org> --- doc/users-guide/users-guide.adoc | 130 +++ 1 file changed, 130 inserti

[lng-odp] [PATCHv3 4/4] doc: removing invalid characters

2016-02-22 Thread Christophe Milard
linux "tree" command output contains non printable character 160 which made its way into the asciidoc. Removed and replaced by space here. Signed-off-by: Christophe Milard <christophe.mil...@linaro.org> Reviewed-and-tested-by: Bill Fischofer <bill.fischo...@linaro.org> ---

[lng-odp] [PATCHv3 3/4] doc: user-guide: fixing other typos

2016-02-22 Thread Christophe Milard
Signed-off-by: Christophe Milard <christophe.mil...@linaro.org> Reviewed-and-tested-by: Bill Fischofer <bill.fischo...@linaro.org> --- doc/users-guide/users-guide.adoc | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/users-guide/users-guide.adoc b/doc

[lng-odp] [PATCHv3 0/4] shmem docs

2016-02-22 Thread Christophe Milard
since v2: ODP thread definition changed. (Petri) since v1: fixed escape around '+' char. (Bill) Documentation updates documenting shmem and related items. Christophe Milard (4): doc: glossary: defining ODP thread more precisely doc: user-guide: shmem doc: user-guide: fixing other typos

[lng-odp] [PATCHv3 1/4] doc: glossary: defining ODP thread more precisely

2016-02-22 Thread Christophe Milard
Signed-off-by: Christophe Milard <christophe.mil...@linaro.org> --- doc/glossary.adoc | 19 +-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/doc/glossary.adoc b/doc/glossary.adoc index 8e514ee..5408b1f 100644 --- a/doc/glossary.adoc +++ b/doc/glossar

Re: [lng-odp] [PATCHv2 1/3] doc: implementers-guide: conditional tests

2016-01-24 Thread Christophe Milard
a platform-specific test for a feature that may be unique to a > particular platform. > > On Wed, Jan 13, 2016 at 11:08 AM, Christophe Milard < > christophe.mil...@linaro.org> wrote: > >> Documentation on conditional test is added here, as it seemed to be >> missing >> >

[lng-odp] [API-NEXT RFC PATCH 0/3] new try for a adding a driver interface

2016-01-26 Thread Christophe Milard
lude\(.*\)odp\.h\(.*\):#include\1odp/api\.h\2:' #change the makefile sed -i -e 's:include\(.*\)odp\.h\(.*\):include\1odp/api\.h\2:' platform/linux-generic/Makefile.am sed -i -e 's:^include_HEADERS:odpinclude_HEADERS:' platform/linux-generic/Makefile.am sed -i -e '/^odpinclude_HEADERS/iodpincludedir = $(includ

[lng-odp] [API-NEXT RFC PATCH 2/3] api: move include/odp.h to include/odp/api.h

2016-01-26 Thread Christophe Milard
is given in the cover letter of this patch serie Signed-off-by: Christophe Milard <christophe.mil...@linaro.org> --- example/classifier/odp_classifier.c| 2 +- example/generator/odp_generator.c | 2 +- example/ipsec/odp_i

[lng-odp] [API-NEXT RFC PATCH 3/3] doc: updates following new structure

2016-01-26 Thread Christophe Milard
Signed-off-by: Christophe Milard <christophe.mil...@linaro.org> --- doc/implementers-guide/implementers-guide.adoc | 74 +++--- doc/users-guide/users-guide.adoc | 15 +++--- 2 files changed, 53 insertions(+), 36 deletions(-) diff --git a/doc/implementers

[lng-odp] no prefix for usual types?

2016-01-26 Thread Christophe Milard
the file: odp/platform/linux-generic/include/odp/plat/byteorder_types.h defines: typedef uint16_t __odp_bitwise uint16le_t; typedef uint16_t __odp_bitwise uint16be_t; typedef uint32_t __odp_bitwise uint32le_t; typedef uint32_t __odp_bitwise uint32be_t; typedef uint64_t __odp_bitwise

[lng-odp] [API-NEXT PATCH] api: prefixing some standard types.

2016-01-27 Thread Christophe Milard
those with odp_*, suppressing "int" for shortness. e.g. uint16le_t becomes odp_u16le_t Also modifies files using these types, of course. Signed-off-by: Christophe Milard <christophe.mil...@linaro.org> --- example/classifier/odp_classifier.c| 2 +- example/ipsec/o

Re: [lng-odp] [API-NEXT PATCH] doc: user-guide documentation for classification

2016-02-15 Thread Christophe Milard
On 15 February 2016 at 15:12, Balasubramanian Manoharan < bala.manoha...@linaro.org> wrote: > Adds user-guide documentation for classification module > > Signed-off-by: Balasubramanian Manoharan > --- > doc/users-guide/users-guide-cls.adoc | 220 >

Re: [lng-odp] [API-NEXT PATCH] doc: user-guide documentation for classification

2016-02-15 Thread Christophe Milard
On 16 February 2016 at 06:52, Bala Manoharan <bala.manoha...@linaro.org> wrote: > Hi, > > On 15 February 2016 at 20:52, Christophe Milard < > christophe.mil...@linaro.org> wrote: > >> >> >> On 15 February 2016 at 15:12, Balasubramanian Manoharan <

[lng-odp] [API-NEXT PATCH 1/2] drv: adding compiler.h

2016-02-16 Thread Christophe Milard
The file is, of course, largely inspired from its equivalent on the application interface. Signed-off-by: Christophe Milard <christophe.mil...@linaro.org> --- include/odp/drv/spec/compiler.h | 51 + 1 file changed, 51 insertions(+) create mode

[lng-odp] [API-NEXT PATCH 2/2] linux-generic: drv: adding compiler.h

2016-02-16 Thread Christophe Milard
Signed-off-by: Christophe Milard <christophe.mil...@linaro.org> --- include/odp_drv.h | 1 + platform/linux-generic/include/odp/drv/compiler.h | 34 +++ 2 files changed, 35 insertions(+) create mode 100644 platform/linux-generic/inclu

Re: [lng-odp] [API-NEXT PATCH 2/2] linux-generic: drv: adding compiler.h

2016-02-17 Thread Christophe Milard
Missing Makefile update. will send a v2 :-) On 17 February 2016 at 09:44, Christophe Milard < christophe.mil...@linaro.org> wrote: > Signed-off-by: Christophe Milard <christophe.mil...@linaro.org> > --- > include/odp_drv.h | 1 + > platfo

[lng-odp] [API-NEXT PATCHv2 1/2] drv: adding compiler.h

2016-02-17 Thread Christophe Milard
The file is, of course, largely inspired from its equivalent on the application interface. Signed-off-by: Christophe Milard <christophe.mil...@linaro.org> --- include/odp/drv/spec/compiler.h | 51 + 1 file changed, 51 insertions(+) create mode

[lng-odp] [API-NEXT PATCHv2 2/2] linux-generic: drv: adding compiler.h

2016-02-17 Thread Christophe Milard
Signed-off-by: Christophe Milard <christophe.mil...@linaro.org> --- include/odp_drv.h | 1 + platform/linux-generic/Makefile.am| 4 +++ platform/linux-generic/include/odp/drv/compiler.h | 34 +++ 3 files changed, 39 inse

[lng-odp] [API-NEXT PATCH 1/3] drv: adding byteorder.h

2016-02-17 Thread Christophe Milard
Signed-off-by: Christophe Milard <christophe.mil...@linaro.org> --- include/odp/drv/spec/byteorder.h | 176 +++ 1 file changed, 176 insertions(+) create mode 100644 include/odp/drv/spec/byteorder.h diff --git a/include/odp/drv/spec/byteorder.h b/inclu

[lng-odp] [API-NEXT PATCH 3/3] linux-generic: drv: adding byteorder.h

2016-02-17 Thread Christophe Milard
byteorder.h is created for the driver interface, using the common part (common to both ODP application interface and ODP driver interface). Signed-off-by: Christophe Milard <christophe.mil...@linaro.org> --- include/odp_drv.h | 1 + platform/linux-g

[lng-odp] [API-NEXT PATCH 2/3] linux-generic: byte-order: split common part

2016-02-17 Thread Christophe Milard
The files defining byte order and related functions are split so that a common part can be re-used for other odp interfaces. Signed-off-by: Christophe Milard <christophe.mil...@linaro.org> --- platform/linux-generic/Makefile.am | 8 ++ platform/linux-generic/include/o

[lng-odp] [PATCH 1/4] doc: glossary: defining ODP thread more precisely

2016-02-17 Thread Christophe Milard
Signed-off-by: Christophe Milard <christophe.mil...@linaro.org> --- doc/glossary.adoc | 12 ++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/doc/glossary.adoc b/doc/glossary.adoc index 8e514ee..becaf16 100644 --- a/doc/glossary.adoc +++ b/doc/glossary.adoc @@ -9,9

[lng-odp] [PATCH 2/4] doc: user-guide: shmem

2016-02-17 Thread Christophe Milard
section regarding shared memo added. Signed-off-by: Christophe Milard <christophe.mil...@linaro.org> --- doc/users-guide/users-guide.adoc | 129 +++ 1 file changed, 129 insertions(+) diff --git a/doc/users-guide/users-guide.adoc b/doc/users-guide

[lng-odp] [PATCH 3/4] doc: user-guide: fixing other typos

2016-02-17 Thread Christophe Milard
Signed-off-by: Christophe Milard <christophe.mil...@linaro.org> --- doc/users-guide/users-guide.adoc | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/users-guide/users-guide.adoc b/doc/users-guide/users-guide.adoc index 07d8949..bc23b72 100644 --- a/doc/users

[lng-odp] [PATCH 4/4] doc: removing invalid characters

2016-02-17 Thread Christophe Milard
linux "tree" command output contains non printable character 160 which made its way into the asciidoc. Removed and replaced by space here. Signed-off-by: Christophe Milard <christophe.mil...@linaro.org> --- doc/implementers-guide/implementers-guide.adoc | 34 +

Re: [lng-odp] [API-NEXT PATCH 2/3] linux-generic: byte-order: split common part

2016-02-17 Thread Christophe Milard
bill/linaro/chrisdoc/.git/rebase-apply/patch > When you have resolved this problem, run "git am --continue". > If you prefer to skip this patch, run "git am --skip" instead. > To restore the original branch and stop patching, run "git am --abort". > > &

[lng-odp] [PATCHv2 0/4] shmem docs

2016-02-18 Thread Christophe Milard
since v1: fixed escape around '+' char. (Bill) Documentation updates documenting shmem and related items. Christophe Milard (4): doc: glossary: defining ODP thread more precisely doc: user-guide: shmem doc: user-guide: fixing other typos doc: removing invalid characters doc

[lng-odp] [PATCHv2 2/4] doc: user-guide: shmem

2016-02-18 Thread Christophe Milard
section regarding shared memo added. Signed-off-by: Christophe Milard <christophe.mil...@linaro.org> Reviewed-and-tested-by: Bill Fischofer <bill.fischo...@linaro.org> --- doc/users-guide/users-guide.adoc | 129 +++ 1 file changed, 129 inserti

[lng-odp] [PATCHv2 1/4] doc: glossary: defining ODP thread more precisely

2016-02-18 Thread Christophe Milard
Signed-off-by: Christophe Milard <christophe.mil...@linaro.org> Reviewed-and-tested-by: Bill Fischofer <bill.fischo...@linaro.org> --- doc/glossary.adoc | 12 ++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/doc/glossary.adoc b/doc/glossary.adoc index 8e51

[lng-odp] [PATCHv2 3/4] doc: user-guide: fixing other typos

2016-02-18 Thread Christophe Milard
Signed-off-by: Christophe Milard <christophe.mil...@linaro.org> Reviewed-and-tested-by: Bill Fischofer <bill.fischo...@linaro.org> --- doc/users-guide/users-guide.adoc | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/users-guide/users-guide.adoc b/doc

[lng-odp] [PATCHv2 4/4] doc: removing invalid characters

2016-02-18 Thread Christophe Milard
linux "tree" command output contains non printable character 160 which made its way into the asciidoc. Removed and replaced by space here. Signed-off-by: Christophe Milard <christophe.mil...@linaro.org> Reviewed-and-tested-by: Bill Fischofer <bill.fischo...@linaro.org> ---

Re: [lng-odp] [PATCH API-NEXTv2] doc: user-guide documentation for classification

2016-02-18 Thread Christophe Milard
On 18 February 2016 at 08:54, Balasubramanian Manoharan < bala.manoha...@linaro.org> wrote: > Adds user-guide documentation for classification module > > Signed-off-by: Balasubramanian Manoharan > --- > v2: Incorporates review comments from Christophe > >

Re: [lng-odp] [PATCHv2 2/4] doc: user-guide: shmem

2016-02-18 Thread Christophe Milard
On 18 February 2016 at 09:29, Maxim Uvarov <maxim.uva...@linaro.org> wrote: > On 02/18/16 11:06, Christophe Milard wrote: > >> section regarding shared memo added. >> >> Signed-off-by: Christophe Milard <christophe.mil...@linaro.org> >> Reviewed-

Re: [lng-odp] [PATCHv2 1/4] doc: glossary: defining ODP thread more precisely

2016-02-18 Thread Christophe Milard
On 18 February 2016 at 09:50, Savolainen, Petri (Nokia - FI/Espoo) < petri.savolai...@nokia.com> wrote: > > > > > *From:* EXT Christophe Milard [mailto:christophe.mil...@linaro.org] > *Sent:* Thursday, February 18, 2016 10:40 AM > *To:* Savolainen, Petri (Nokia

Re: [lng-odp] [PATCHv2 1/4] doc: glossary: defining ODP thread more precisely

2016-02-18 Thread Christophe Milard
thread (i.e a linux process calling +odp_init_local()+ will be refered as ODP thread, not ODP process). If this is not correct... what should it be :-) Christophe. On 18 February 2016 at 10:29, Christophe Milard < christophe.mil...@linaro.org> wrote: > > > On 18 Februar

[lng-odp] [PATCH] linux-generic: test: shmem: atomic check+open fifo

2016-03-29 Thread Christophe Milard
Fix for bug 2146, CID 159395: The open system call is directely used to check the presence of the fifo and open it at the same time. Signed-off-by: Christophe Milard <christophe.mil...@linaro.org> --- platform/linux-generic/test/shmem/shmem_linux.c | 5 +++-- 1 file changed, 3 insertions

[lng-odp] [PATCHv6] linux-generic: test: shmem: atomic check+open fifo

2016-04-06 Thread Christophe Milard
Fixes: https://bugs.linaro.org/show_bug.cgi?id=2146 (CID 159395) The open system call is directely used to check the presence of the fifo and open it at the same time. Signed-off-by: Christophe Milard <christophe.mil...@linaro.org> --- platform/linux-generic/test/shmem/shmem_linux.

Re: [lng-odp] [PATCHv5] linux-generic: test: shmem: atomic check+open fifo

2016-04-06 Thread Christophe Milard
t 02:18, Bill Fischofer <bill.fischo...@linaro.org> wrote: > > > On Tue, Apr 5, 2016 at 3:03 AM, Christophe Milard < > christophe.mil...@linaro.org> wrote: > >> Fixes: https://bugs.linaro.org/show_bug.cgi?id=2146 (CID 159395) >> The open system call is direc

Re: [lng-odp] [PATCH] linux-generic: pktio_run_tap: failure to setup tap != test fail

2016-04-07 Thread Christophe Milard
On 2016-04-04 23:30, Zi Shen Lim wrote: > When we fail to setup tap for any reason, simply report > TEST_SKIPPED and move on. It is not an actual test failure. > > Signed-off-by: Zi Shen Lim <zlim@gmail.com> Reviewed-by: Christophe Milard <christophe.mil...@linaro.or

Re: [lng-odp] [PATCH] platform/Makefile.inc: remove incorrect install to share dir

2016-04-12 Thread Christophe Milard
On 2016-04-11 22:36, Anders Roxell wrote: > Remove libodp-linux.la from /usr/share/... its already installed > in /usr/lib/ > > Signed-off-by: Anders Roxell <anders.rox...@linaro.org> Reviewed-by: Christophe Milard <christophe.mil...@linaro.org> > --- > platform

Re: [lng-odp] [PATCHv2 0/2] linux test for shared memory

2016-03-25 Thread Christophe Milard
t;> +++ b/platform/linux-generic/test/shmem/shmem_linux.c >> @@ -1,4 +1,4 @@ >> -/* Copyright (c) 2014, Linaro Limited >> +/* Copyright (c) 2016, Linaro Limited >> * All rights reserved. >> * >> * SPDX-License-Identifier: BSD-3-Clause >> >>

Re: [lng-odp] [PATCHv2 2/2] linux-generic: test: ODP_SHM_PROC test

2016-03-22 Thread Christophe Milard
Maxim. Would you mind changing these dates when merging? Otherwise wait next week. ... no computer here (Cambodia). No much Internet either. Thanks. See you next week from Sweden On 23 Mar 2016 06:35, "Mike Holmes" <mike.hol...@linaro.org> wrote: > > > On 2 March 2016 at

Re: [lng-odp] [API-NEXT PATCHv3 3/3] doc: userguide: add PktIO chapter to ODP User Guide

2016-03-07 Thread Christophe Milard
ace capability. Queue type is defined by the > + * input mode. The default value is 1. */ > + unsigned num_queues; > + > + /** Queue parameters for creating input queues in ODP_PKTIN_MODE_QUEUE > + * or ODP_PKTIN_MODE_SCHED modes. Scheduler parameters are cons

Re: [lng-odp] [API-NEXT PATCH 1/3] doc: images: add gv file for pktio state machine

2016-03-01 Thread Christophe Milard
Hi Bill, I am probably missing something obvious, but that Makefile does not exist for me... Does this require some previous patch that have made their way to the repo yet? erachmi@erachmi-ericsson:~/linaro/ODP/odp$ git am

Re: [lng-odp] [API-NEXT PATCH 1/3] doc: images: add gv file for pktio state machine

2016-03-02 Thread Christophe Milard
p patching, run "git am --abort". erachmi@erachmi-ericsson:~/linaro/ODP/odp$ On 2 March 2016 at 09:12, Maxim Uvarov <maxim.uva...@linaro.org> wrote: > On 03/02/16 10:20, Christophe Milard wrote: > >> Hi Bill, >> I am probably missing something obvious,

Re: [lng-odp] [API-NEXT PATCHv2 3/3] doc: userguide: add PktIO chapter to ODP User Guide

2016-03-03 Thread Christophe Milard
On 2016-03-02 04:35, Bill Fischofer wrote: > Signed-off-by: Bill Fischofer > --- > doc/users-guide/users-guide-pktio.adoc | 605 > + > doc/users-guide/users-guide.adoc | 2 + > 2 files changed, 607 insertions(+) > create mode

Re: [lng-odp] [API-NEXT PATCHv2 3/3] doc: userguide: add PktIO chapter to ODP User Guide

2016-03-03 Thread Christophe Milard
. Fix what you can: This text is much better that the emptiness that was before. On 3 March 2016 at 17:12, Bill Fischofer <bill.fischo...@linaro.org> wrote: > > > On Thu, Mar 3, 2016 at 4:00 AM, Christophe Milard < > christophe.mil...@linaro.org> wrote: > >> On 2016-

[lng-odp] [PATCH 2/2] linux-generic: test: ODP_SHM_PROP test

2016-03-01 Thread Christophe Milard
Adding a platform side test to test sharing memory between ODP and linux. Also tests that the shared memory device name (under /dev/shm/) is scoped. Signed-off-by: Christophe Milard <christophe.mil...@linaro.org> --- platform/linux-generic/m4/configure.m4 | 1 + platform

[lng-odp] [PATCH 0/2] linux test for shared memory

2016-03-01 Thread Christophe Milard
were just wrappers to generic platform-agnostic test) *tests that the shared memory device name (under /dev/shm/) is scoped (under linux). Christophe Milard (2): linux-generic: test: adding odp includes linux-generic: test: ODP_SHM_PROP test platform/linux-generic/m4/configure.m4

[lng-odp] [PATCH 1/2] linux-generic: test: adding odp includes

2016-03-01 Thread Christophe Milard
A new Makefile.inc is created, defining common includes that linux specific tests will need if they need to build with ODP. Tests just acting as wrappers around platform agnostic tests will not need these defines, whereas tests building ODP executable will. Signed-off-by: Christophe Milard

<    1   2   3   4   5   6   7   8   9   10   >