diff mbox

[API-NEXT,PATCHv3,1/4] api: queue: add odp_queue_param_init prototype

Message ID 1436876913-12368-1-git-send-email-bill.fischofer@linaro.org
State Accepted
Commit 64e8ecc2f97121fee691f46197f4db36260851aa
Headers show

Commit Message

Bill Fischofer July 14, 2015, 12:28 p.m. UTC
Signed-off-by: Bill Fischofer <bill.fischofer@linaro.org>
---
 include/odp/api/queue.h | 9 +++++++++
 1 file changed, 9 insertions(+)

Comments

Maxim Uvarov July 15, 2015, 10:24 a.m. UTC | #1
Merged,

and other patches from that series.

Maxim.

On 07/14/15 15:28, Bill Fischofer wrote:
> Signed-off-by: Bill Fischofer <bill.fischofer@linaro.org>
> ---
>   include/odp/api/queue.h | 9 +++++++++
>   1 file changed, 9 insertions(+)
>
> diff --git a/include/odp/api/queue.h b/include/odp/api/queue.h
> index 297067d..61d0b31 100644
> --- a/include/odp/api/queue.h
> +++ b/include/odp/api/queue.h
> @@ -258,6 +258,15 @@ odp_schedule_group_t odp_queue_sched_group(odp_queue_t queue);
>   uint64_t odp_queue_to_u64(odp_queue_t hdl);
>   
>   /**
> + * Initialize queue params
> + *
> + * Initialize an odp_queue_param_t to its default values for all fields
> + *
> + * @param param   Address of the odp_queue_param_t to be initialized
> + */
> +void odp_queue_param_init(odp_queue_param_t *param);
> +
> +/**
>    * @}
>    */
>
diff mbox

Patch

diff --git a/include/odp/api/queue.h b/include/odp/api/queue.h
index 297067d..61d0b31 100644
--- a/include/odp/api/queue.h
+++ b/include/odp/api/queue.h
@@ -258,6 +258,15 @@  odp_schedule_group_t odp_queue_sched_group(odp_queue_t queue);
 uint64_t odp_queue_to_u64(odp_queue_t hdl);
 
 /**
+ * Initialize queue params
+ *
+ * Initialize an odp_queue_param_t to its default values for all fields
+ *
+ * @param param   Address of the odp_queue_param_t to be initialized
+ */
+void odp_queue_param_init(odp_queue_param_t *param);
+
+/**
  * @}
  */