diff options
Diffstat (limited to 'accel-dp/init.h')
-rw-r--r-- | accel-dp/init.h | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/accel-dp/init.h b/accel-dp/init.h deleted file mode 100644 index 28c87810..00000000 --- a/accel-dp/init.h +++ /dev/null @@ -1,18 +0,0 @@ -#ifndef __INIT_H -#define __INIT_H - -struct rte_mempool; - -int ctrl_init(); -int kni_dev_init(struct rte_mempool *mbuf_pool); -int eth_dev_init(struct rte_mempool *mbuf_pool); - -int distributor_init(int ded); -void distributor_loop(int chk_event); -int lcore_worker(void *a); -int lcore_distributor(void *a); - -void register_init(int order, void (*func)(void)); -#define DEFINE_INIT(o, func) static void __attribute__((constructor)) __init__(void){register_init(o,func);} - -#endif |