summaryrefslogtreecommitdiff
path: root/lib/block_allocator.cpp
diff options
context:
space:
mode:
authorJosh Blum2012-10-04 00:01:47 -0700
committerJosh Blum2012-10-04 00:01:47 -0700
commit00275d8662f2d151d382999419b1424e87e64c08 (patch)
treecaff0cf2f05f47360546a41d7d6f5e3e76e89ee6 /lib/block_allocator.cpp
parent4435b47e562ee8472d45d1d3a6016bc516d22322 (diff)
downloadsandhi-00275d8662f2d151d382999419b1424e87e64c08.tar.gz
sandhi-00275d8662f2d151d382999419b1424e87e64c08.tar.bz2
sandhi-00275d8662f2d151d382999419b1424e87e64c08.zip
work on the set/get input/output per-port config
Diffstat (limited to 'lib/block_allocator.cpp')
-rw-r--r--lib/block_allocator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/block_allocator.cpp b/lib/block_allocator.cpp
index 950fddb..d2d7424 100644
--- a/lib/block_allocator.cpp
+++ b/lib/block_allocator.cpp
@@ -90,7 +90,7 @@ void BlockActor::handle_top_alloc(const TopAllocMessage &, const Theron::Address
const size_t bytes = recommend_length(
this->output_allocation_hints[i],
- this->output_multiple_items[i]*this->output_items_sizes[i],
+ this->output_configs[i].reserve_items*this->output_items_sizes[i],
at_least_items*this->output_items_sizes[i]
);