diff options
author | Florin Coras <fcoras@cisco.com> | 2019-06-28 12:45:12 -0700 |
---|---|---|
committer | Dave Barach <openvpp@barachs.net> | 2019-06-29 00:30:41 +0000 |
commit | 2d379d8cc7612c2a29670aa66d3d2b0a4007b951 (patch) | |
tree | 01b42acc4676025013e878295fce9e4a12c0a747 /src/plugins/quic/quic.c | |
parent | e3bbf5b565132515800dc4e7a137875d9865a5a6 (diff) |
svm: rename fifo tx notifications to reflect use
Type: refactor
Change-Id: I651db44acdcb666a9c63e1037352cf88c68795b5
Signed-off-by: Florin Coras <fcoras@cisco.com>
Diffstat (limited to 'src/plugins/quic/quic.c')
-rw-r--r-- | src/plugins/quic/quic.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/plugins/quic/quic.c b/src/plugins/quic/quic.c index 93c01628e80..a990d0448bf 100644 --- a/src/plugins/quic/quic.c +++ b/src/plugins/quic/quic.c @@ -586,9 +586,9 @@ quic_accept_stream (void *s) quicly_reset_stream (stream, QUIC_APP_ALLOCATION_ERROR); return; } - svm_fifo_add_want_tx_ntf (stream_session->rx_fifo, - SVM_FIFO_WANT_TX_NOTIF_IF_FULL | - SVM_FIFO_WANT_TX_NOTIF_IF_EMPTY); + svm_fifo_add_want_deq_ntf (stream_session->rx_fifo, + SVM_FIFO_WANT_DEQ_NOTIF_IF_FULL | + SVM_FIFO_WANT_DEQ_NOTIF_IF_EMPTY); rv = app_worker_accept_notify (app_wrk, stream_session); if (rv) @@ -1243,9 +1243,9 @@ quic_connect_new_stream (session_endpoint_cfg_t * sep) return app_worker_connect_notify (app_wrk, NULL, sep->opaque); } - svm_fifo_add_want_tx_ntf (stream_session->rx_fifo, - SVM_FIFO_WANT_TX_NOTIF_IF_FULL | - SVM_FIFO_WANT_TX_NOTIF_IF_EMPTY); + svm_fifo_add_want_deq_ntf (stream_session->rx_fifo, + SVM_FIFO_WANT_DEQ_NOTIF_IF_FULL | + SVM_FIFO_WANT_DEQ_NOTIF_IF_EMPTY); stream_session->session_state = SESSION_STATE_READY; if (app_worker_connect_notify (app_wrk, stream_session, sep->opaque)) @@ -1842,7 +1842,7 @@ quic_custom_app_rx_callback (transport_connection_t * tc) session_t *stream_session = session_get (tc->s_index, tc->thread_index); QUIC_DBG (2, "Received app READ notification"); quic_ack_rx_data (stream_session); - svm_fifo_reset_tx_ntf (stream_session->rx_fifo); + svm_fifo_reset_has_deq_ntf (stream_session->rx_fifo); return 0; } |