Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
vcl: add support for reconnect
[vpp.git]
/
src
/
vlib
/
threads.h
diff --git
a/src/vlib/threads.h
b/src/vlib/threads.h
index
91727ba
..
e406dde
100644
(file)
--- a/
src/vlib/threads.h
+++ b/
src/vlib/threads.h
@@
-233,13
+233,6
@@
typedef enum
SCHED_POLICY_N,
} sched_policy_t;
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 */
typedef struct
{
/* Link list of registrations, built by constructors */
@@
-252,10
+245,6
@@
typedef struct
vlib_worker_thread_t *worker_threads;
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 */
int use_pthreads;
/* Number of vlib_main / vnet_main clones */
@@
-297,10
+286,6
@@
typedef struct
/* scheduling policy priority */
u32 sched_priority;
/* scheduling policy priority */
u32 sched_priority;
- /* callbacks */
- vlib_thread_callbacks_t cb;
- int extern_thread_mgmt;
-
/* NUMA-bound heap size */
uword numa_heap_size;
/* 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);
}
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
extern void *rpc_call_main_thread_cb_fn;
void