Re: [lng-odp] [API-NEXT 1/3] api: hints: rework ODP_DEPRECATED API

2017-03-07 Thread Dmitry Eremin-Solenikov
On 07.03.2017 14:52, Dmitry Eremin-Solenikov wrote: > diff --git a/include/odp/api/spec/hints.h b/include/odp/api/spec/hints.h > index 82400f07..3b70db6f 100644 > --- a/include/odp/api/spec/hints.h > +++ b/include/odp/api/spec/hints.h > @@ -54,7 +54,20 @@ extern "C" { > /** > * Indicate

[lng-odp] [API-NEXT 2/3] api: crypto: use ODP_DEPRECATED{, _FIELD} declarations

2017-03-07 Thread Dmitry Eremin-Solenikov
Add ODP_DEPRECATED and ODP_DEPRECATED_FIELD declarations to crypto API header, actually urging applications to switch to newer API. Signed-off-by: Dmitry Eremin-Solenikov --- include/odp/api/spec/crypto.h | 26 ++ 1 file changed, 14

[lng-odp] [API-NEXT 3/3] test: crypto: remove references to deprecated crypto apis

2017-03-07 Thread Dmitry Eremin-Solenikov
From: Petri Savolainen Remove last remaining references to deprecated API definitions. Signed-off-by: Petri Savolainen --- example/ipsec/odp_ipsec_misc.h| 4 ++-- example/ipsec/odp_ipsec_sa_db.c | 4 ++--

[lng-odp] [API-NEXT 1/3] api: hints: rework ODP_DEPRECATED API

2017-03-07 Thread Dmitry Eremin-Solenikov
The ODP_DEPRECATED macro uses the deprecated attribute which works only for types and functions, but not e.g. for fields of structure. So let's add ODP_DEPRECATED_FIELD macro suitable for fields, variables and enum values. Also make ODP_DEPRECATED{,_FIELD} macros to be a no-op if

[lng-odp] [API-NEXT 0/3] deprecated hints proposal

2017-03-07 Thread Dmitry Eremin-Solenikov
As promised, here comes a reworked deprecated API proposal. Main differences from Petri's proposal: - No configure-time switches. ODP and helper libraries are ABI-compatible with both kinds applications: using deprecated API and disabling them; - Simple compile time switch to enable use of

Re: [lng-odp] [API-NEXT 0/3] deprecated hints proposal

2017-03-07 Thread Dmitry Eremin-Solenikov
On 07.03.2017 14:47, Dmitry Eremin-Solenikov wrote: > As promised, here comes a reworked deprecated API proposal. Main differences > from Petri's proposal: > > - No configure-time switches. ODP and helper libraries are ABI-compatible with > both kinds applications: using deprecated API and

[lng-odp] [API-NEXT 3/3] test: crypto: remove references to deprecated crypto apis

2017-03-07 Thread Dmitry Eremin-Solenikov
From: Petri Savolainen Remove last remaining references to deprecated API definitions. Signed-off-by: Petri Savolainen --- example/ipsec/odp_ipsec_misc.h| 4 ++-- example/ipsec/odp_ipsec_sa_db.c | 4 ++--

[lng-odp] [API-NEXT 1/3] api: hints: rework ODP_DEPRECATED API

2017-03-07 Thread Dmitry Eremin-Solenikov
From: Dmitry Eremin-Solenikov The ODP_DEPRECATED macro uses the deprecated attribute which works only for types and functions, but not e.g. for fields of structure. So let's add ODP_DEPRECATED_FIELD macro suitable for fields, variables and enum values. Also make

[lng-odp] [API-NEXT 0/3] deprecated hints proposal

2017-03-07 Thread Dmitry Eremin-Solenikov
As promised, here comes a reworked deprecated API proposal. Main differences from Petri's proposal: - No configure-time switches. ODP and helper libraries are ABI-compatible with both kinds applications: using deprecated API and disabling them; - Simple compile time switch to enable use of

[lng-odp] [PATCH] linux-gen: abi: fix include/odp/api/abi symlink creation

2017-03-07 Thread Janne Peltonen
Fix the ABI symlink creation that went broken in 3d6cbd2. Signed-off-by: Janne Peltonen --- platform/linux-generic/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/linux-generic/Makefile.am b/platform/linux-generic/Makefile.am