This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "".
The branch, master has been updated
via 29dde30264da8106d64328b0d81eb19dad0065ac (commit)
from 92ae191876c39a3f5d4fba63e58dd9e8c444239b (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 29dde30264da8106d64328b0d81eb19dad0065ac
Author: Stanislaw Kardach <kda(a)semihalf.com>
Date: Wed Dec 28 16:12:52 2016 +0100
helper: do not break odp_term_global protocol
As per API documentation, odp_term_global() should be a final ODP call
when terminating the ODP application in a controlled way. Therefore ODP
threads or sub-processes created using ODP helper API should not call
this function but leave it to the main application thread/process.
Signed-off-by: Stanislaw Kardach <kda(a)semihalf.com>
Reviewed-by: Christophe Milard <christophe.milard(a)linaro.org>
Signed-off-by: Maxim Uvarov <maxim.uvarov(a)linaro.org>
diff --git a/helper/linux.c b/helper/linux.c
index 7bd0b07..1f009cd 100644
--- a/helper/linux.c
+++ b/helper/linux.c
@@ -42,8 +42,6 @@ static void *odp_run_start_routine(void *arg)
if (ret < 0)
ODPH_ERR("Local term failed\n");
- else if (ret == 0 && odp_term_global(thr_params->instance))
- ODPH_ERR("Global term failed\n");
return ret_ptr;
}
@@ -277,8 +275,6 @@ static void *odpthread_run_start_routine(void *arg)
if (ret < 0)
ODPH_ERR("Local term failed\n");
- else if (ret == 0 && odp_term_global(thr_params->instance))
- ODPH_ERR("Global term failed\n");
/* for process implementation of odp threads, just return status... */
if (start_args->linuxtype == ODPTHREAD_PROCESS)
-----------------------------------------------------------------------
Summary of changes:
helper/linux.c | 4 ----
1 file changed, 4 deletions(-)
hooks/post-receive
--
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "".
The branch, next has been updated
via 4f87885fe0d7301cc8ff7da6d925c18a09e7e6be (commit)
from ec84962de6f2b392bbde9e8ebc802781979b95dc (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 4f87885fe0d7301cc8ff7da6d925c18a09e7e6be
Author: Bill Fischofer <bill.fischofer(a)linaro.org>
Date: Wed Dec 28 14:33:12 2016 -0600
api: pktio: pktio documentation typo correction
Signed-off-by: Bill Fischofer <bill.fischofer(a)linaro.org>
Signed-off-by: Maxim Uvarov <maxim.uvarov(a)linaro.org>
diff --git a/include/odp/api/spec/packet_io.h b/include/odp/api/spec/packet_io.h
index 2dabfcc..85cd6d1 100644
--- a/include/odp/api/spec/packet_io.h
+++ b/include/odp/api/spec/packet_io.h
@@ -189,7 +189,7 @@ typedef struct odp_pktin_queue_param_t {
/** Number of input queues to be created
*
- * When classifier is enabled in odp_ipktin_queue_config() this
+ * When classifier is enabled in odp_pktin_queue_config() this
* value is ignored, otherwise at least one queue is required.
* More than one input queues require flow hashing configured.
* The maximum value is defined by pktio capability 'max_input_queues'.
-----------------------------------------------------------------------
Summary of changes:
include/odp/api/spec/packet_io.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
hooks/post-receive
--
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "".
The branch, api-next has been updated
via 54c15b2da776d8c71366a2f952998be23933d6de (commit)
from c237528646417ba4056118b9e95ca1f690489274 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 54c15b2da776d8c71366a2f952998be23933d6de
Author: Bill Fischofer <bill.fischofer(a)linaro.org>
Date: Wed Dec 28 14:33:12 2016 -0600
api: pktio: pktio documentation typo correction
Signed-off-by: Bill Fischofer <bill.fischofer(a)linaro.org>
Signed-off-by: Maxim Uvarov <maxim.uvarov(a)linaro.org>
diff --git a/include/odp/api/spec/packet_io.h b/include/odp/api/spec/packet_io.h
index 2dabfcc..85cd6d1 100644
--- a/include/odp/api/spec/packet_io.h
+++ b/include/odp/api/spec/packet_io.h
@@ -189,7 +189,7 @@ typedef struct odp_pktin_queue_param_t {
/** Number of input queues to be created
*
- * When classifier is enabled in odp_ipktin_queue_config() this
+ * When classifier is enabled in odp_pktin_queue_config() this
* value is ignored, otherwise at least one queue is required.
* More than one input queues require flow hashing configured.
* The maximum value is defined by pktio capability 'max_input_queues'.
-----------------------------------------------------------------------
Summary of changes:
include/odp/api/spec/packet_io.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
hooks/post-receive
--
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "".
The branch, api-next has been updated
via 913d9b1a83ddd6a03daa181eeb6f62fd70f506e8 (commit)
from dcb3c06f4c894c7e6eca93a56233a4dc00493ea3 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 913d9b1a83ddd6a03daa181eeb6f62fd70f506e8
Author: Petri Savolainen <petri.savolainen(a)nokia.com>
Date: Fri Dec 23 12:33:36 2016 +0200
api: ipsec: add algorithm capabilities
Added the same algorithm capabilities API that was added
to crypto API. IPSEC capabilities may be more limited than
bulk crypto, since IPSEC RFCs limit the set of valid key
lengths, etc options.
Signed-off-by: Petri Savolainen <petri.savolainen(a)nokia.com>
Reviewed-by: Bill Fischofer <bill.fischofer(a)linaro.org>
Signed-off-by: Maxim Uvarov <maxim.uvarov(a)linaro.org>
diff --git a/include/odp/api/spec/ipsec.h b/include/odp/api/spec/ipsec.h
index 86f66e6..255bb79 100644
--- a/include/odp/api/spec/ipsec.h
+++ b/include/odp/api/spec/ipsec.h
@@ -441,6 +441,46 @@ typedef struct odp_ipsec_sa_param_t {
int odp_ipsec_capability(odp_ipsec_capability_t *capa);
/**
+ * Query supported IPSEC cipher algorithm capabilities
+ *
+ * Outputs all supported configuration options for the algorithm. Output is
+ * sorted (from the smallest to the largest) first by key length, then by IV
+ * length. Use this information to select key lengths, etc cipher algorithm
+ * options for SA creation (odp_ipsec_crypto_param_t).
+ *
+ * @param cipher Cipher algorithm
+ * @param[out] capa Array of capability structures for output
+ * @param num Maximum number of capability structures to output
+ *
+ * @return Number of capability structures for the algorithm. If this is larger
+ * than 'num', only 'num' first structures were output and application
+ * may call the function again with a larger value of 'num'.
+ * @retval <0 on failure
+ */
+int odp_ipsec_cipher_capability(odp_cipher_alg_t cipher,
+ odp_crypto_cipher_capability_t capa[], int num);
+
+/**
+ * Query supported IPSEC authentication algorithm capabilities
+ *
+ * Outputs all supported configuration options for the algorithm. Output is
+ * sorted (from the smallest to the largest) first by digest length, then by key
+ * length. Use this information to select key lengths, etc authentication
+ * algorithm options for SA creation (odp_ipsec_crypto_param_t).
+ *
+ * @param auth Authentication algorithm
+ * @param[out] capa Array of capability structures for output
+ * @param num Maximum number of capability structures to output
+ *
+ * @return Number of capability structures for the algorithm. If this is larger
+ * than 'num', only 'num' first structures were output and application
+ * may call the function again with a larger value of 'num'.
+ * @retval <0 on failure
+ */
+int odp_ipsec_auth_capability(odp_auth_alg_t auth,
+ odp_crypto_auth_capability_t capa[], int num);
+
+/**
* Initialize IPSEC configuration options
*
* Initialize an odp_ipsec_config_t to its default values.
-----------------------------------------------------------------------
Summary of changes:
include/odp/api/spec/ipsec.h | 40 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+)
hooks/post-receive
--
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "".
The branch, api-next has been updated
via 3b20a21d0a45af4f78db993449052462590db22d (commit)
from f039391ec2778ff53886b1546deb9ab614521caa (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 3b20a21d0a45af4f78db993449052462590db22d
Author: Balasubramanian Manoharan <bala.manoharan(a)linaro.org>
Date: Fri Nov 4 23:04:30 2016 +0530
api: pktio: adds further definition for classification configuration
Updates classification configuration documentation.
Signed-off-by: Balasubramanian Manoharan <bala.manoharan(a)linaro.org>
Reviewed-by: Petri Savolainen <petri.savolainen(a)nokia.com>
Signed-off-by: Maxim Uvarov <maxim.uvarov(a)linaro.org>
diff --git a/include/odp/api/spec/packet_io.h b/include/odp/api/spec/packet_io.h
index d46e405..2dabfcc 100644
--- a/include/odp/api/spec/packet_io.h
+++ b/include/odp/api/spec/packet_io.h
@@ -189,12 +189,11 @@ typedef struct odp_pktin_queue_param_t {
/** Number of input queues to be created
*
- * When classifier is enabled the number of queues may be zero
- * (in odp_pktin_queue_config() step), otherwise at least one
- * queue is required. More than one input queues require either flow
- * hashing or classifier enabled. The maximum value is defined by
- * pktio capability 'max_input_queues'. Queue type is defined by the
- * input mode. The default value is 1. */
+ * When classifier is enabled in odp_ipktin_queue_config() this
+ * value is ignored, otherwise at least one queue is required.
+ * More than one input queues require flow hashing configured.
+ * The maximum value is defined by pktio capability 'max_input_queues'.
+ * Queue type is defined by the input mode. The default value is 1. */
unsigned num_queues;
/** Queue parameters
@@ -202,7 +201,9 @@ typedef struct odp_pktin_queue_param_t {
* These are used for input queue creation in ODP_PKTIN_MODE_QUEUE
* or ODP_PKTIN_MODE_SCHED modes. Scheduler parameters are considered
* only in ODP_PKTIN_MODE_SCHED mode. Default values are defined in
- * odp_queue_param_t documentation. */
+ * odp_queue_param_t documentation.
+ * When classifier is enabled in odp_pktin_queue_config() this
+ * value is ignored. */
odp_queue_param_t queue_param;
} odp_pktin_queue_param_t;
@@ -887,6 +888,8 @@ int odp_pktio_mac_addr(odp_pktio_t pktio, void *mac_addr, int size);
*
* @retval 0 on success
* @retval <0 on failure
+ *
+ * @note The default_cos has to be unique per odp_pktio_t instance.
*/
int odp_pktio_default_cos_set(odp_pktio_t pktio, odp_cos_t default_cos);
-----------------------------------------------------------------------
Summary of changes:
include/odp/api/spec/packet_io.h | 17 ++++++++++-------
1 file changed, 10 insertions(+), 7 deletions(-)
hooks/post-receive
--