MCPcopy Create free account
hub / github.com/alibaba/PhotonLibOS / fstack_dpdk_init

Function fstack_dpdk_init

io/fstack-dpdk.cpp:222–229  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

220}
221
222int 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
231int fstack_dpdk_fini() {
232 return 0; // TODO

Callers

nothing calls this directly

Calls 2

thread_create11Function · 0.50
initMethod · 0.45

Tested by

no test coverage detected