summaryrefslogtreecommitdiffstats
path: root/src/vcl/vcl_private.h
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2020-11-18 19:02:17 -0800
committerFlorin Coras <florin.coras@gmail.com>2020-11-19 22:14:39 +0000
commit52dd29ff5107b7db9f3ee892d1827ff76f5d017f (patch)
tree91e50b1842153d57e6cd0708b200a614b1de1c1f /src/vcl/vcl_private.h
parent8b276df32f0c833b31f8a5c8408855afbbde1307 (diff)
vcl: stop tracking vpp event queues and thread index
Type: improvement Signed-off-by: Florin Coras <fcoras@cisco.com> Change-Id: Icbee02a39650bc792532adc714bcf4f47f3fbe59
Diffstat (limited to 'src/vcl/vcl_private.h')
-rw-r--r--src/vcl/vcl_private.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/vcl/vcl_private.h b/src/vcl/vcl_private.h
index 2dd41645147..0d26e64917c 100644
--- a/src/vcl/vcl_private.h
+++ b/src/vcl/vcl_private.h
@@ -154,7 +154,6 @@ typedef struct vcl_session_
vcl_session_msg_t *accept_evts_fifo;
u64 vpp_handle;
- u32 vpp_thread_index;
u32 listener_index; /**< index of parent listener (if any) */
int n_accepted_sessions; /**< sessions accepted by this listener */
u32 attributes; /**< see @ref vppcom_session_attr_t */
@@ -263,9 +262,6 @@ typedef struct vcl_worker_
/** Our event message queue */
svm_msg_q_t *app_event_queue;
- /** VPP workers event message queues */
- svm_msg_q_t **vpp_event_queues;
-
/** For deadman timers */
clib_time_t clib_time;
@@ -674,12 +670,6 @@ vcl_n_workers (void)
return pool_elts (vcm->workers);
}
-static inline svm_msg_q_t *
-vcl_session_vpp_evt_q (vcl_worker_t * wrk, vcl_session_t * s)
-{
- return wrk->vpp_event_queues[s->vpp_thread_index];
-}
-
static inline u64
vcl_vpp_worker_segment_handle (u32 wrk_index)
{