| 220 | } |
| 221 | |
| 222 | int fstack_dpdk_init() { |
| 223 | LOG_INFO("Init f-stack dpdk engine"); |
| 224 | g_engine = NewObj<FstackDpdkEngine>()->init(); |
| 225 | if (g_engine == nullptr) |
| 226 | return -1; |
| 227 | photon::thread_create11(ff_run, poll_engine, nullptr); |
| 228 | return 0; |
| 229 | } |
| 230 | |
| 231 | int fstack_dpdk_fini() { |
| 232 | return 0; // TODO |
nothing calls this directly
no test coverage detected