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

Function ff_veth_detach

lib/ff_veth.c:1038–1048  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1036}
1037
1038int
1039ff_veth_detach(void *arg)
1040{
1041 struct ff_veth_softc *sc = (struct ff_veth_softc *)arg;
1042 if (sc) {
1043 ff_dpdk_deregister_if(sc->host_ctx);
1044 free(sc, M_DEVBUF);
1045 }
1046
1047 return (0);
1048}
1049
1050void *
1051ff_veth_softc_to_hostc(void *softc)

Callers

nothing calls this directly

Calls 2

ff_dpdk_deregister_ifFunction · 0.85
freeFunction · 0.70

Tested by

no test coverage detected