You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@mynewt.apache.org by "Christopher Collins (JIRA)" <ji...@apache.org> on 2016/07/03 03:19:10 UTC
[jira] [Created] (MYNEWT-336) Allow smaller mbufs for data frames
Christopher Collins created MYNEWT-336:
------------------------------------------
Summary: Allow smaller mbufs for data frames
Key: MYNEWT-336
URL: https://issues.apache.org/jira/browse/MYNEWT-336
Project: Mynewt
Issue Type: Improvement
Components: Nimble
Reporter: Christopher Collins
Assignee: William San Filippo
When the host sends a data packet, it fills an mbuf with the payload and passes it to the controller.
The controller expects the mbuf to consist of a single contiguous buffer. To support this requirement, a nimble application needs to allocate large mbufs (>= 260 bytes) to permit large data packets to be sent. This is wasteful because many data frames are likely quite a bit smaller than this. Reliability would improve if an application could allocate more, smaller, mbufs.
The fix is for the controller to accept mbufs that consist of several chained buffers.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)