aboutsummaryrefslogtreecommitdiffstats
path: root/host/examples
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-10-06 18:41:30 -0700
committerJosh Blum <josh@joshknows.com>2010-10-06 18:41:30 -0700
commitb40ace72dd1b940fc0ce6e4a5e06346439dd5625 (patch)
treefbf22e843529d475f8a4b9f028cb1b0462a9327d /host/examples
parent7c127b6c82db773ca2dcab372ab28b4dc4e5b347 (diff)
downloaduhd-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/examples')
0 files changed, 0 insertions, 0 deletions