Re: [lng-odp] [API-NEXT PATCH] api: system_info: add function for fetching all supported huge page sizes

2017-06-05 Thread Elo, Matias (Nokia - FI/Espoo)
> On 2 Jun 2017, at 16:48, Maxim Uvarov wrote: > > On 06/02/17 12:44, Elo, Matias (Nokia - FI/Espoo) wrote: /** + * System huge page sizes in bytes + * + * Returns the number of huge page sizes supported by the system. Outputs up to + * 'num' sizes when the '

Re: [lng-odp] [NEXT PATCH] changelog: updates for odp v1.15.0.0

2017-06-05 Thread Dmitry Eremin-Solenikov
On 05.06.2017 02:45, Bill Fischofer wrote: > On Sun, Jun 4, 2017 at 6:17 PM, Dmitry Eremin-Solenikov > wrote: >> On 04.06.2017 22:18, Bill Fischofer wrote: >>> Signed-off-by: Bill Fischofer >>> --- >>> CHANGELOG | 266 >>> ++ >>> 1 fil

Re: [lng-odp] [API-NEXT PATCH v6 3/6] Add arch/ files

2017-06-05 Thread Savolainen, Petri (Nokia - FI/Espoo)
> -Original Message- > From: Honnappa Nagarahalli [mailto:honnappa.nagaraha...@linaro.org] > Sent: Saturday, June 03, 2017 7:23 AM > To: Savolainen, Petri (Nokia - FI/Espoo) > Cc: Brian Brooks ; lng-odp@lists.linaro.org; Ola > Liljedahl > Subject: Re: [lng-odp] [API-NEXT PATCH v6 3/6] A

[lng-odp] [RFC] api: pool: add threshold limit to the pool

2017-06-05 Thread Balasubramanian Manoharan
Adds threshold limit of the pool to the pool parameters. This threshold limit is a percentage of total size of the pool. Signed-off-by: Balasubramanian Manoharan --- include/odp/api/spec/pool.h | 32 1 file changed, 32 insertions(+) diff --git a/include/odp/api/

Re: [lng-odp] [PATCH v1 0/9] Rework the way ODP links with other libraries

2017-06-05 Thread Elo, Matias (Nokia - FI/Espoo)
Hi, It seems that after this patch set the dpdk pmd drivers are not properly linked anymore. The build succeeds without errors but at runtime no dpdk devices are found. -Matias > On 2 Jun 2017, at 16:59, Github ODP bot wrote: > > Currently configure tests add all libraries to AM_LDFLAGS or

Re: [lng-odp] [RFC] api: pool: add threshold limit to the pool

2017-06-05 Thread Stanislaw Kardach
Best Regards, Stanislaw Kardach On 06/05/2017 02:27 PM, Balasubramanian Manoharan wrote: > Adds threshold limit of the pool to the pool parameters. > This threshold limit is a percentage of total size of the pool. > > Signed-off-by: Balasubramanian Manoharan > --- > include/odp/api/spec/pool.

Re: [lng-odp] [RFC] api: pool: add threshold limit to the pool

2017-06-05 Thread Bill Fischofer
On Mon, Jun 5, 2017 at 7:32 AM, Stanislaw Kardach wrote: > > > Best Regards, > Stanislaw Kardach > > On 06/05/2017 02:27 PM, Balasubramanian Manoharan wrote: >> Adds threshold limit of the pool to the pool parameters. >> This threshold limit is a percentage of total size of the pool. >> >> Signed-

Re: [lng-odp] [PATCH v1 0/9] Rework the way ODP links with other libraries

2017-06-05 Thread Dmitry Eremin-Solenikov
On 05.06.2017 15:27, Elo, Matias (Nokia - FI/Espoo) wrote: > Hi, > > It seems that after this patch set the dpdk pmd drivers are not properly > linked anymore. The build succeeds without errors but at runtime no dpdk > devices are found. Which example/test fails? I tried my best to test linking

Re: [lng-odp] [PATCH v1 0/9] Rework the way ODP links with other libraries

2017-06-05 Thread Elo, Matias (Nokia - FI/Espoo)
> On 5 Jun 2017, at 16:04, Dmitry Eremin-Solenikov > wrote: > > On 05.06.2017 15:27, Elo, Matias (Nokia - FI/Espoo) wrote: >> Hi, >> >> It seems that after this patch set the dpdk pmd drivers are not properly >> linked anymore. The build succeeds without errors but at runtime no dpdk >> devi

Re: [lng-odp] [PATCH v1 0/9] Rework the way ODP links with other libraries

2017-06-05 Thread Dmitry Eremin-Solenikov
On 05.06.2017 16:06, Elo, Matias (Nokia - FI/Espoo) wrote: > >> On 5 Jun 2017, at 16:04, Dmitry Eremin-Solenikov >> wrote: >> >> On 05.06.2017 15:27, Elo, Matias (Nokia - FI/Espoo) wrote: >>> Hi, >>> >>> It seems that after this patch set the dpdk pmd drivers are not properly >>> linked anymore

Re: [lng-odp] [RFC] api: pool: add threshold limit to the pool

2017-06-05 Thread Stanislaw Kardach
Best Regards, Stanislaw Kardach On 06/05/2017 02:54 PM, Bill Fischofer wrote: > On Mon, Jun 5, 2017 at 7:32 AM, Stanislaw Kardach wrote: >> >> >> Best Regards, >> Stanislaw Kardach >> >> On 06/05/2017 02:27 PM, Balasubramanian Manoharan wrote: >>> Adds threshold limit of the pool to the pool pa

Re: [lng-odp] [NEXT PATCH] changelog: updates for odp v1.15.0.0

2017-06-05 Thread Dmitry Eremin-Solenikov
On 04.06.2017 22:18, Bill Fischofer wrote: > Signed-off-by: Bill Fischofer > --- > CHANGELOG | 266 > ++ > 1 file changed, 266 insertions(+) > > diff --git a/CHANGELOG b/CHANGELOG > index a550a723..bdb5ca49 100644 [skipped] > +=

Re: [lng-odp] [RFC] api: pool: add threshold limit to the pool

2017-06-05 Thread Bala Manoharan
Regards, Bala On 5 June 2017 at 18:02, Stanislaw Kardach wrote: > > > Best Regards, > Stanislaw Kardach > > On 06/05/2017 02:27 PM, Balasubramanian Manoharan wrote: >> Adds threshold limit of the pool to the pool parameters. >> This threshold limit is a percentage of total size of the pool. >> >

Re: [lng-odp] [RFC] api: pool: add threshold limit to the pool

2017-06-05 Thread Bala Manoharan
Regards, Bala On 5 June 2017 at 18:42, Stanislaw Kardach wrote: > > > Best Regards, > Stanislaw Kardach > > On 06/05/2017 02:54 PM, Bill Fischofer wrote: >> On Mon, Jun 5, 2017 at 7:32 AM, Stanislaw Kardach wrote: >>> >>> >>> Best Regards, >>> Stanislaw Kardach >>> >>> On 06/05/2017 02:27 PM, B

Re: [lng-odp] [PATCH v1 0/9] Rework the way ODP links with other libraries

2017-06-05 Thread Elo, Matias (Nokia - FI/Espoo)
> On 5 Jun 2017, at 16:11, Dmitry Eremin-Solenikov > wrote: > > $ nm test/common_plat/performance/odp_l2fwd | grep vdrv > 001e7fd0 T rte_eal_vdrv_register > 001e8000 T rte_eal_vdrv_unregister > 0001bfe0 t vdrvinitfn_cryptodev_null_pmd_drv > 0001bcf0 t vdrvinitfn_

Re: [lng-odp] [RFC] api: pool: add threshold limit to the pool

2017-06-05 Thread Bala Manoharan
Regards, Bala On 5 June 2017 at 18:24, Bill Fischofer wrote: > On Mon, Jun 5, 2017 at 7:32 AM, Stanislaw Kardach wrote: >> >> >> Best Regards, >> Stanislaw Kardach >> >> On 06/05/2017 02:27 PM, Balasubramanian Manoharan wrote: >>> Adds threshold limit of the pool to the pool parameters. >>> Thi

[lng-odp] [NEXT PATCHv3] changelog: updates for odp v1.15.0.0

2017-06-05 Thread Bill Fischofer
Signed-off-by: Bill Fischofer --- CHANGELOG | 264 ++ 1 file changed, 264 insertions(+) diff --git a/CHANGELOG b/CHANGELOG index a550a723..4a7759e2 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,267 @@ +== OpenDataPlane (1.15.0.0) +=

Re: [lng-odp] [NEXT PATCH] changelog: updates for odp v1.15.0.0

2017-06-05 Thread Bill Fischofer
On Mon, Jun 5, 2017 at 8:12 AM, Dmitry Eremin-Solenikov wrote: > On 04.06.2017 22:18, Bill Fischofer wrote: >> Signed-off-by: Bill Fischofer >> --- >> CHANGELOG | 266 >> ++ >> 1 file changed, 266 insertions(+) >> >> diff --git a/CHANG

Re: [lng-odp] [RFC] api: pool: add threshold limit to the pool

2017-06-05 Thread Bill Fischofer
On Mon, Jun 5, 2017 at 8:24 AM, Bala Manoharan wrote: > Regards, > Bala > > > On 5 June 2017 at 18:24, Bill Fischofer wrote: >> On Mon, Jun 5, 2017 at 7:32 AM, Stanislaw Kardach wrote: >>> >>> >>> Best Regards, >>> Stanislaw Kardach >>> >>> On 06/05/2017 02:27 PM, Balasubramanian Manoharan wrote

Re: [lng-odp] [RFC] api: pool: add threshold limit to the pool

2017-06-05 Thread Bala Manoharan
Regards, Bala On 5 June 2017 at 21:52, Bill Fischofer wrote: > On Mon, Jun 5, 2017 at 8:24 AM, Bala Manoharan > wrote: >> Regards, >> Bala >> >> >> On 5 June 2017 at 18:24, Bill Fischofer wrote: >>> On Mon, Jun 5, 2017 at 7:32 AM, Stanislaw Kardach wrote: Best Regards, Sta

Re: [lng-odp] [PATCH] Fixes for GCC 7

2017-06-05 Thread Brian Brooks
On 06/02 23:27:08, Maxim Uvarov wrote: > On 06/02/17 18:36, Brian Brooks wrote: > > On 06/02 15:07:48, Maxim Uvarov wrote: > >> I think this patch has to be spit on several patches. Having patch which > >> correct unrelated things is strange and make it hard to merge/cherry-pick. > > > > They are

Re: [lng-odp] [PATCH] Fixes for GCC 7

2017-06-05 Thread Brian Brooks
On 06/02 20:09:54, Dmitry Eremin-Solenikov wrote: > On 02.06.2017 18:34, Brian Brooks wrote: > > On 06/02 10:39:18, Dmitry Eremin-Solenikov wrote: > >> On 01.06.2017 22:05, Brian Brooks wrote: > >>> Signed-off-by: Brian Brooks > >>> Reviewed-by: Ola Liljedahl > >>> Reviewed-by: Honnappa Nagarahal

Re: [lng-odp] [PATCH] Fixes for GCC 7

2017-06-05 Thread Brian Brooks
On 06/02 20:34:21, Dmitry Eremin-Solenikov wrote: > Or just > > AC_LINK_IFELSE([AC_LANG_CALL([], [your_atomic_func])], [ATOMIC_LIBS=""], >[AC_CHECK_LIB([atomic], [your_atomic_func], [ATOMIC_LIBS="-latomic"], > [AC_MSG_FAILURE([your_atomic_func is not available])])]) > AC_SUBST([ATOMIC_LI

[lng-odp] [PATCH v3 2/2] pktio: GCC 7 fixes

2017-06-05 Thread Brian Brooks
The GCC 7 series introduces changes that expose ODP compilation issues. These include case statement fall through warnings, and stricter checks on potential string overflows and other semantic analysis. Fixes: https://bugs.linaro.org/show_bug.cgi?id=3027 Signed-off-by: Brian Brooks --- test/com

[lng-odp] [PATCH v3 0/2] GCC 7 fixes

2017-06-05 Thread Brian Brooks
The GCC 7 series introduces changes that expose ODP compilation issues. These include case statement fall through warnings, and stricter checks on potential string overflows and other semantic analysis. Fixes: https://bugs.linaro.org/show_bug.cgi?id=3027 Brian Brooks (2): build: GCC 7 fixes p

[lng-odp] [PATCH v3 1/2] build: GCC 7 fixes

2017-06-05 Thread Brian Brooks
The GCC 7 series introduces changes that expose ODP compilation issues. These include case statement fall through warnings, and stricter checks on potential string overflows and other semantic analysis. Fixes: https://bugs.linaro.org/show_bug.cgi?id=3027 Signed-off-by: Brian Brooks Reviewed-by:

Re: [lng-odp] [PATCH v3 0/2] GCC 7 fixes

2017-06-05 Thread Bill Fischofer
After installing a copy of GCC 7, It looks like this patch is an incomplete fix. With this patch applied older GCC 6.3.0 continues to work fine, but GCC 7.0.1 generates the following errors: Making all in platform/linux-generic make[1]: Entering directory '/home/bill/linaro/gcc7fix/platform/linux-

Re: [lng-odp] [API-NEXT PATCH v2 0/2] IPsec API update

2017-06-05 Thread Bill Fischofer
For v2: Reviewed-by: Bill Fischofer On Fri, Jun 2, 2017 at 4:38 AM, Petri Savolainen wrote: > Bill has reviewed v1. > > v2 > * rebase > * removed "api: ipsec: add capability for max packets per result event" from > the set while we decide if result event are changed to packets > * updated max

Re: [lng-odp] [PATCH v3 0/2] GCC 7 fixes

2017-06-05 Thread Brian Brooks
On 06/05 18:40:02, Bill Fischofer wrote: > After installing a copy of GCC 7, It looks like this patch is an > incomplete fix. With this patch applied older GCC 6.3.0 continues to > work fine, but GCC 7.0.1 generates the following errors: > > Making all in platform/linux-generic > make[1]: Entering

Re: [lng-odp] [NEXT PATCHv3] changelog: updates for odp v1.15.0.0

2017-06-05 Thread Yi He
Hi, Bill, two minor issues as below. On 6 June 2017 at 00:12, Bill Fischofer wrote: > Signed-off-by: Bill Fischofer > --- > CHANGELOG | 264 ++ > > 1 file changed, 264 insertions(+) > > diff --git a/CHANGELOG b/CHANGELOG > index a550

[lng-odp] [API-NEXT PATCH] api: crypto: correct documentation typos

2017-06-05 Thread Bill Fischofer
Correct odp_crypto_auth_capa() to odp_crypto_auth_capability() in several places in the spec doxygen. Signed-off-by: Bill Fischofer --- include/odp/api/spec/crypto.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/odp/api/spec/crypto.h b/include/odp/api/spec/cry

Re: [lng-odp] [API-NEXT PATCH] api: crypto: correct documentation typos

2017-06-05 Thread Yi He
Reviewed-by: Yi He On 6 June 2017 at 11:22, Bill Fischofer wrote: > Correct odp_crypto_auth_capa() to odp_crypto_auth_capability() in > several places in the spec doxygen. > > Signed-off-by: Bill Fischofer > --- > include/odp/api/spec/crypto.h | 6 +++--- > 1 file changed, 3 insertions(+), 3

[lng-odp] [NEXT PATCHv4] changelog: updates for odp v1.15.0.0

2017-06-05 Thread Bill Fischofer
Signed-off-by: Bill Fischofer --- CHANGELOG | 264 ++ 1 file changed, 264 insertions(+) diff --git a/CHANGELOG b/CHANGELOG index a550a723..e9443053 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,267 @@ +== OpenDataPlane (1.15.0.0) +=

Re: [lng-odp] [NEXT PATCHv3] changelog: updates for odp v1.15.0.0

2017-06-05 Thread Bill Fischofer
Thanks. Corrected in v4. It turns out that this same typo exists in a couple of places in the spec crypto.h file so I've posted a patch to correct that too. On Mon, Jun 5, 2017 at 9:56 PM, Yi He wrote: > Hi, Bill, two minor issues as below. > > On 6 June 2017 at 00:12, Bill Fischofer wrote: >> >

Re: [lng-odp] [PATCH v3 0/2] GCC 7 fixes

2017-06-05 Thread Bill Fischofer
On Mon, Jun 5, 2017 at 9:32 PM, Brian Brooks wrote: > On 06/05 18:40:02, Bill Fischofer wrote: >> After installing a copy of GCC 7, It looks like this patch is an >> incomplete fix. With this patch applied older GCC 6.3.0 continues to >> work fine, but GCC 7.0.1 generates the following errors: >>

Re: [lng-odp] [PATCH v3 0/2] GCC 7 fixes

2017-06-05 Thread Brian Brooks
On 06/05 22:29:22, Bill Fischofer wrote: > On Mon, Jun 5, 2017 at 9:32 PM, Brian Brooks wrote: > > On 06/05 18:40:02, Bill Fischofer wrote: > >> After installing a copy of GCC 7, It looks like this patch is an > >> incomplete fix. With this patch applied older GCC 6.3.0 continues to > >> work fine

Re: [lng-odp] [RFC, API-NEXT v3 1/1] comp: compression interface

2017-06-05 Thread shally verma
Do we have any more comments on same? Petri Could you get time to review feedback? Can we consider v3 as accepted? Thanks Shally On Thu, Jun 1, 2017 at 10:05 PM, shally verma wrote: > Re-sending with updated comments. > > Regards > Shally > > On Thu, Jun 1, 2017 at 7:58 PM, Verma, Shally > w

Re: [lng-odp] [PATCH v1 0/9] Rework the way ODP links with other libraries

2017-06-05 Thread Elo, Matias (Nokia - FI/Espoo)
The m4 branch works without problems, thanks! -Matias > On 5 Jun 2017, at 17:03, Dmitry Eremin-Solenikov > wrote: > > On 05.06.2017 17:00, Elo, Matias (Nokia - FI/Espoo) wrote: >> I already left the office but I'll test it first thing in the morning. > > Thank you! > >> >> -Matias >> >>>