This new API function will take a pointer to user area and calculate
pointer to ODP buffer's header associated with it.
It is needed when application wants to send buffers back to ODP and
has only a pointer to its private type. Some implementation (like
ODP-DPDK) can implement this API using subtraction of offset to user
area relative to the beginning of the ODP header. Storing an ODP
pointer for every packet in application is not efficient.
Signed-off-by: Michal Mazur m...@semihalf.com

----------------github------------------------
/** Email created from pull request 331 (semihalf-mazur-michal:api-next)
 ** https://github.com/Linaro/odp/pull/331
 ** Patch: https://github.com/Linaro/odp/pull/331.patch
 ** Base sha: 65d690fbcf03c6a4d5eb3f01bde36807833feaaa
 ** Merge commit sha: 8e816e7791dd03e3680aef6ce92d0fc17025b10c
 **/
----------------/github------------------------

----------------checkpatch.pl------------------------
total: 0 errors, 0 warnings, 0 checks, 18 lines checked


to_send-p-000.patch has no obvious style problems and is ready for submission.
----------------/checkpatch.pl------------------------

Reply via email to