[lng-odp] IPsec limits support

2017-05-04 Thread Dmitry Eremin-Solenikov
Hello, I have been working on limits support in IPsec. Now I have several questions: - Is hard limit crossing fatal? IOW, should I start returning unprocessed packets after crossing it? - Does 'bytes' limit count packet bytes before or IPsec operation? Does it count 'usefull' payload or the

Re: [lng-odp] IPsec limits support

2017-05-04 Thread Dmitry Eremin-Solenikov
On 04.05.2017 19:35, Bill Fischofer wrote: > > > On Thu, May 4, 2017 at 11:25 AM, Dmitry Eremin-Solenikov > <dmitry.ereminsoleni...@linaro.org > <mailto:dmitry.ereminsoleni...@linaro.org>> wrote: > > Hello, > > I have been working on limi

[lng-odp] [PATCH] api: ipsec: change semantics of odp_ipsec_result function

2017-05-08 Thread Dmitry Eremin-Solenikov
one to copy packets from the event in small batches and process them accordingly. - Freeing the event in odp_ipsec_result() leaves space for optimized implementations, where an event is actually a packet with additional metadata. Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsol

Re: [lng-odp] [PATCH API-NEXT v2 16/20] linux-generic: packet: add functions to optimize memset and memcmp paths

2017-05-31 Thread Dmitry Eremin-Solenikov
On 31.05.2017 15:08, Savolainen, Petri (Nokia - FI/Espoo) wrote: > >> diff --git a/platform/linux-generic/include/odp_packet_internal.h >> b/platform/linux-generic/include/odp_packet_internal.h >> index d0db7008..a480a748 100644 >> --- a/platform/linux-generic/include/odp_packet_internal.h >> +++

[lng-odp] api-next branch broken?

2017-05-19 Thread Dmitry Eremin-Solenikov
Since one of last updates I'm receiving timeouts from Travis CI because some tests run silently taking too much time to complete. -- With best wishes Dmitry

Re: [lng-odp] [PATCH v1 2/2] travis: add cross-compilation checks

2017-06-27 Thread Dmitry Eremin-Solenikov
On 27.06.2017 16:15, Maxim Uvarov wrote: > On 06/27/17 16:00, Github ODP bot wrote: >> + - env echo -e 'Provides\x3a multiarch-support, >> debconf, debconf-2.0' > dummy > typo Where? -- With best wishes Dmitry

Re: [lng-odp] [PATCH v1 2/2] travis: add cross-compilation checks

2017-06-27 Thread Dmitry Eremin-Solenikov
On 27.06.2017 16:13, Maxim Uvarov wrote: > On 06/27/17 16:00, Github ODP bot wrote: >> -- ./bootstrap >> -- ./configure --enable-debug --enable-automated --enable-basic >> --enable-console --enable-examples --enable-test >> +- libtoolize --force --copy >> +-

[lng-odp] Future of per-arch-platform ABI spec files

2017-09-19 Thread Dmitry Eremin-Solenikov
Hello, I have been poking around per-arch-platform ABI spec files. Currently all architectures just include default specs. Do we have any particular use case for these separate files? Otherwise I'd suggest to drop them completely and just leave 'default' in place. -- With best wishes Dmitry

Re: [lng-odp] [PATCH API-NEXT v8 1/1] comp: compression spec

2017-08-29 Thread Dmitry Eremin-Solenikov
On 29/08/17 19:18, shally verma wrote: > Alongside a question of retrieving results for synchronous operations, > have one more questions - in crypto, I dont see separate output packet > data range. So, does it mean it writes to same offset and uses same > length as mentioned for input packet?

Re: [lng-odp] Fwd: Cunit configuration error

2017-09-05 Thread Dmitry Eremin-Solenikov
On 05/09/17 19:31, Maxim Uvarov wrote: > I got this error from latest api-next in github. > Anything I am missing? I have installed libcunit1-dev > > checking for asciidoctor... asciidoctor > checking for mscgen... no > configure: WARNING: mscgen not found - continuing without sequence > message

Re: [lng-odp] api-next broken?

2017-08-31 Thread Dmitry Eremin-Solenikov
On 31/08/17 13:25, shally verma wrote: > I was trying api-next from linaro/odp as of today and am seeing this > error. Am I missing anything here? > > I simply use > ./bootstrap > ./configure > ./make > > make[2]: Entering directory >

Re: [lng-odp] generic core + HW specific drivers

2017-10-03 Thread Dmitry Eremin-Solenikov
On 03/10/17 11:12, Savolainen, Petri (Nokia - FI/Espoo) wrote: >> -Original Message- >> From: lng-odp [mailto:lng-odp-boun...@lists.linaro.org] On Behalf Of Ola >> Liljedahl >> Sent: Friday, September 29, 2017 8:47 PM >> To: lng-odp@lists.linaro.org >> Subject: [lng-odp] generic core + HW

[lng-odp] DPDK pktio tests failure

2017-10-04 Thread Dmitry Eremin-Solenikov
Hello, I'm observing occasional test failures on pktio_dpdk tests, with the following lines in the log: ERROR: This system does not support "RDRAND". Please check that RTE_MACHINE is set correctly. Does anyone know how to fix or workaround that? -- With best wishes Dmitry

Re: [lng-odp] Moving scalable scheduler to master

2017-10-12 Thread Dmitry Eremin-Solenikov
On 12 October 2017 at 16:33, Brian Brooks wrote: > This code is primarily contained within its own files, so I don't see > how this mitigates any issues (merge conflicts) with merging it to > master. Problem lies in code quality, not in (possible) merge conflicts. --

[lng-odp] [PATCH 03/29] linux-gen: ipsec: don't use __odp_force

2017-10-23 Thread Dmitry Eremin-Solenikov
__odp_force is not part of ODP API, so it should not be used directly. Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> --- platform/linux-generic/odp_ipsec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/linux-generic/odp_ipse

[lng-odp] [PATCH 07/29] build: move ODP include path to common Makefile.inc

2017-10-23 Thread Dmitry Eremin-Solenikov
Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> --- Makefile.inc | 12 example/Makefile.inc | 12 helper/Makefile.am

[lng-odp] [PATCH 06/29] configure: provide conditional for ABI-compat mode

2017-10-23 Thread Dmitry Eremin-Solenikov
Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> --- configure.ac | 1 + 1 file changed, 1 insertion(+) diff --git a/configure.ac b/configure.ac index 4bc77500c279..255de960c180 100644 --- a/configure.ac +++ b/configure.ac @@ -271,6 +271,7 @@ AC_ARG_ENABLE([abi-

[lng-odp] [PATCH 12/29] abi: classification: drop two unused types

2017-10-23 Thread Dmitry Eremin-Solenikov
Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> --- include/odp/api/spec/classification.h | 11 --- platform/linux-generic/include/odp/api/classification.h | 13 - 2 files changed, 24 deletions(-) diff --git a/include/odp/ap

[lng-odp] [PATCH 05/29] api: abi: provide the the rest of abi files

2017-10-23 Thread Dmitry Eremin-Solenikov
Provide a set of platform-neutral ABI files. They are mostly modified versions of linux-generic api files. Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> --- include/Makefile.am| 188 - include/odp/arch/arm32

[lng-odp] [PATCH 08/29] include: move default ABI headers

2017-10-23 Thread Dmitry Eremin-Solenikov
Reduce amount of directory levels by moving default ABI headers to odp/api/abi-default. Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> --- include/Makefile.am| 82 +++--- .../default/api/abi => api/abi-default}

[lng-odp] [PATCH 13/29] include: change spec guarding define from ODP_API to ODP_API_SPEC

2017-10-23 Thread Dmitry Eremin-Solenikov
Change defines guarding inclusion of ODP API spec files from ODP_API_FOO to ODP_API_SPEC_FOO, as they are placed in odp/api/spec/foo.h path. Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> --- include/odp/api/spec/align.h | 4 ++-- include/odp/ap

[lng-odp] [PATCH 14/29] api: schedule: remove duplication between schedule and schedule_types

2017-10-23 Thread Dmitry Eremin-Solenikov
Move the rest of ODP_SCHED_GROUP_* defines to schedule_types.h to remove duplication between headers. Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> --- include/odp/api/abi-default/schedule.h | 8 include/odp/api/abi-default/schedule_types.

[lng-odp] [PATCH 04/29] helper: don't use __odp_force

2017-10-23 Thread Dmitry Eremin-Solenikov
__odp_force is not part of ODP API, so it should not be used directly. Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> --- helper/include/odp/helper/chksum.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helper/include/odp/helper/chksu

[lng-odp] [PATCH 01/29] travis: also run make distcheck in non-ABI-compat mode

2017-10-23 Thread Dmitry Eremin-Solenikov
Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> --- .travis.yml | 8 1 file changed, 8 insertions(+) diff --git a/.travis.yml b/.travis.yml index 49b922e3cdba..fdeeefd113ea 100644 --- a/.travis.yml +++ b/.travis.yml @@ -244,6 +244,14 @

[lng-odp] [PATCH 02/29] travis: add cross-compiling tests with ABI compatibility disabled

2017-10-23 Thread Dmitry Eremin-Solenikov
Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> --- .travis.yml | 4 1 file changed, 4 insertions(+) diff --git a/.travis.yml b/.travis.yml index fdeeefd113ea..6196f91d41de 100644 --- a/.travis.yml +++ b/.travis.yml @@ -74,6 +74,10 @@ env: - CROS

[lng-odp] [PATCH API-NEXT 00/29] restructure headers for ABI-compat/platform-optimized modes

2017-10-23 Thread Dmitry Eremin-Solenikov
With this patchset these goals are mostly accomplished. Remaining headers to be reworked: - align.h: gcc/platform-specific implementation - debug.h: again, gcc-specific code - cpu.h: platform-specific code, needs additional discussion Dmitry Eremin-Solenikov (29): travis: also run make

[lng-odp] [PATCH 11/29] abi: queue: drop unused odp_queue_group_t

2017-10-23 Thread Dmitry Eremin-Solenikov
Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> --- include/odp/api/spec/queue.h | 5 - platform/linux-generic/include/odp/api/queue.h | 12 2 files changed, 17 deletions(-) diff --git a/include/odp/api/spec/queue.h b/include/o

[lng-odp] [PATCH 09/29] include: install ABI headers without additional ARCH_ABI level

2017-10-23 Thread Dmitry Eremin-Solenikov
Install ABI headers directly to odp/api/abi, removing the need for extra symlink. Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> --- include/Makefile.am | 12 +--- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/include/Makefile.am b/i

[lng-odp] [PATCH 10/29] include: install and use ABI headers only in ABI-compat mode

2017-10-23 Thread Dmitry Eremin-Solenikov
There is no need to install ABI headers (or to have them in include path) in non-ABI-compat mode, they should not be used at all. Still provide default ABI headers, because platform may depend on them. Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> --- Makefi

[lng-odp] [PATCH 16/29] linux-gen, include: progress in switching headers to api+abi pattern

2017-10-23 Thread Dmitry Eremin-Solenikov
Rework more platform headers to use odp/api/abi/ subdir instead of odp/api/plat/. Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> --- include/Makefile.am| 8 + .../include => include}/odp/api/barrier.h

[lng-odp] [PATCH 17/29] linux-gen: atomic: simplify locked 64-bit support

2017-10-23 Thread Dmitry Eremin-Solenikov
Rewrite atomic_types.h/atomic_inlines.h to clearly separate simple (common) and locked 64-bit cases. This is allows us to ease switching of atomic header to abi setup. Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> --- .../include/odp/api/plat/atomic_inl

[lng-odp] [PATCH 22/29] linux-gen, include: switch ticketlock.h to api+abi

2017-10-23 Thread Dmitry Eremin-Solenikov
Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> --- include/Makefile.am | 1 + .../include => include}/odp/api/ticketlock.h| 11 +++ platform/linux-generic/Makefile.am | 7 +++ .../od

[lng-odp] [PATCH 23/29] linux-gen, include: move more headers from platform to generic

2017-10-23 Thread Dmitry Eremin-Solenikov
Move more generic headers from platform include dir to common include dir. Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> --- include/Makefile.am | 10 ++ {platform/linux-generic/include => include}/odp/api

[lng-odp] [PATCH 27/29] linux-gen: remove static_inline.h header

2017-10-23 Thread Dmitry Eremin-Solenikov
Replace static_inline.h header with unconditional defines of _ODP_INLINE macro (either to 'static inline' or to empty value) depending on the compilation place. Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> --- Makefile.inc

[lng-odp] [PATCH 28/29] linux-gen: don't install inline headers in non-ABI-compat mode

2017-10-23 Thread Dmitry Eremin-Solenikov
There is no point in installing inline headers in non-ABI-compat mode anymore. They are not included by any other header. Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> --- platform/linux-generic/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[lng-odp] [PATCH 29/29] configure: stop AC_SUBST'ing ODP_ABI_COMPAT

2017-10-23 Thread Dmitry Eremin-Solenikov
With static_inline.h gone, there is no need to AC_SUBST([ODP_ABI_COMPAT]). Drop it from configure.ac. Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> --- configure.ac | 1 - 1 file changed, 1 deletion(-) diff --git a/configure.ac b/configure.ac index 255de9

[lng-odp] [PATCH 15/29] linux-gen, include: for several simple headers switch to api+abi pattern

2017-10-23 Thread Dmitry Eremin-Solenikov
functions, etc. Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> --- Makefile.inc | 3 + include/Makefile.am| 17 ++ .../include => include}/odp/api/cpumask.h | 6 +- .../include =>

[lng-odp] [PATCH 18/29] linux-gen, include: switch atomic.h to api+abi

2017-10-23 Thread Dmitry Eremin-Solenikov
Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> --- include/Makefile.am| 1 + include/odp/api/atomic.h | 28 +++ platform/linux-generic/Makefile.am | 3 +- .../odp/api/abi/at

[lng-odp] [PATCH 19/29] linux-gen, include: switch byteorder.h to api+abi

2017-10-23 Thread Dmitry Eremin-Solenikov
Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> --- include/Makefile.am| 1 + include/odp/api/byteorder.h| 28 ++ platform/linux-generic/Makefile.am | 3 +- .../odp/api/abi/byteo

[lng-odp] [PATCH 20/29] linux-gen, include: switch std_clib.h to api+abi

2017-10-23 Thread Dmitry Eremin-Solenikov
Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> --- example/traffic_mgmt/odp_traffic_mgmt.c| 1 + helper/test/linux/process.c| 2 ++ helper/test/linux/pthread.c| 2 ++ helper/thr

[lng-odp] [PATCH 21/29] linux-gen, include: switch sync.h to api+abi

2017-10-23 Thread Dmitry Eremin-Solenikov
Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> --- include/Makefile.am| 1 + include/odp/api/sync.h | 28 ++ platform/linux-generic/Makefile.am | 2 +- .../o

[lng-odp] [PATCH 24/29] linux-gen, include: switch packet headers to api+abi

2017-10-23 Thread Dmitry Eremin-Solenikov
Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> --- include/Makefile.am| 6 ++ .../include => include}/odp/api/classification.h | 2 +- .../include => include}/odp/api/crypto.h | 2 +- .../include => i

[lng-odp] [PATCH 25/29] linux-gen: move several files under ODP_ABI_COMPAT condition

2017-10-23 Thread Dmitry Eremin-Solenikov
Several files consist only (or mostly) of functions compiled only if ODP is compiled in ABI compatibility mode. Instead of having an ifdef inside, guard them with if ODP_ABI_COMPAT condition in Makefile.am Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> --- pl

Re: [lng-odp] Latest odp_ipsec_sa_disable() discussion and proposed resolution

2017-10-24 Thread Dmitry Eremin-Solenikov
Hello, On 23 October 2017 at 20:56, Bill Fischofer wrote: > 2. All other IPsec events are reported as events of type ODP_EVENT_PACKET, > subtype ODP_EVENT_PACKET_IPSEC with appropriate error/warning bits set. > Implementations are free to use dummy packets to

Re: [lng-odp] Static ODP library and DPDK drivers

2017-10-24 Thread Dmitry Eremin-Solenikov
Hello, On 24/10/17 14:02, Elo, Matias (Nokia - FI/Espoo) wrote: > Hi Dmitry, > > Currently, when odp is configured with '--disable-shared' flag, dpdk drivers > are not included in the resulting libodp-linux.a library (doesn't include any > dpdk driver symbols) and hence an applications using

Re: [lng-odp] abi version support

2017-11-10 Thread Dmitry Eremin-Solenikov
10 нояб. 2017 г. 13:22 пользователь "Maxim Uvarov" написал: I see that dpdk started to support abi versions in following ways I.e. they describe in .map file which functions to expert and what ABI/API level they are. We can use something the same. But I'm not big fun of

[lng-odp] ODP vs Protocol headers

2017-11-10 Thread Dmitry Eremin-Solenikov
Hello, Historically ODP helper provided protocol-related headers with linux-generic ODP implementation using modified private copy of them. The main reason for that was, if I remember correctly, that ODP should not provide protocol-related definitions. I'd like to return to that question: - I'm

Re: [lng-odp] Preparing for ODP 2.0

2017-11-28 Thread Dmitry Eremin-Solenikov
On 28/11/17 00:57, Bill Fischofer wrote: > As a way of easing the sync burden on the 2.0 development branch, what do > folks think of the idea of asking that new PRs being posted to api-next > also be posted to 2.0? The contributions to api-next should be winding down > as we approach Tiger Moth

Re: [lng-odp] IPsec: handling dummy packets (NH=59)

2017-11-28 Thread Dmitry Eremin-Solenikov
out allowing application to specify if outgoing packet is dummy or not. In fact I'm going to propose the possibility to specify if outgoing packet is IPv4, IPv6 or dummy. > > On Mon, Nov 20, 2017 at 8:37 AM, Dmitry Eremin-Solenikov > <dmitry.ereminsoleni...@linaro.org > <mailto

Re: [lng-odp] Suspected SPAM - Re: IPsec and crypto performance and OpenSSL

2017-12-13 Thread Dmitry Eremin-Solenikov
gt; > >> -Original Message- >> From: lng-odp [mailto:lng-odp-boun...@lists.linaro.org] On Behalf Of >> Savolainen, Petri >> (Nokia - FI/Espoo) >> Sent: Tuesday, December 12, 2017 10:30 AM >> To: Bill Fischofer <bill.fischo...@linaro.org

[lng-odp] IPv6 packet L3 checksum status

2017-12-18 Thread Dmitry Eremin-Solenikov
Hello, I was working on checksum parsing/status. What is the L3 checksum status of IPv6 packets? Is it UNKNOWN (as there is no checksum) or OK (as in NOT BAD)? -- With best wishes Dmitry

[lng-odp] IPsec: handling dummy packets (NH=59)

2017-11-20 Thread Dmitry Eremin-Solenikov
Hello, I was thinking about another minor part of IPsec RFCs: dummy packets used to mask traffic statistics. IPsec implementation is required to drop ESP packets with NH = 59 (no next header) on receiver side and is expected to be able to generate these packets on transmitter side. Currently we

Re: [lng-odp] drv api in api-next

2017-11-01 Thread Dmitry Eremin-Solenikov
On 31/10/17 22:21, Honnappa Nagarahalli wrote: > But they are APIs, even though they were copied from Linux-generic. I > am thinking the discussion has already happened on why they should be > in API directory. Is there any reason to revert and restart the > discussion? They are used for 2.0, but

Re: [lng-odp] [Bug 3426] Support IPv6 Jumbo frames

2017-11-07 Thread Dmitry Eremin-Solenikov
I stumbled upon it as I was writing header parsing code for IPsec.

Re: [lng-odp] [PATCH API-NEXT v1] AES-GMAC implementation

2017-11-08 Thread Dmitry Eremin-Solenikov
updated

Re: [lng-odp] IPsec and crypto performance and OpenSSL

2017-12-11 Thread Dmitry Eremin-Solenikov
On 11 December 2017 at 19:14, Maxim Uvarov wrote: > odp_init_global() allocates shm, then odp_init_local() / odp_term_local() > allocates/destroys per thread contexts in array in that shm. I think that > has to work. The problem lies in OpenSSL 1.1 "opaque structures"

Re: [lng-odp] IPsec and crypto performance and OpenSSL

2017-12-12 Thread Dmitry Eremin-Solenikov
On 12 December 2017 at 14:00, Peltonen, Janne (Nokia - FI/Espoo) wrote: >> Also note that this will break explicit IV support. > > Why so? The iv is set in every operation. Sorry, I meant implicit IV, when there is no override_iv_ptr, but IV is 'kept' inside session.

[lng-odp] API-next branch

2017-10-25 Thread Dmitry Eremin-Solenikov
Hello, I tried to actually check, which patches are sitting in the api-next. And actually I failed to do that in a timely manner. git cherry produces a list of patches, that contains a lot of patches, which already landed to the master. Quick proposal would be to stop using api-next as a

Re: [lng-odp] [PATCH API-NEXT v1 1/3] api: ipsec: rework ODP_IPSEC_SA_DISABLE into packet error

2017-10-24 Thread Dmitry Eremin-Solenikov
Hi, On 24/10/17 15:49, Peltonen, Janne (Nokia - FI/Espoo) wrote: Thank for the review! >> @@ -927,7 +930,12 @@ typedef struct odp_ipsec_error_t { >> >> } odp_ipsec_error_t; >> >> -/** IPSEC warnings */ >> +/** IPSEC warnings >> + * >> + * For outbound SAs in ODP_IPSEC_OP_MODE_INLINE mode

Re: [lng-odp] [PATCH API-NEXT v2 1/3] api: ipsec: rework ODP_IPSEC_SA_DISABLE into packet error

2017-10-25 Thread Dmitry Eremin-Solenikov
> delete "either" and reflow comment. done

Re: [lng-odp] drv api in api-next

2017-10-31 Thread Dmitry Eremin-Solenikov
On 30/10/17 19:43, Maxim Uvarov wrote: > In api-next we have some drv apis which is a copy of linux-generic but > with drv prefix. I'm thinking what to do with them for Tiger Moth. Or > merge them or merge and revert. For now we do not use that api. I'd say, let's revert that for now.

Re: [lng-odp] Debian package for ODP

2018-04-28 Thread Dmitry Eremin-Solenikov
Hi, On 28 April 2018 at 13:59, Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> wrote: > Current package review is handled in Debian bug 896970: > > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=896970 And just for the reference. ODP-DPDK preview (basing on Matia

[lng-odp] TigerMoth_LTS brach

2018-04-28 Thread Dmitry Eremin-Solenikov
Hello, Maxim, Could you please start pushing pending fixes to tigermoth_lts branch, so that they can be picked into packaging? -- With best wishes Dmitry

[lng-odp] Debian package for ODP

2018-04-28 Thread Dmitry Eremin-Solenikov
Hello, Current package review is handled in Debian bug 896970: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=896970 -- With best wishes Dmitry

Re: [lng-odp] Debian package for ODP

2018-04-28 Thread Dmitry Eremin-Solenikov
; Maxim. > > On 28 April 2018 at 13:59, Dmitry Eremin-Solenikov > <dmitry.ereminsoleni...@linaro.org> wrote: >> >> Hello, >> >> Current package review is handled in Debian bug 896970: >> >> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=896970 >> >> -- >> With best wishes >> Dmitry > > -- With best wishes Dmitry

Re: [lng-odp] TigerMoth_LTS brach

2018-04-28 Thread Dmitry Eremin-Solenikov
Hi, On 28 April 2018 at 16:44, Bill Fischofer wrote: > If we're going to be doing formal distributions each of these should have > their own branch which are created off of the main base release branch. So > TigerMoth_LTS is the "master" branch and it can have

Re: [lng-odp] Debian package for ODP

2018-04-28 Thread Dmitry Eremin-Solenikov
On 28 April 2018 at 16:05, Maxim Uvarov <maxim.uva...@linaro.org> wrote: > > > On 28 April 2018 at 14:38, Dmitry Eremin-Solenikov > <dmitry.ereminsoleni...@linaro.org> wrote: >> >> Hello, >> >> On 28 April 2018 at 14:28, Maxim Uvarov <maxim.u

[lng-odp] Updated ODP packages

2018-05-30 Thread Dmitry Eremin-Solenikov
Hello, I've uploaded next iteration of ODP/ODP-DPDK Debian packages to people.linaro.org. You can download them after adding following strings to your apt sources.list: deb https://people.linaro.org/~dmitry.ereminsolenikov unstable main deb-src https://people.linaro.org/~dmitry.ereminsolenikov

[lng-odp] odp tools manpages

2018-06-05 Thread Dmitry Eremin-Solenikov
Hello, To finish ODP packaging work I have to provide manpages for ODP tools that are going to be packages. I've written manpages for odp_hello and odp_crypto, however I'm asking for the help in writing manpages for l2fwd/l3fwd/generator. Could you please help me by sketching clean descriptions

Re: [lng-odp] unrecognized command line option '-fstack-protector-strong'

2018-06-27 Thread Dmitry Eremin-Solenikov
On 27/06/18 18:41, Maxim Uvarov wrote: > Ubuntu 14.04.5 which I run in container uses gcc 4.8 but on host I use more > fresh Ubuntu kernel compiled with stack protector. That makes dpdk modules > not compatible. But it's not clear why dpdk modules inherit kernels > compiler options. Is there any

Re: [lng-odp] TigerMoth_LTS brach

2018-04-28 Thread Dmitry Eremin-Solenikov
Hi, On 28 April 2018 at 20:32, Bill Fischofer wrote: > > Distributions have unique packaging. What if that packaging needs to be > changed either because of an error in creating it or else a change in > packaging requirements on the part of the distro? It is handled

Re: [lng-odp] Debian package for ODP

2018-04-28 Thread Dmitry Eremin-Solenikov
Hello, On 28 April 2018 at 21:58, Maxim Uvarov wrote: > Thanks. What are the next steps in upstreaming it to debian? How we can help > with it? It would be nice to have team's feedback on providing test tools/examples on target platform. I'll upload final odp-dpdk

Re: [lng-odp] [PATCH API-NEXT v4 1/3] api: ipsec: rework ODP_IPSEC_SA_DISABLE into packet error

2017-10-26 Thread Dmitry Eremin-Solenikov
aro.org >> Subject: [lng-odp] [PATCH API-NEXT v4 1/3] api: ipsec: rework >> ODP_IPSEC_SA_DISABLE into packet error >> >> From: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> >> >> According to the discussion on mailing list, most of impl

Re: [lng-odp] odp api to query free/tottal ram

2017-10-23 Thread Dmitry Eremin-Solenikov
On 23/10/17 10:39, Maxim Uvarov wrote: > It might be reasonable to add also api call to get return free memory. So > that application can adjust pools /buffers size according to hardware or VM > settings. Which might be good fit for NFV set up. > Any opinions on that? It would depend on the

[lng-odp] [PATCH v10 01/30] travis: also run make distcheck in non-ABI-compat mode

2017-10-27 Thread Dmitry Eremin-Solenikov
Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> --- .travis.yml | 8 1 file changed, 8 insertions(+) diff --git a/.travis.yml b/.travis.yml index 49b922e3cdba..fdeeefd113ea 100644 --- a/.travis.yml +++ b/.travis.yml @@ -244,6 +244,14 @

[lng-odp] [PATCH v10 11/30] abi: queue: drop unused odp_queue_group_t

2017-10-27 Thread Dmitry Eremin-Solenikov
Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> --- include/odp/api/spec/queue.h | 5 - platform/linux-generic/include/odp/api/queue.h | 12 2 files changed, 17 deletions(-) diff --git a/include/odp/api/spec/queue.h b/include/o

[lng-odp] [PATCH v10 12/30] abi: classification: drop two unused types

2017-10-27 Thread Dmitry Eremin-Solenikov
Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> --- include/odp/api/spec/classification.h | 11 --- platform/linux-generic/include/odp/api/classification.h | 13 - 2 files changed, 24 deletions(-) diff --git a/include/odp/ap

[lng-odp] [PATCH v10 09/30] include: install ABI headers without additional ARCH_ABI level

2017-10-27 Thread Dmitry Eremin-Solenikov
Install ABI headers directly to odp/api/abi, removing the need for extra symlink. Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> --- include/Makefile.am | 12 +--- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/include/Makefile.am b/i

[lng-odp] [PATCH v10 17/30] linux-gen: atomic: simplify locked 64-bit support

2017-10-27 Thread Dmitry Eremin-Solenikov
Rewrite atomic_types.h/atomic_inlines.h to clearly separate simple (common) and locked 64-bit cases. This is allows us to ease switching of atomic header to abi setup. Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> --- .../include/odp/api/plat/atomic_inl

[lng-odp] [PATCH v10 24/30] linux-gen, include: switch packet headers to api+abi

2017-10-27 Thread Dmitry Eremin-Solenikov
Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> --- include/Makefile.am| 6 ++ .../include => include}/odp/api/classification.h | 2 +- .../include => include}/odp/api/crypto.h | 2 +- .../include => i

[lng-odp] [PATCH v10 30/30] include: provide formal description of ODP specification

2017-10-27 Thread Dmitry Eremin-Solenikov
Provide formal description of files being part of ODP specification, platform-specific headers, substituting parts of ODP specification and additional headers supplementing ODP specification. Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> --- include/READM

[lng-odp] [PATCH v10 10/30] include: install and use ABI headers only in ABI-compat mode

2017-10-27 Thread Dmitry Eremin-Solenikov
There is no need to install ABI headers (or to have them in include path) in non-ABI-compat mode, they should not be used at all. Still provide default ABI headers, because platform may depend on them. Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> --- Makefi

[lng-odp] [PATCH v10 14/30] api: schedule: remove duplication between schedule and schedule_types

2017-10-27 Thread Dmitry Eremin-Solenikov
Move the rest of ODP_SCHED_GROUP_* defines to schedule_types.h to remove duplication between headers. Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> --- include/odp/api/abi-default/schedule.h | 8 include/odp/api/abi-default/schedule_types.

[lng-odp] [PATCH v10 16/30] linux-gen, include: progress in switching headers to api+abi pattern

2017-10-27 Thread Dmitry Eremin-Solenikov
Rework more platform headers to use odp/api/abi/ subdir instead of odp/api/plat/. Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> --- include/Makefile.am| 8 + .../include => include}/odp/api/barrier.h

[lng-odp] [PATCH v10 18/30] linux-gen, include: switch atomic.h to api+abi

2017-10-27 Thread Dmitry Eremin-Solenikov
Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> --- include/Makefile.am| 1 + include/odp/api/atomic.h | 28 +++ platform/linux-generic/Makefile.am | 3 +- .../odp/api/abi/at

[lng-odp] [PATCH v10 21/30] linux-gen, include: switch sync.h to api+abi

2017-10-27 Thread Dmitry Eremin-Solenikov
Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> --- include/Makefile.am| 1 + include/odp/api/sync.h | 28 ++ platform/linux-generic/Makefile.am | 2 +- .../o

[lng-odp] [PATCH v10 22/30] linux-gen, include: switch ticketlock.h to api+abi

2017-10-27 Thread Dmitry Eremin-Solenikov
Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> --- include/Makefile.am | 1 + .../include => include}/odp/api/ticketlock.h| 11 +++ platform/linux-generic/Makefile.am | 7 +++ .../od

[lng-odp] [PATCH v10 28/30] linux-gen: don't install inline headers in non-ABI-compat mode

2017-10-27 Thread Dmitry Eremin-Solenikov
There is no point in installing inline headers in non-ABI-compat mode anymore. They are not included by any other header. Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> --- platform/linux-generic/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[lng-odp] [PATCH v10 29/30] configure: stop AC_SUBST'ing ODP_ABI_COMPAT

2017-10-27 Thread Dmitry Eremin-Solenikov
With static_inline.h gone, there is no need to AC_SUBST([ODP_ABI_COMPAT]). Drop it from configure.ac. Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> --- configure.ac | 1 - 1 file changed, 1 deletion(-) diff --git a/configure.ac b/configure.ac index 255de9

[lng-odp] [PATCH v10 02/30] travis: add cross-compiling tests with ABI compatibility disabled

2017-10-27 Thread Dmitry Eremin-Solenikov
Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> --- .travis.yml | 4 1 file changed, 4 insertions(+) diff --git a/.travis.yml b/.travis.yml index fdeeefd113ea..6196f91d41de 100644 --- a/.travis.yml +++ b/.travis.yml @@ -74,6 +74,10 @@ env: - CROS

[lng-odp] [PATCH v10 03/30] linux-gen: ipsec: don't use __odp_force

2017-10-27 Thread Dmitry Eremin-Solenikov
__odp_force is not part of ODP API, so it should not be used directly. Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> --- platform/linux-generic/odp_ipsec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/linux-generic/odp_ipse

[lng-odp] [PATCH v10 06/30] configure: provide conditional for ABI-compat mode

2017-10-27 Thread Dmitry Eremin-Solenikov
Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> --- configure.ac | 1 + 1 file changed, 1 insertion(+) diff --git a/configure.ac b/configure.ac index 4bc77500c279..255de960c180 100644 --- a/configure.ac +++ b/configure.ac @@ -271,6 +271,7 @@ AC_ARG_ENABLE([abi-

[lng-odp] [PATCH v10 07/30] build: move ODP include path to common Makefile.inc

2017-10-27 Thread Dmitry Eremin-Solenikov
Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> --- Makefile.inc | 12 example/Makefile.inc | 12 helper/Makefile.am

[lng-odp] [PATCH v10 19/30] linux-gen, include: switch byteorder.h to api+abi

2017-10-27 Thread Dmitry Eremin-Solenikov
Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> --- include/Makefile.am| 1 + include/odp/api/byteorder.h| 28 ++ platform/linux-generic/Makefile.am | 3 +- .../odp/api/abi/byteo

[lng-odp] [PATCH v10 20/30] linux-gen, include: switch std_clib.h to api+abi

2017-10-27 Thread Dmitry Eremin-Solenikov
Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> --- example/traffic_mgmt/odp_traffic_mgmt.c| 1 + helper/test/linux/process.c| 2 ++ helper/test/linux/pthread.c| 2 ++ helper/thr

[lng-odp] [PATCH v10 26/30] linux-gen: split odp_packet/odp_packet_flags

2017-10-27 Thread Dmitry Eremin-Solenikov
Split away inclusion of API implementation to the files selected by Automake. Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> --- platform/linux-generic/Makefile.am| 2 ++ platform/linux-generic/odp_packet.c | 5 - platform/linux-g

[lng-odp] [PATCH v10 13/30] include: change spec guarding define from ODP_API to ODP_API_SPEC

2017-10-27 Thread Dmitry Eremin-Solenikov
Change defines guarding inclusion of ODP API spec files from ODP_API_FOO to ODP_API_SPEC_FOO, as they are placed in odp/api/spec/foo.h path. Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> --- include/odp/api/spec/align.h | 4 ++-- include/odp/ap

[lng-odp] [PATCH v10 08/30] include: move default ABI headers

2017-10-27 Thread Dmitry Eremin-Solenikov
Reduce amount of directory levels by moving default ABI headers to odp/api/abi-default. Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> --- include/Makefile.am| 82 +++--- .../default/api/abi => api/abi-default}

[lng-odp] [PATCH v10 25/30] linux-gen: move several files under ODP_ABI_COMPAT condition

2017-10-27 Thread Dmitry Eremin-Solenikov
Several files consist only (or mostly) of functions compiled only if ODP is compiled in ABI compatibility mode. Instead of having an ifdef inside, guard them with if ODP_ABI_COMPAT condition in Makefile.am Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> --- pl

[lng-odp] [PATCH v10 27/30] linux-gen: remove static_inline.h header

2017-10-27 Thread Dmitry Eremin-Solenikov
Replace static_inline.h header with unconditional defines of _ODP_INLINE macro (either to 'static inline' or to empty value) depending on the compilation place. Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> --- Makefile.inc

<    1   2   3   4   5   >