Re: [lng-odp] [PATCH API-NEXT v1] api: packet: print data

2017-10-27 Thread Github ODP bot
Petri Savolainen(psavol) replied on github web page: platform/linux-generic/odp_packet.c line 21 @@ -1739,9 +1739,68 @@ void odp_packet_print(odp_packet_t pkt) seg = odp_packet_next_seg(pkt, seg); } - str[len] = '\0'; + ODP_PRINT("%s\n", str); +} + +void odp_p

Re: [lng-odp] Relation between Enumerator class and Enumerator

2017-10-27 Thread Maxim Uvarov
yes, discovery is done by other tools like lspci, /proc and /sys interfaces. Also udev rules are there to make naming persistent. For pci it can be: odp_pktio_open("mdev:eth0") then you parse /proc/bus/pci/devices to find actual driver used for this eth0. And if you have matching mdev pktio dri

Re: [lng-odp] DDF discussions taking time

2017-10-27 Thread Francois Ozog
Well, we do not need to scan all the platform because the pktio_open contains enough information to target the right device. This is almost true as we need to have an additional "selector" for the port on multiport NICs that are controlled by a single pci ID. :: or something like that. All ports m

[lng-odp] Fwd: SDxCentral Needs Your Input - 2017 Open Source in Networking Survey

2017-10-27 Thread Francois Ozog
Hi, you probably already received this invitation directly, but I think this is an opportunity to illustrate ODP concrete usages. If your company policies allow responding to the survey, please do. Cordially, François-Frédéric -- Forwarded message -- From: SDxCentral Date: 25 O

[lng-odp] [PATCH API-NEXT v4 3/8] validation: pool: add subparam test

2017-10-27 Thread Github ODP bot
From: Petri Savolainen Test packet pool subparameters when those are supported. Signed-off-by: Petri Savolainen --- /** Email created from pull request 234 (psavol:next-pool-param) ** https://github.com/Linaro/odp/pull/234 ** Patch: https://github.com/Linaro/odp/pull/234.patch ** Base sha: d

[lng-odp] [PATCH API-NEXT v4 0/8] api: pool subparameters

2017-10-27 Thread Github ODP bot
Added packet pool parameters for more fine grained pool configuration. The basic usage of the parameters is not changed, except that implementation may now round up 'num' by default. Application can limit the round up with new 'max_num' parameter. If application does not limit max_num (but is still

[lng-odp] [PATCH API-NEXT v4 4/8] validation: pool: initialize params correctly

2017-10-27 Thread Github ODP bot
From: Petri Savolainen Use odp_pool_param_init() to initialize pool parameters. Signed-off-by: Petri Savolainen --- /** Email created from pull request 234 (psavol:next-pool-param) ** https://github.com/Linaro/odp/pull/234 ** Patch: https://github.com/Linaro/odp/pull/234.patch ** Base sha: d

[lng-odp] [PATCH API-NEXT v4 5/8] api: pool: add max packet num info

2017-10-27 Thread Github ODP bot
From: Petri Savolainen Packet pool parameters does not require application to specify the maximum number of packet. Application is more portable, if it does not restrict max_num, but instead uses this info field after pool creation. Signed-off-by: Petri Savolainen --- /** Email created from pul

[lng-odp] [PATCH API-NEXT v4 1/8] api: pool: relax packet pool param num

2017-10-27 Thread Github ODP bot
From: Petri Savolainen Added packet pool parameter 'max_num', so that 'num' parameter can be round up by the implementation. Most implementations have a fixed segment size, and need this flexibility. For example, when 'len' is larger than the pool segment size, there may be e.g. 2 x 'num' segment

[lng-odp] [PATCH API-NEXT v4 2/8] api: pool: add packet pool subparameters

2017-10-27 Thread Github ODP bot
From: Petri Savolainen Additional packet length and number specification gives more information to implementation about intended packet length distribution in the pool. This enables e.g. correct initialization when pool implementation is based on multiple fixed packet / segment sizes (subpools).

[lng-odp] [PATCH API-NEXT v4 7/8] validation: pool: add packet info test

2017-10-27 Thread Github ODP bot
From: Petri Savolainen Added odp_pool_info() test for packet pools. Signed-off-by: Petri Savolainen --- /** Email created from pull request 234 (psavol:next-pool-param) ** https://github.com/Linaro/odp/pull/234 ** Patch: https://github.com/Linaro/odp/pull/234.patch ** Base sha: d61d32590d177

[lng-odp] [PATCH API-NEXT v4 6/8] linux-gen: pool: implement max_num info

2017-10-27 Thread Github ODP bot
From: Petri Savolainen Implemented max_num info for packet pools. Signed-off-by: Petri Savolainen --- /** Email created from pull request 234 (psavol:next-pool-param) ** https://github.com/Linaro/odp/pull/234 ** Patch: https://github.com/Linaro/odp/pull/234.patch ** Base sha: d61d32590d1772b

[lng-odp] [PATCH API-NEXT v4 8/8] api: pool: remove union from params

2017-10-27 Thread Github ODP bot
From: Petri Savolainen Remove anonymous union from pool parameter structure. Union makes it impossible to initialize parameters per pool type (use other values than all zeros). This change is not visible to applications (union was anonymous). Signed-off-by: Petri Savolainen --- /** Email create

Re: [lng-odp] [PATCH API-NEXT v1] api: packet: print data

2017-10-27 Thread Github ODP bot
Ilias Apalodimas(apalos) replied on github web page: platform/linux-generic/odp_packet.c line 24 @@ -1739,9 +1739,68 @@ void odp_packet_print(odp_packet_t pkt) seg = odp_packet_next_seg(pkt, seg); } - str[len] = '\0'; + ODP_PRINT("%s\n", str); +} + +void odp_p

Re: [lng-odp] [PATCH API-NEXT v1] api: packet: print data

2017-10-27 Thread Github ODP bot
Petri Savolainen(psavol) replied on github web page: platform/linux-generic/odp_packet.c line 24 @@ -1739,9 +1739,68 @@ void odp_packet_print(odp_packet_t pkt) seg = odp_packet_next_seg(pkt, seg); } - str[len] = '\0'; + ODP_PRINT("%s\n", str); +} + +void odp_p

Re: [lng-odp] [PATCH API-NEXT v1] api: packet: print data

2017-10-27 Thread Github ODP bot
Petri Savolainen(psavol) replied on github web page: platform/linux-generic/odp_packet.c line 24 @@ -1739,9 +1739,68 @@ void odp_packet_print(odp_packet_t pkt) seg = odp_packet_next_seg(pkt, seg); } - str[len] = '\0'; + ODP_PRINT("%s\n", str); +} + +void odp_p

Re: [lng-odp] [PATCH API-NEXT v1] api: packet: print data

2017-10-27 Thread Github ODP bot
Ilias Apalodimas(apalos) replied on github web page: platform/linux-generic/odp_packet.c line 24 @@ -1739,9 +1739,68 @@ void odp_packet_print(odp_packet_t pkt) seg = odp_packet_next_seg(pkt, seg); } - str[len] = '\0'; + ODP_PRINT("%s\n", str); +} + +void odp_p

Re: [lng-odp] Relation between Enumerator class and Enumerator

2017-10-27 Thread Ilias Apalodimas
Hi Maxim, This is exactly what we have in mind for the mediated device design. Regards Ilias On 27 October 2017 at 10:25, Maxim Uvarov wrote: > yes, discovery is done by other tools like lspci, /proc and /sys > interfaces. Also udev rules are there to make naming persistent. > > For pci it ca

[lng-odp] [Linaro/odp] 201a96: shippable: add libconfig and libnuma

2017-10-27 Thread GitHub
Branch: refs/heads/api-next Home: https://github.com/Linaro/odp Commit: 201a96f9bbcbabd904362ba05a179c72689a578e https://github.com/Linaro/odp/commit/201a96f9bbcbabd904362ba05a179c72689a578e Author: Maxim Uvarov Date: 2017-10-27 (Fri, 27 Oct 2017) Changed paths: M scrip

Re: [lng-odp] Relation between Enumerator class and Enumerator

2017-10-27 Thread Francois Ozog
This should not be limited to pci . The good news is that with netmdev you start with /sys/class/net and can find what you need. Actually you even do NOT need pci pus information from /sys/bus/pci because netmdev provides what you need in a bus independent manner. FF Le ven. 27 oct. 2017 à 10:11

Re: [lng-odp] Relation between Enumerator class and Enumerator

2017-10-27 Thread Jianbo Liu
The 10/27/2017 10:25, Maxim Uvarov wrote: > yes, discovery is done by other tools like lspci, /proc and /sys > interfaces. Also udev rules are there to make naming persistent. > > For pci it can be: > > odp_pktio_open("mdev:eth0") > > then you parse /proc/bus/pci/devices to find actual driver used

[lng-odp] [PATCH v1 0/1] travis: fix script to check patches to not fail on new branch

2017-10-27 Thread Github ODP bot
Signed-off-by: Maxim Uvarov maxim.uva...@linaro.org github /** Email created from pull request 263 (muvarov:master_fixscripts) ** https://github.com/Linaro/odp/pull/263 ** Patch: https://github.com/Linaro/odp/pull/263.patch ** Base sha: 3edee38da55876e36f

[lng-odp] [PATCH v1 1/1] travis: fix script to check patches to not fail on new branch

2017-10-27 Thread Github ODP bot
From: Maxim Uvarov Signed-off-by: Maxim Uvarov --- /** Email created from pull request 263 (muvarov:master_fixscripts) ** https://github.com/Linaro/odp/pull/263 ** Patch: https://github.com/Linaro/odp/pull/263.patch ** Base sha: 3edee38da55876e36f654a5d1a4b87c2ea5b8bfe ** Merge commit sha: 7

Re: [lng-odp] Relation between Enumerator class and Enumerator

2017-10-27 Thread Francois Ozog
In the case of netmdev the device is still there. Please check with Ilias for detailed behavior of this technology FF Le ven. 27 oct. 2017 à 10:29, Jianbo Liu a écrit : > The 10/27/2017 10:25, Maxim Uvarov wrote: > > yes, discovery is done by other tools like lspci, /proc and /sys > > interfac

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

2017-10-27 Thread Savolainen, Petri (Nokia - FI/Espoo)
> -Original Message- > From: Dmitry Eremin-Solenikov [mailto:dmitry.ereminsoleni...@linaro.org] > Sent: Thursday, October 26, 2017 3:45 PM > To: Savolainen, Petri (Nokia - FI/Espoo) ; > Github ODP bot ; lng-odp@lists.linaro.org > Subject: Re: [lng-odp] [PATCH API-NEXT v4 1/3] api: ipsec:

Re: [lng-odp] [PATCH API-NEXT v8] restructure headers for ABI-compat/platform-optimized modes

2017-10-27 Thread Github ODP bot
Petri Savolainen(psavol) replied on github web page: include/README line 15 @@ -0,0 +1,76 @@ +ODP specification += + +ODP specification consists of several types of files, which together provide +full list of types, values and functions that ODP implemention MUST provide. + +ODP AP

Re: [lng-odp] [PATCH API-NEXT v12] api: classification: add random early detection

2017-10-27 Thread Github ODP bot
Balasubramanian Manoharan(bala-manoharan) replied on github web page: include/odp/api/spec/classification.h line 48 @@ -206,6 +213,53 @@ typedef struct odp_cls_cos_param { /** Drop policy associated with CoS */ odp_cls_drop_t drop_policy; + + /** Random Early Detection (RED

Re: [lng-odp] [PATCH API-NEXT v8] restructure headers for ABI-compat/platform-optimized modes

2017-10-27 Thread Github ODP bot
Petri Savolainen(psavol) replied on github web page: include/README line 15 @@ -0,0 +1,76 @@ +ODP specification += + +ODP specification consists of several types of files, which together provide +full list of types, values and functions that ODP implemention MUST provide. + +ODP AP

Re: [lng-odp] [PATCH API-NEXT v12] api: classification: add random early detection

2017-10-27 Thread Github ODP bot
Balasubramanian Manoharan(bala-manoharan) replied on github web page: platform/linux-generic/odp_classification.c line 1 @@ -190,6 +190,8 @@ int odp_cls_capability(odp_cls_capability_t *capability) capability->supported_terms.bit.tcp_sport = 1; Comment: Will do in next version. > muvaro

[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 --- .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 @@ jobs: - ./configure --prefix=$HO

[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 --- .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: - CROSS_ARCH="armhf" CFLAGS="-march=armv7-a"

[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 --- platform/linux-generic/odp_ipsec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/linux-generic/odp_ipsec.c b/platform/linux-generic/odp_ipsec.c index

[lng-odp] [PATCH v10 04/30] helper: 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 --- helper/include/odp/helper/chksum.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helper/include/odp/helper/chksum.h b/helper/include/odp/helper/chksum.h index

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

2017-10-27 Thread Dmitry Eremin-Solenikov
This is a copy of https://github.com/Linaro/odp/pull/250, since mailer scripts won't send huge patch series. This patch serie is based on discussions during SFO17. My main goals were: - providing full set of ABI headers to be used by other implementations - restructuring existing headers, to pr

[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 --- 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-compat], ODP_LIBSO_VERSION=0:0:0

[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 --- Makefile.inc | 12 example/Makefile.inc | 12 helper/Makefile.am | 12 helper/test/Makefile.am

[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 --- include/Makefile.am | 12 +--- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/include/Makefile.am b/include/Makefile.am index 5328133dd4e4..d841e65b

[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 --- Makefile.inc| 6 +- include/Makefile.am

[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 --- 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/odp/api/spec/queue.h index 73598be06d93..3c

[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 --- 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/api/spec/classification.h b/include/odp/api/

[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 --- include/odp/api/spec/align.h | 4 ++-- include/odp/api/spec/atomic.h | 4 ++-- include/

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

2017-10-27 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 --- include/Makefile.am| 188 - include/odp/arch/arm32-linux/odp/api/abi/atomic.h | 7 + includ

[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 --- include/Makefile.am| 82 +++--- .../default/api/abi => api/abi-default}/atomic.h | 0 .../default/api/abi => api/a

[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 --- include/odp/api/abi-default/schedule.h | 8 include/odp/api/abi-default/schedule_types.h | 8 include/odp/api/spec/schedule.h

[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 --- include/Makefile.am| 8 + .../include => include}/odp/api/barrier.h | 6 ++-- .../include => include}/odp/api/buffer.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 --- include/Makefile.am| 1 + include/odp/api/atomic.h | 28 +++ platform/linux-generic/Makefile.am | 3 +- .../odp/api/abi/atomic.h} | 14 ++

[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 --- .../include/odp/api/plat/atomic_inlines.h | 315 + .../i

[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 --- include/Makefile.am| 1 + include/odp/api/byteorder.h| 28 ++ platform/linux-generic/Makefile.am | 3 +- .../odp/api/abi/byteorder.h} | 15 +--

[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 --- example/traffic_mgmt/odp_traffic_mgmt.c| 1 + helper/test/linux/process.c| 2 ++ helper/test/linux/pthread.c| 2 ++ helper/threads.c | 1 + include/Makefile

[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 --- include/Makefile.am| 1 + include/odp/api/sync.h | 28 ++ platform/linux-generic/Makefile.am | 2 +- .../odp/api => include-abi/odp/api/abi}/sync.h | 12

[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 --- include/Makefile.am | 1 + .../include => include}/odp/api/ticketlock.h| 11 +++ platform/linux-generic/Makefile.am | 7 +++ .../odp/api/abi/ticketlock.h} | 21 +

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

2017-10-27 Thread Dmitry Eremin-Solenikov
Move more generic headers from platform include dir to common include dir. Signed-off-by: Dmitry Eremin-Solenikov --- include/Makefile.am | 10 ++ {platform/linux-generic/include => include}/odp/api/chksum.h | 12 ++-- .../linux-generic/in

[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 --- include/Makefile.am| 6 ++ .../include => include}/odp/api/classification.h | 2 +- .../include => include}/odp/api/crypto.h | 2 +- .../include => include}/odp/api/packet.h | 11 +--- .../include

[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 --- platform/linux-generic/Makefile.am

[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 --- platform/linux-generic/Makefile.am| 2 ++ platform/linux-generic/odp_packet.c | 5 - platform/linux-generic/odp_packet_api.c | 28 +++

[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 --- Makefile.inc | 1 - platform/linux-generic/.gitignore

[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 --- platform/linux-generic/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/linux-generic/Makef

[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 --- configure.ac | 1 - 1 file changed, 1 deletion(-) diff --git a/configure.ac b/configure.ac index 255de960c180..6d74c98b3083 100644 --- a/configure.ac

[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 --- include/README | 77 +

[lng-odp] [PATCH API-NEXT v1 0/1] api: packet: change argument to enable for l3 and l4 chsums

2017-10-27 Thread Github ODP bot
function name already has l3 and l4 layer, argument enable is more clean here. Signed-off-by: Maxim Uvarov maxim.uva...@linaro.org github /** Email created from pull request 264 (muvarov:api-next_chsum) ** https://github.com/Linaro/odp/pull/264 ** Patch: h

[lng-odp] [PATCH API-NEXT v1 1/1] api: packet: change argument to enable for l3 and l4 chsums

2017-10-27 Thread Github ODP bot
From: Maxim Uvarov function name already has l3 and l4 layer, argument enable is more clean here. Signed-off-by: Maxim Uvarov --- /** Email created from pull request 264 (muvarov:api-next_chsum) ** https://github.com/Linaro/odp/pull/264 ** Patch: https://github.com/Linaro/odp/pull/264.patch

Re: [lng-odp] [PATCH API-NEXT v10] restructure headers for ABI-compat/platform-optimized modes

2017-10-27 Thread Github ODP bot
Petri Savolainen(psavol) replied on github web page: include/README @@ -0,0 +1,76 @@ +ODP specification += + +ODP specification consists of several types of files, which together provide +full list of types, values and functions that ODP implemention MUST provide. + +ODP API specif

Re: [lng-odp] [PATCH API-NEXT v10] restructure headers for ABI-compat/platform-optimized modes

2017-10-27 Thread Github ODP bot
Petri Savolainen(psavol) replied on github web page: include/README @@ -0,0 +1,76 @@ +ODP specification += + +ODP specification consists of several types of files, which together provide +full list of types, values and functions that ODP implemention MUST provide. + +ODP API specif

Re: [lng-odp] [PATCH API-NEXT v10] restructure headers for ABI-compat/platform-optimized modes

2017-10-27 Thread Github ODP bot
Petri Savolainen(psavol) replied on github web page: include/README @@ -0,0 +1,76 @@ +ODP specification += + +ODP specification consists of several types of files, which together provide +full list of types, values and functions that ODP implemention MUST provide. + +ODP API specif

Re: [lng-odp] [PATCH API-NEXT v10] restructure headers for ABI-compat/platform-optimized modes

2017-10-27 Thread Github ODP bot
Petri Savolainen(psavol) replied on github web page: include/README @@ -0,0 +1,76 @@ +ODP specification += + +ODP specification consists of several types of files, which together provide +full list of types, values and functions that ODP implemention MUST provide. + +ODP API specif

Re: [lng-odp] [PATCH API-NEXT v10] restructure headers for ABI-compat/platform-optimized modes

2017-10-27 Thread Github ODP bot
Dmitry Eremin-Solenikov(lumag) replied on github web page: include/README @@ -0,0 +1,76 @@ +ODP specification += + +ODP specification consists of several types of files, which together provide +full list of types, values and functions that ODP implemention MUST provide. + +ODP API

Re: [lng-odp] [PATCH API-NEXT v10] restructure headers for ABI-compat/platform-optimized modes

2017-10-27 Thread Github ODP bot
Petri Savolainen(psavol) replied on github web page: include/README @@ -0,0 +1,76 @@ +ODP specification += + +ODP specification consists of several types of files, which together provide +full list of types, values and functions that ODP implemention MUST provide. + +ODP API specif

Re: [lng-odp] [PATCH API-NEXT v10] restructure headers for ABI-compat/platform-optimized modes

2017-10-27 Thread Github ODP bot
Petri Savolainen(psavol) replied on github web page: include/README @@ -0,0 +1,76 @@ +ODP specification += + +ODP specification consists of several types of files, which together provide +full list of types, values and functions that ODP implemention MUST provide. + +ODP API specif

Re: [lng-odp] DDF discussions taking time

2017-10-27 Thread Bill Fischofer
ODP 2.0 assumes Linux system services are available so the question of how to operate in bare metal environments is a separate one and up to those ODP implementations. Again the application will provide a sufficiently-qualified device name string to identify which device it wants to open in an unam

Re: [lng-odp] Relation between Enumerator class and Enumerator

2017-10-27 Thread Honnappa Nagarahalli
We have to support both types of drivers as of now: 1) Legacy all user space drivers - In this case, what Jianbo says is correct. 2) net-mdev drivers. So, DDF has to support both the use cases. Thank you, Honnappa On 27 October 2017 at 04:47, Francois Ozog wrote: > In the case of netmdev the

Re: [lng-odp] Relation between Enumerator class and Enumerator

2017-10-27 Thread Maxim Uvarov
On 10/27/17 17:56, Honnappa Nagarahalli wrote: > We have to support both types of drivers as of now: > > 1) Legacy all user space drivers - In this case, what Jianbo says is correct. > 2) net-mdev drivers. > > So, DDF has to support both the use cases. > > Thank you, > Honnappa > Generic net-m

Re: [lng-odp] Relation between Enumerator class and Enumerator

2017-10-27 Thread Francois Ozog
Le ven. 27 oct. 2017 à 17:00, Maxim Uvarov a écrit : > On 10/27/17 17:56, Honnappa Nagarahalli wrote: > > We have to support both types of drivers as of now: > > > > 1) Legacy all user space drivers - In this case, what Jianbo says is > correct. > > 2) net-mdev drivers. > > > > So, DDF has to sup

Re: [lng-odp] DDF discussions taking time

2017-10-27 Thread Honnappa Nagarahalli
On 27 October 2017 at 09:50, Bill Fischofer wrote: > ODP 2.0 assumes Linux system services are available so the question of how > to operate in bare metal environments is a separate one and up to those ODP > implementations. Again the application will provide a > sufficiently-qualified device nam

Re: [lng-odp] DDF discussions taking time

2017-10-27 Thread Bill Fischofer
The problem with scanning, especially in a VNF environment, is that (a) the application probably isn't authorized to to that and (b) the application certainly doesn't have real visibility into what the actual device topology is. It only knows what it "needs to know" (as determined by higher-level f

Re: [lng-odp] DDF discussions taking time

2017-10-27 Thread Honnappa Nagarahalli
On 27 October 2017 at 02:36, Francois Ozog wrote: > Well, we do not need to scan all the platform because the pktio_open > contains enough information to target the right device. > This is almost true as we need to have an additional "selector" for the > port on multiport NICs that are controlled

Re: [lng-odp] DDF discussions taking time

2017-10-27 Thread Francois Ozog
Le ven. 27 oct. 2017 à 17:17, Bill Fischofer a écrit : > The problem with scanning, especially in a VNF environment, is that (a) > the application probably isn't authorized to to that > nothing prevents scanning what is available for n the vm. "Scale up" Events are triggered when increasing reso

Re: [lng-odp] DDF discussions taking time

2017-10-27 Thread Francois Ozog
Le ven. 27 oct. 2017 à 17:31, Honnappa Nagarahalli < honnappa.nagaraha...@linaro.org> a écrit : > On 27 October 2017 at 02:36, Francois Ozog > wrote: > >> Well, we do not need to scan all the platform because the pktio_open >> contains enough information to target the right device. >> This is alm

Re: [lng-odp] [PATCH API-NEXT v1] api: packet: print data

2017-10-27 Thread Github ODP bot
muvarov replied on github web page: platform/linux-generic/odp_packet.c line 23 @@ -1739,9 +1739,68 @@ void odp_packet_print(odp_packet_t pkt) seg = odp_packet_next_seg(pkt, seg); } - str[len] = '\0'; + ODP_PRINT("%s\n", str); +} + +void odp_packet_print_data(

Re: [lng-odp] DDF discussions taking time

2017-10-27 Thread Bill Fischofer
On Fri, Oct 27, 2017 at 10:45 AM, Francois Ozog wrote: > > Le ven. 27 oct. 2017 à 17:17, Bill Fischofer > a écrit : > >> The problem with scanning, especially in a VNF environment, is that (a) >> the application probably isn't authorized to to that >> > > nothing prevents scanning what is availa

[lng-odp] [Linaro/odp] c04eff: api: packet: print packet data

2017-10-27 Thread GitHub
Branch: refs/heads/api-next Home: https://github.com/Linaro/odp Commit: c04eff910a7b18f47365f90fadb6133474e9cae5 https://github.com/Linaro/odp/commit/c04eff910a7b18f47365f90fadb6133474e9cae5 Author: Petri Savolainen Date: 2017-10-27 (Fri, 27 Oct 2017) Changed paths: M i

[lng-odp] [Linaro/odp] 8d22e0: doc: userguide: add section on api specification p...

2017-10-27 Thread GitHub
Branch: refs/heads/next Home: https://github.com/Linaro/odp Commit: 8d22e0e2013596403ae6a35457cdf30b0a0c559b https://github.com/Linaro/odp/commit/8d22e0e2013596403ae6a35457cdf30b0a0c559b Author: Bill Fischofer Date: 2017-10-26 (Thu, 26 Oct 2017) Changed paths: M doc/use

[lng-odp] [Linaro/odp] fa9533: abi: event: add ODP_EVENT_IPSEC_RESULT

2017-10-27 Thread GitHub
Branch: refs/heads/next Home: https://github.com/Linaro/odp Commit: fa9533ede03e40f0455c6d889997042f32235fc1 https://github.com/Linaro/odp/commit/fa9533ede03e40f0455c6d889997042f32235fc1 Author: Petri Savolainen Date: 2017-10-27 (Fri, 27 Oct 2017) Changed paths: M inclu

[lng-odp] [Linaro/odp] 0841ed: test: odp_pktio_ordered: add queue size

2017-10-27 Thread GitHub
Branch: refs/heads/next Home: https://github.com/Linaro/odp Commit: 0841edfc364b39fce8c1ed1cdbddecde1d98b42e https://github.com/Linaro/odp/commit/0841edfc364b39fce8c1ed1cdbddecde1d98b42e Author: Brian Brooks Date: 2017-10-27 (Fri, 27 Oct 2017) Changed paths: M test/perf

[lng-odp] [Linaro/odp] 86b8f3: api: system_info: add function for fetching all su...

2017-10-27 Thread GitHub
Branch: refs/heads/next Home: https://github.com/Linaro/odp Commit: 86b8f3d4371b3fd0ec09091b404b829f2e97730d https://github.com/Linaro/odp/commit/86b8f3d4371b3fd0ec09091b404b829f2e97730d Author: Matias Elo Date: 2017-10-27 (Fri, 27 Oct 2017) Changed paths: M include/odp

[lng-odp] [Linaro/odp] 4c1190: api: packetio: deprecate redundant loop_supported ...

2017-10-27 Thread GitHub
Branch: refs/heads/next Home: https://github.com/Linaro/odp Commit: 4c1190787a1d48147cbfe7e20c8b31b0b05c94f3 https://github.com/Linaro/odp/commit/4c1190787a1d48147cbfe7e20c8b31b0b05c94f3 Author: Balasubramanian Manoharan Date: 2017-10-27 (Fri, 27 Oct 2017) Changed paths:

[lng-odp] [Linaro/odp] 79b1cc: shippable: add libconfig and libnuma

2017-10-27 Thread GitHub
Branch: refs/heads/next Home: https://github.com/Linaro/odp Commit: 79b1cc361a7e1eb1098d006e0b70c903460d32c7 https://github.com/Linaro/odp/commit/79b1cc361a7e1eb1098d006e0b70c903460d32c7 Author: Maxim Uvarov Date: 2017-10-27 (Fri, 27 Oct 2017) Changed paths: M scripts/D

[lng-odp] [Linaro/odp] f46575: api: fixing typos

2017-10-27 Thread GitHub
Branch: refs/heads/next Home: https://github.com/Linaro/odp Commit: f4657562b7c2b23e64aaba234820cbe50c2422ec https://github.com/Linaro/odp/commit/f4657562b7c2b23e64aaba234820cbe50c2422ec Author: Mykyta Iziumtsev Date: 2017-10-27 (Fri, 27 Oct 2017) Changed paths: M inclu

Re: [lng-odp] API-next branch

2017-10-27 Thread Dmitry Eremin-Solenikov
On 26/10/17 09:57, Savolainen, Petri (Nokia - FI/Espoo) wrote: > We need one branch that holds all new API changes before those are released > (> 4 months currently): either it's master or api-next. If we change API > development to master, then applications would need follow the latest release

Re: [lng-odp] DDF discussions taking time

2017-10-27 Thread Francois Ozog
Le ven. 27 oct. 2017 à 20:35, Bill Fischofer a écrit : > On Fri, Oct 27, 2017 at 10:45 AM, Francois Ozog > wrote: > >> >> Le ven. 27 oct. 2017 à 17:17, Bill Fischofer >> a écrit : >> >>> The problem with scanning, especially in a VNF environment, is that (a) >>> the application probably isn't a

Re: [lng-odp] DDF discussions taking time

2017-10-27 Thread Honnappa Nagarahalli
On 27 October 2017 at 13:35, Bill Fischofer wrote: > > > On Fri, Oct 27, 2017 at 10:45 AM, Francois Ozog > wrote: > >> >> Le ven. 27 oct. 2017 à 17:17, Bill Fischofer >> a écrit : >> >>> The problem with scanning, especially in a VNF environment, is that (a) >>> the application probably isn't a

Re: [lng-odp] DDF discussions taking time

2017-10-27 Thread Francois Ozog
Le ven. 27 oct. 2017 à 23:05, Honnappa Nagarahalli < honnappa.nagaraha...@linaro.org> a écrit : > On 27 October 2017 at 13:35, Bill Fischofer > wrote: > >> >> >> On Fri, Oct 27, 2017 at 10:45 AM, Francois Ozog > > wrote: >> >>> >>> Le ven. 27 oct. 2017 à 17:17, Bill Fischofer >>> a écrit : >>> >

Re: [lng-odp] DDF discussions taking time

2017-10-27 Thread Bill Fischofer
On Fri, Oct 27, 2017 at 4:24 PM, Francois Ozog wrote: > > Le ven. 27 oct. 2017 à 23:05, Honnappa Nagarahalli < > honnappa.nagaraha...@linaro.org> a écrit : > >> On 27 October 2017 at 13:35, Bill Fischofer >> wrote: >> >>> >>> >>> On Fri, Oct 27, 2017 at 10:45 AM, Francois Ozog < >>> francois.o..

Re: [lng-odp] DDF discussions taking time

2017-10-27 Thread Francois Ozog
Le ven. 27 oct. 2017 à 23:51, Bill Fischofer a écrit : > On Fri, Oct 27, 2017 at 4:24 PM, Francois Ozog > wrote: > >> >> Le ven. 27 oct. 2017 à 23:05, Honnappa Nagarahalli < >> honnappa.nagaraha...@linaro.org> a écrit : >> >>> On 27 October 2017 at 13:35, Bill Fischofer >>> wrote: >>>

Re: [lng-odp] DDF discussions taking time

2017-10-27 Thread Bill Fischofer
On Fri, Oct 27, 2017 at 3:43 PM, Francois Ozog wrote: > > Le ven. 27 oct. 2017 à 20:35, Bill Fischofer > a écrit : > >> On Fri, Oct 27, 2017 at 10:45 AM, Francois Ozog > > wrote: >> >>> >>> Le ven. 27 oct. 2017 à 17:17, Bill Fischofer >>> a écrit : >>> The problem with scanning, especially

Re: [lng-odp] DDF discussions taking time

2017-10-27 Thread Francois Ozog
Le ven. 27 oct. 2017 à 23:54, Francois Ozog a écrit : > Le ven. 27 oct. 2017 à 23:51, Bill Fischofer > a écrit : > >> On Fri, Oct 27, 2017 at 4:24 PM, Francois Ozog >> wrote: >> >>> >>> Le ven. 27 oct. 2017 à 23:05, Honnappa Nagarahalli < >>> honnappa.nagaraha...@linaro.org> a écrit : >>>

Re: [lng-odp] DDF discussions taking time

2017-10-27 Thread Bill Fischofer
On Fri, Oct 27, 2017 at 4:54 PM, Francois Ozog wrote: > > Le ven. 27 oct. 2017 à 23:51, Bill Fischofer > a écrit : > >> On Fri, Oct 27, 2017 at 4:24 PM, Francois Ozog >> wrote: >> >>> >>> Le ven. 27 oct. 2017 à 23:05, Honnappa Nagarahalli < >>> honnappa.nagaraha...@linaro.org> a écrit : >>> >>>