diff options
author | Florin Coras <fcoras@cisco.com> | 2019-04-28 21:16:30 -0700 |
---|---|---|
committer | Dave Barach <openvpp@barachs.net> | 2019-04-30 16:59:49 +0000 |
commit | 87b15cebdaca21f6725637abeceec0f19f4eec51 (patch) | |
tree | 3b6063188bc64972bdc359526dd8c0823bcd9fc9 /src/vnet/session/session_node.c | |
parent | c6eb5bc967d3d70016b4e4e182b3d68b1e558f60 (diff) |
svm: more fifo refactor/cleanup
Change-Id: Ie76c69641c8598164d0d00fd498018037258fd86
Signed-off-by: Florin Coras <fcoras@cisco.com>
Diffstat (limited to 'src/vnet/session/session_node.c')
-rw-r--r-- | src/vnet/session/session_node.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/vnet/session/session_node.c b/src/vnet/session/session_node.c index 605fd584e2d..1a04658cb41 100644 --- a/src/vnet/session/session_node.c +++ b/src/vnet/session/session_node.c @@ -414,8 +414,8 @@ session_tx_fifo_chain_tail (vlib_main_t * vm, session_tx_context_t * ctx, } } else - n_bytes_read = svm_fifo_dequeue_nowait (ctx->s->tx_fifo, - len_to_deq, data); + n_bytes_read = svm_fifo_dequeue (ctx->s->tx_fifo, + len_to_deq, data); } ASSERT (n_bytes_read == len_to_deq); chain_b->current_length = n_bytes_read; @@ -494,8 +494,8 @@ session_tx_fill_buffer (vlib_main_t * vm, session_tx_context_t * ctx, } else { - n_bytes_read = svm_fifo_dequeue_nowait (ctx->s->tx_fifo, - len_to_deq, data0); + n_bytes_read = svm_fifo_dequeue (ctx->s->tx_fifo, + len_to_deq, data0); ASSERT (n_bytes_read > 0); } } |