aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/session/application_local.c
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2020-11-06 16:59:08 -0800
committerDave Barach <openvpp@barachs.net>2020-11-09 16:04:47 +0000
commit8c4fa01d1360cd5315e671de96dfeff7dae246f5 (patch)
tree6a6c112be3060b938294241b22b136db847b579a /src/vnet/session/application_local.c
parent2008e314537500975acbd666e38d3fa6e7261bf5 (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/vnet/session/application_local.c')
-rw-r--r--src/vnet/session/application_local.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/vnet/session/application_local.c b/src/vnet/session/application_local.c
index 9b0136f95dc..6e0aee2aae3 100644
--- a/src/vnet/session/application_local.c
+++ b/src/vnet/session/application_local.c
@@ -217,10 +217,6 @@ ct_init_accepted_session (app_worker_t * server_wrk,
ls->rx_fifo->segment_index = seg_index;
ls->tx_fifo->segment_index = seg_index;
- /* Disable ooo lookups on the cut-through fifos. TODO remove once init of
- * chunk lookup rbtrees is delegated to transports */
- svm_fifo_free_chunk_lookup (ls->tx_fifo);
-
segment_handle = segment_manager_segment_handle (sm, seg);
if ((rv = app_worker_add_segment_notify (server_wrk, segment_handle)))
{