diff options
author | Florin Coras <fcoras@cisco.com> | 2019-04-19 15:56:00 -0700 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2019-04-24 11:31:55 +0000 |
commit | 4375fa312e91ffeef0d34ab0594bda4a8c9189ea (patch) | |
tree | abd9fce225e8bd351f53d36d446fe61ec107dbc2 /src/svm/svm_fifo_segment.c | |
parent | d35d4232953aa32a27a5a1024377191360441416 (diff) |
svm: fifo ooo reads/writes with multiple chunks
Change-Id: If23a04623a7138c9f6c98ee9ecfa587396618a60
Signed-off-by: Florin Coras <fcoras@cisco.com>
Diffstat (limited to 'src/svm/svm_fifo_segment.c')
-rw-r--r-- | src/svm/svm_fifo_segment.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/svm/svm_fifo_segment.c b/src/svm/svm_fifo_segment.c index f5fe60a280d..8a8bd4aa7ff 100644 --- a/src/svm/svm_fifo_segment.c +++ b/src/svm/svm_fifo_segment.c @@ -25,8 +25,8 @@ fifo_init_for_segment (svm_fifo_segment_header_t * fsh, u8 * fifo_space, f->freelist_index = freelist_index; f->default_chunk.start_byte = 0; f->default_chunk.length = size; - f->default_chunk.next = f->start_chunk = &f->default_chunk; - f->end_chunk = f->head_chunk = f->tail_chunk = f->start_chunk; + f->default_chunk.next = f->start_chunk = f->end_chunk = &f->default_chunk; + f->head_chunk = f->tail_chunk = f->ooo_enq = f->ooo_deq = f->start_chunk; f->next = fsh->free_fifos[freelist_index]; fsh->free_fifos[freelist_index] = f; } |