MCPcopy Create free account
hub / github.com/F-Stack/f-stack / vdpa_sample_quit

Function vdpa_sample_quit

dpdk/examples/vdpa/main.c:281–289  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

279}
280
281static void
282vdpa_sample_quit(void)
283{
284 int i;
285 for (i = 0; i < RTE_MIN(MAX_VDPA_SAMPLE_PORTS, devcnt); i++) {
286 if (vports[i].ifname[0] != '\0')
287 close_vdpa(&vports[i]);
288 }
289}
290
291static void
292signal_handler(int signum)

Callers 3

signal_handlerFunction · 0.85
cmd_quit_parsedFunction · 0.85
mainFunction · 0.85

Calls 1

close_vdpaFunction · 0.85

Tested by

no test coverage detected