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

Function ifpga_rawdev_cleanup

dpdk/drivers/raw/ifpga/ifpga_rawdev.c:1917–1929  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1915}
1916
1917void ifpga_rawdev_cleanup(void)
1918{
1919 struct ifpga_rawdev *dev;
1920 unsigned int i;
1921
1922 for (i = 0; i < IFPGA_RAWDEV_NUM; i++) {
1923 dev = &ifpga_rawdevices[i];
1924 if (dev->rawdev) {
1925 rte_rawdev_pmd_release(dev->rawdev);
1926 dev->rawdev = NULL;
1927 }
1928 }
1929}

Callers 1

rte_pmd_ifpga_cleanupFunction · 0.85

Calls 1

rte_rawdev_pmd_releaseFunction · 0.85

Tested by

no test coverage detected