Message ID | 1444823465-21264-1-git-send-email-bill.fischofer@linaro.org |
---|---|
State | Accepted |
Commit | 98289b25feff4e6b72fc6ed461b00b11fddec3c9 |
Headers | show |
Merged, Maxim. On 10/14/2015 14:51, Bill Fischofer wrote: > Signed-off-by: Bill Fischofer <bill.fischofer@linaro.org> > --- > include/odp/api/packet_io.h | 9 +++++++++ > 1 file changed, 9 insertions(+) > > diff --git a/include/odp/api/packet_io.h b/include/odp/api/packet_io.h > index d8e69ed..3479af1 100644 > --- a/include/odp/api/packet_io.h > +++ b/include/odp/api/packet_io.h > @@ -349,6 +349,15 @@ int odp_pktio_headroom_set(odp_pktio_t pktio, uint32_t headroom); > uint64_t odp_pktio_to_u64(odp_pktio_t pktio); > > /** > + * Intiailize pktio params > + * > + * Initialize an odp_pktio_param_t to its default values for all fields > + * > + * @param param Address of the odp_pktio_param_t to be initialized > + */ > +void odp_pktio_param_init(odp_pktio_param_t *param); > + > +/** > * @} > */ >
diff --git a/include/odp/api/packet_io.h b/include/odp/api/packet_io.h index d8e69ed..3479af1 100644 --- a/include/odp/api/packet_io.h +++ b/include/odp/api/packet_io.h @@ -349,6 +349,15 @@ int odp_pktio_headroom_set(odp_pktio_t pktio, uint32_t headroom); uint64_t odp_pktio_to_u64(odp_pktio_t pktio); /** + * Intiailize pktio params + * + * Initialize an odp_pktio_param_t to its default values for all fields + * + * @param param Address of the odp_pktio_param_t to be initialized + */ +void odp_pktio_param_init(odp_pktio_param_t *param); + +/** * @} */
Signed-off-by: Bill Fischofer <bill.fischofer@linaro.org> --- include/odp/api/packet_io.h | 9 +++++++++ 1 file changed, 9 insertions(+)