davids5 commented on issue #6835:
URL: 
https://github.com/apache/incubator-nuttx/issues/6835#issuecomment-1212979151

   @PetervdPerk-NXP - This is really nice to see. The Diagrams rock!  
   
   We should definitely be using Scatter Gather DMA.  The approach of using 
many little IOBs will cause a high load on the number of statically allocated 
DMA descriptors (TCD) needed (32 bytes per and some non-net devices need 4-6 
per transaction already). There may be a size for the built in data IOB that is 
a good balance. An alternate could be to reference the data and carry a `size` 
and `used` and maybe a `next` reference in the IOB and not include the data 
allocation in the struct. These can be allocated at initialization time and 
static at run time. Then pools can be formed and used by the devices with MTU 
requirement. It could fail over to allocating a bigger MTU on smaller 
starvation and  manage it with the `size` and `used` to return it to the 
correct pool. 


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

To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to