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

Function nitrox_pci_remove

dpdk/drivers/crypto/nitrox/nitrox_device.c:90–106  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

88}
89
90static int
91nitrox_pci_remove(struct rte_pci_device *pdev)
92{
93 struct nitrox_device *ndev;
94 int err;
95
96 ndev = find_ndev(pdev);
97 if (!ndev)
98 return -ENODEV;
99
100 err = nitrox_sym_pmd_destroy(ndev);
101 if (err)
102 return err;
103
104 ndev_release(ndev);
105 return 0;
106}
107
108static struct rte_pci_id pci_id_nitrox_map[] = {
109 {

Callers

nothing calls this directly

Calls 3

find_ndevFunction · 0.85
nitrox_sym_pmd_destroyFunction · 0.85
ndev_releaseFunction · 0.85

Tested by

no test coverage detected