diff options
author | Josh Blum <josh@joshknows.com> | 2010-10-06 18:41:30 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2010-10-06 18:41:30 -0700 |
commit | b40ace72dd1b940fc0ce6e4a5e06346439dd5625 (patch) | |
tree | fbf22e843529d475f8a4b9f028cb1b0462a9327d /host/lib/usrp/dboard_base.cpp | |
parent | 7c127b6c82db773ca2dcab372ab28b4dc4e5b347 (diff) | |
download | uhd-b40ace72dd1b940fc0ce6e4a5e06346439dd5625.tar.gz uhd-b40ace72dd1b940fc0ce6e4a5e06346439dd5625.tar.bz2 uhd-b40ace72dd1b940fc0ce6e4a5e06346439dd5625.zip |
usrp1: use the transport frame sizes to calculate the max spp
The max send spp is the frame size minus the alignment padding.
This allows us to copy a remainder into a new buffer and always
commit multiples of the alignment size (512 bytes).
Reworked the managed send buffer implementation to handle the above.
Uses only managed memory, and only mem-copied under the alignment.
Diffstat (limited to 'host/lib/usrp/dboard_base.cpp')
0 files changed, 0 insertions, 0 deletions