[ 
https://issues.apache.org/jira/browse/MYNEWT-336?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15435387#comment-15435387
 ] 

William San Filippo commented on MYNEWT-336:
--------------------------------------------

I do believe that the current controller code could accept chained mbufs for 
transmit. There may be some restrictions; I would have to look at this to be 
sure. I dont think we are going to attempt to make smaller mbufs right now. We 
can add this to the 1.1 release as we have so much to do for 1.0. Not sure if 
Chris feels differently though.

> 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)

Reply via email to