You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by GitBox <gi...@apache.org> on 2019/10/29 21:59:03 UTC
[GitHub] [mynewt-core] wes3 opened a new pull request #2075: kernel/os: Add
os_mbuf_pack_chains
wes3 opened a new pull request #2075: kernel/os: Add os_mbuf_pack_chains
URL: https://github.com/apache/mynewt-core/pull/2075
This commit adds a new API for mbuf handling called os_mbuf_pack_chains.
This API, given two mbuf chains, will concatenate them and copy data
as needed so that each mbuf fully utilizes the data buffer in each mbuf.
Unused mbufs are discarded. This API sacrifices speed for memory and
may cause a lot of copying to occur within the mbuf chains.
Test code has been written for a number of reasonable cases.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services