diff options
author | Florin Coras <fcoras@cisco.com> | 2019-12-08 18:30:42 -0800 |
---|---|---|
committer | Dave Barach <openvpp@barachs.net> | 2019-12-12 15:20:10 +0000 |
commit | 62ddc030296e9f65c59cd25fa81112e0a09cf20d (patch) | |
tree | d385d9c49898ab7f862a05e5e716549b45bf7107 /src/vnet/session/application_local.c | |
parent | a0bf06d74caf6a99574a54201d14d836059ed2e9 (diff) |
session svm: per thread fifo segment slices
Type: refactor
Change-Id: I9be652e56cdb48b0aee3253f7ce8d9bed299d824
Signed-off-by: Florin Coras <fcoras@cisco.com>
Signed-off-by: Dave Barach <dave@barachs.net>
Diffstat (limited to 'src/vnet/session/application_local.c')
-rw-r--r-- | src/vnet/session/application_local.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/vnet/session/application_local.c b/src/vnet/session/application_local.c index 7d8fb468f5a..97cda12b7da 100644 --- a/src/vnet/session/application_local.c +++ b/src/vnet/session/application_local.c @@ -191,7 +191,8 @@ ct_init_local_session (app_worker_t * client_wrk, app_worker_t * server_wrk, } seg = segment_manager_get_segment_w_lock (sm, seg_index); - rv = segment_manager_try_alloc_fifos (seg, props->rx_fifo_size, + rv = segment_manager_try_alloc_fifos (seg, ls->thread_index, + props->rx_fifo_size, props->tx_fifo_size, &ls->rx_fifo, &ls->tx_fifo); if (rv) |