| 41 | } |
| 42 | |
| 43 | static struct nitrox_device * |
| 44 | find_ndev(struct rte_pci_device *pdev) |
| 45 | { |
| 46 | struct nitrox_device *ndev; |
| 47 | |
| 48 | TAILQ_FOREACH(ndev, &ndev_list, next) |
| 49 | if (ndev->pdev == pdev) |
| 50 | return ndev; |
| 51 | |
| 52 | return NULL; |
| 53 | } |
| 54 | |
| 55 | static void |
| 56 | ndev_release(struct nitrox_device *ndev) |