diff options
author | Florin Coras <fcoras@cisco.com> | 2020-11-06 16:59:08 -0800 |
---|---|---|
committer | Dave Barach <openvpp@barachs.net> | 2020-11-09 16:04:47 +0000 |
commit | 8c4fa01d1360cd5315e671de96dfeff7dae246f5 (patch) | |
tree | 6a6c112be3060b938294241b22b136db847b579a /src/svm/fifo_segment.c | |
parent | 2008e314537500975acbd666e38d3fa6e7261bf5 (diff) |
session: delegate fifo ooo lookup init to transports
Fifo chunk ooo lookup data structures are private (not allocated on
segment heap) and should only be initialized by transport protocols that
require out-of-order enqueues/dequeues (like tcp).
Type: improvement
Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: Iaa15d6850385bf903cc501c54c2752e8e811449e
Diffstat (limited to 'src/svm/fifo_segment.c')
-rw-r--r-- | src/svm/fifo_segment.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/svm/fifo_segment.c b/src/svm/fifo_segment.c index 8503819f42f..a5ffd4af2ed 100644 --- a/src/svm/fifo_segment.c +++ b/src/svm/fifo_segment.c @@ -865,12 +865,6 @@ fifo_segment_alloc_fifo_w_slice (fifo_segment_t * fs, u32 slice_index, { fss_fifo_add_active_list (fss, f); f->flags |= SVM_FIFO_F_LL_TRACKED; - - svm_fifo_init_ooo_lookup (f, 0 /* ooo enq */ ); - } - else - { - svm_fifo_init_ooo_lookup (f, 1 /* ooo deq */ ); } fsh_active_fifos_update (fsh, 1); |