X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=src%2Fvlib%2Fthreads.h;h=e406dde5b07f9a06a28dbf6523756f6c29a67772;hb=8ccc6b350703d3390633636d2b1c2f578f37cb21;hp=91727bacc23bf32a35ab9cb041dcb35a814e000c;hpb=c0d9ca7fe1db7a6bd55972364d4292a9668b7c24;p=vpp.git diff --git a/src/vlib/threads.h b/src/vlib/threads.h index 91727bacc23..e406dde5b07 100644 --- a/src/vlib/threads.h +++ b/src/vlib/threads.h @@ -233,13 +233,6 @@ typedef enum SCHED_POLICY_N, } sched_policy_t; -typedef struct -{ - clib_error_t *(*vlib_launch_thread_cb) (void *fp, vlib_worker_thread_t * w, - unsigned cpu_id); - clib_error_t *(*vlib_thread_set_lcore_cb) (u32 thread, u16 cpu); -} vlib_thread_callbacks_t; - typedef struct { /* Link list of registrations, built by constructors */ @@ -252,10 +245,6 @@ typedef struct vlib_worker_thread_t *worker_threads; - /* - * Launch all threads as pthreads, - * not eal_rte_launch (strict affinity) threads - */ int use_pthreads; /* Number of vlib_main / vnet_main clones */ @@ -297,10 +286,6 @@ typedef struct /* scheduling policy priority */ u32 sched_priority; - /* callbacks */ - vlib_thread_callbacks_t cb; - int extern_thread_mgmt; - /* NUMA-bound heap size */ uword numa_heap_size; @@ -490,8 +475,6 @@ vlib_thread_is_main_w_barrier (void) } u8 *vlib_thread_stack_init (uword thread_index); -int vlib_thread_cb_register (struct vlib_main_t *vm, - vlib_thread_callbacks_t * cb); extern void *rpc_call_main_thread_cb_fn; void