diff mbox

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

Message ID 1436540845-2890-1-git-send-email-bill.fischofer@linaro.org
State New
Headers show

Commit Message

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

Comments

Mike Holmes July 10, 2015, 5:31 p.m. UTC | #1
subject contains "prefix="


On 10 July 2015 at 11:07, Bill Fischofer <bill.fischofer@linaro.org> wrote:

> Signed-off-by: Bill Fischofer <bill.fischofer@linaro.org>
> ---
>  include/odp/api/queue.h | 10 ++++++++++
>  1 file changed, 10 insertions(+)
>
> diff --git a/include/odp/api/queue.h b/include/odp/api/queue.h
> index 297067d..61e7ace 100644
> --- a/include/odp/api/queue.h
> +++ b/include/odp/api/queue.h
> @@ -258,6 +258,16 @@ 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
> + *
> + * This routine is used to 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);
> +
> +/**
>   * @}
>   */
>
> --
> 2.1.4
>
> _______________________________________________
> lng-odp mailing list
> lng-odp@lists.linaro.org
> https://lists.linaro.org/mailman/listinfo/lng-odp
>
Bill Fischofer July 10, 2015, 6:05 p.m. UTC | #2
v2 submitted correcting the typo.  Thanks.

On Fri, Jul 10, 2015 at 12:31 PM, Mike Holmes <mike.holmes@linaro.org>
wrote:

> subject contains "prefix="
>
>
> On 10 July 2015 at 11:07, Bill Fischofer <bill.fischofer@linaro.org>
> wrote:
>
>> Signed-off-by: Bill Fischofer <bill.fischofer@linaro.org>
>> ---
>>  include/odp/api/queue.h | 10 ++++++++++
>>  1 file changed, 10 insertions(+)
>>
>> diff --git a/include/odp/api/queue.h b/include/odp/api/queue.h
>> index 297067d..61e7ace 100644
>> --- a/include/odp/api/queue.h
>> +++ b/include/odp/api/queue.h
>> @@ -258,6 +258,16 @@ 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
>> + *
>> + * This routine is used to 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);
>> +
>> +/**
>>   * @}
>>   */
>>
>> --
>> 2.1.4
>>
>> _______________________________________________
>> lng-odp mailing list
>> lng-odp@lists.linaro.org
>> https://lists.linaro.org/mailman/listinfo/lng-odp
>>
>
>
>
> --
> Mike Holmes
> Technical Manager - Linaro Networking Group
> Linaro.org <http://www.linaro.org/> *│ *Open source software for ARM SoCs
>
>
>
diff mbox

Patch

diff --git a/include/odp/api/queue.h b/include/odp/api/queue.h
index 297067d..61e7ace 100644
--- a/include/odp/api/queue.h
+++ b/include/odp/api/queue.h
@@ -258,6 +258,16 @@  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
+ *
+ * This routine is used to 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);
+
+/**
  * @}
  */