diff options
author | Florin Coras <fcoras@cisco.com> | 2019-03-01 12:41:21 -0800 |
---|---|---|
committer | Dave Barach <openvpp@barachs.net> | 2019-03-02 23:39:51 +0000 |
commit | f6c4313b6aa7746fe97afd398ce68c2efbef0600 (patch) | |
tree | 72b551a33adf3ae6017ca792c2f4c3a5f05c2477 /src/vnet/session-apps/proxy.c | |
parent | 5fd3210be3a043c12c598df3d75dbe0aa606bfe5 (diff) |
session: cleanup session event types
Change-Id: I87bdf705341dd760f0be907a663aa64140977d39
Signed-off-by: Florin Coras <fcoras@cisco.com>
Diffstat (limited to 'src/vnet/session-apps/proxy.c')
-rw-r--r-- | src/vnet/session-apps/proxy.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/vnet/session-apps/proxy.c b/src/vnet/session-apps/proxy.c index ba7b05784fa..92a3910efbf 100644 --- a/src/vnet/session-apps/proxy.c +++ b/src/vnet/session-apps/proxy.c @@ -214,7 +214,7 @@ proxy_rx_callback (session_t * s) u32 ao_thread_index = active_open_tx_fifo->master_thread_index; if (session_send_io_evt_to_thread_custom (active_open_tx_fifo, ao_thread_index, - FIFO_EVENT_APP_TX)) + SESSION_IO_EVT_TX)) clib_warning ("failed to enqueue tx evt"); } } @@ -320,7 +320,7 @@ active_open_connected_callback (u32 app_index, u32 opaque, */ ASSERT (s->thread_index == thread_index); if (svm_fifo_set_event (s->tx_fifo)) - session_send_io_evt_to_thread (s->tx_fifo, FIFO_EVENT_APP_TX); + session_send_io_evt_to_thread (s->tx_fifo, SESSION_IO_EVT_TX); return 0; } @@ -358,7 +358,7 @@ active_open_rx_callback (session_t * s) u8 thread_index = proxy_tx_fifo->master_thread_index; return session_send_io_evt_to_thread_custom (proxy_tx_fifo, thread_index, - FIFO_EVENT_APP_TX); + SESSION_IO_EVT_TX); } return 0; |