From d1433e17eda246d24b61cadae88b339f5a0226ba Mon Sep 17 00:00:00 2001 From: Matias Elo Date: Tue, 11 Apr 2023 09:12:55 +0300 Subject: api: increment ODP API version to 1.41.0 Increment API version number to reflect the following changes: Backward incompatible: - cls: require that PMRs must be destroyed before the CoS they refer to is destroyed - crypto: deprecate the old session creation error names (ODP_CRYPTO_SES_CREATE_ERR_NONE, ODP_CRYPTO_SES_CREATE_ERR_ENOMEM, ODP_CRYPTO_SES_CREATE_ERR_INV_CIPHER, ODP_CRYPTO_SES_CREATE_ERR_INV_AUTH) - crypto: change return value of odp_crypto_result() to indicate crypto operation success/failure - crypto: deprecate odp_crypto_packet_result_t.ok field - crypto: specify that the status fields of odp_crypto_packet_result_t are valid only when the operation failed - crypto: deprecate odp_crypto_hw_err_t type and odp_crypto_op_status_t.hw_err field - crypto: deprecate ODP_CRYPTO_ALG_ERR_KEY_SIZE and ODP_CRYPTO_ALG_ERR_IV_INVALID error codes - crypto: require that cipher range and auth range have zero offset and zero length when used with null cipher and null auth algorithm, respectively, with the out-of-place operation type - errno: remove mention about errno values specified in the API spec - pktio: remove legacy reference to errno from odp_pktio_open() function - stash: remove special meaning of odp_stash_capability_t.max_num_obj value zero - timer: remove legacy references to errno from odp_timer_pool_create() and odp_timer_alloc() functions Backward compatible: - cls: clarify that the CoS to be destroyed with odp_cos_destroy() must not be in use - cls: clarify that odp_cos_queue() returns ODP_QUEUE_INVALID if the queue is not set - cls: allow CoS pool (odp_cls_cos_param_t.pool) to be set to ODP_POOL_INVALID - cls: clarify when CoS queue may and may not be invalid - crypto: change IV and AAD pointers to pointers to constants - crypto: clarify that algorithm order is ignored with null algorithms - crypto: clarify when cipher and auth ranges are ignored - crypto: allow the result pointer for odp_crypto_result() to be null - crypto: clarify the description of ODP_CRYPTO_ALG_ERR_DATA_SIZE - crypto: add a new crypto operation error ODP_CRYPTO_ALG_ERR_OTHER - crypto: clarify that null cipher and auth algorithms ignore key length, IV length, digest length, etc. session parameters - crypto: clarify that crypto operations do not affect parse flags in packet metadata and thus odp_packet_has_error() cannot be used for checking operation result - pktio: allow the default CoS to be removed by passing ODP_COS_INVALID to odp_pktio_default_cos_set() - pool: clarify that the pool to be destroyed with odp_pool_destroy() must not be in use - pool: clarify that odp_pool_capability_t.max_pools is used for all pool types defined in odp_pool_type_t - stash: add new stash create parameter odp_stash_param_t.strict_size for performance optimization and remove the total object count limitation from stash put functions - stash: add new capabilities for maximum number of object handles per stash for each object size (odp_stash_capability_t.max_num) - timer: clarify that zero odp_timer_periodic_start_t.first_tick means that the first expiration time is one period after the current time, not at the current time Removed deprecated APIs: - crypto: odp_crypto_compl_t crypto completion event - crypto: odp_crypto_op_param_t type - crypto: odp_crypto_op_result_t type - crypto: odp_crypto_session_param_t.pref_mode field - crypto: odp_crypto_compl_from_event() function - crypto: odp_crypto_compl_to_event() function - crypto: odp_crypto_compl_free() function - crypto: odp_crypto_operation() function - crypto: odp_crypto_compl_result() function - crypto: odp_crypto_compl_to_u64() function - event: ODP_EVENT_CRYPTO_COMPL event type Signed-off-by: Matias Elo Reviewed-by: Petri Savolainen --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index d496438a8..576001acd 100644 --- a/configure.ac +++ b/configure.ac @@ -3,7 +3,7 @@ AC_PREREQ([2.5]) # ODP API version ########################################################################## m4_define([odp_version_generation], [1]) -m4_define([odp_version_major], [40]) +m4_define([odp_version_major], [41]) m4_define([odp_version_minor], [0]) m4_define([odp_version_patch], [0]) -- cgit v1.2.3