CNDP
22.08.0
|
Go to the source code of this file.
Data Structures | |
struct | pktdev_driver |
Typedefs | |
typedef int() | pktdev_probe_t(lport_cfg_t *cfg) |
typedef int() | pktdev_remove_t(struct cne_pktdev *dev) |
Functions | |
TAILQ_HEAD (pktdev_driver_list, pktdev_driver) | |
void | pktdev_register (struct pktdev_driver *driver) |
CNDP_API void | pktdev_release_port (struct cne_pktdev *dev) |
CNE pktdev PMD API
These APIs are used by pktdev drivers. Applications should not use them.
Definition in file pktdev_driver.h.
typedef int() pktdev_probe_t(lport_cfg_t *cfg) |
Probe function called for each virtual device driver once.
Definition at line 30 of file pktdev_driver.h.
typedef int() pktdev_remove_t(struct cne_pktdev *dev) |
Remove function to remove a lport
Definition at line 35 of file pktdev_driver.h.
TAILQ_HEAD | ( | pktdev_driver_list | , |
pktdev_driver | |||
) |
Double linked list of virtual device drivers.
void pktdev_register | ( | struct pktdev_driver * | driver | ) |
Register a virtual device driver.
driver | A pointer to a pktdev_driver structure describing the driver to be registered. |
CNDP_API void pktdev_release_port | ( | struct cne_pktdev * | dev | ) |
Release the port or pktdev structure
dev | The pktdev internal release structure pointer |