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_worker.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_worker.c')
-rw-r--r-- | src/vnet/session/application_worker.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/vnet/session/application_worker.c b/src/vnet/session/application_worker.c index c45679735b9..bb51cb71f03 100644 --- a/src/vnet/session/application_worker.c +++ b/src/vnet/session/application_worker.c @@ -150,7 +150,8 @@ app_worker_alloc_session_fifos (segment_manager_t * sm, session_t * s) svm_fifo_t *rx_fifo = 0, *tx_fifo = 0; int rv; - if ((rv = segment_manager_alloc_session_fifos (sm, &rx_fifo, &tx_fifo))) + if ((rv = segment_manager_alloc_session_fifos (sm, s->thread_index, + &rx_fifo, &tx_fifo))) return rv; rx_fifo->master_session_index = s->session_index; |