diff options
author | Florin Coras <fcoras@cisco.com> | 2020-12-07 19:38:23 -0800 |
---|---|---|
committer | Florin Coras <florin.coras@gmail.com> | 2020-12-23 02:28:05 +0000 |
commit | 4b8011e72ea22d17942f2e57a34a4fa3a3d81af5 (patch) | |
tree | 2187fdda1e67742f45a37f9b9264525911e48716 /src/svm/svm_fifo.h | |
parent | 213b1bb3b9652ce2937e3b47573cc54ee3008387 (diff) |
svm: separate private from shared fifo segment ptrs
Type: improvement
Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: Idcc8d862b98dba4a67f829c1778377f35ad47b00
Diffstat (limited to 'src/svm/svm_fifo.h')
-rw-r--r-- | src/svm/svm_fifo.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/svm/svm_fifo.h b/src/svm/svm_fifo.h index 2a054526865..5656e63d998 100644 --- a/src/svm/svm_fifo.h +++ b/src/svm/svm_fifo.h @@ -712,7 +712,7 @@ svm_fifo_size (svm_fifo_t * f) static inline void svm_fifo_set_size (svm_fifo_t * f, u32 size) { - if (size > (1 << f->fs_hdr->max_log2_chunk_size)) + if (size > (1 << f->fs_hdr->max_log2_fifo_size)) return; fsh_virtual_mem_update (f->fs_hdr, f->slice_index, (int) f->size - size); f->size = size; |