DPDK  1.6.0r2
Data Structures | Typedefs | Functions
rte_vdev.h File Reference
#include <sys/queue.h>

Data Structures

struct  rte_vdev_driver

Typedefs

typedef int( rte_vdev_init_t )(const char *name, const char *args)

Functions

 TAILQ_HEAD (rte_vdev_driver_list, rte_vdev_driver)
void rte_eal_vdev_driver_register (struct rte_vdev_driver *driver)
void rte_eal_vdev_driver_unregister (struct rte_vdev_driver *driver)

Detailed Description

RTE Virtual Devices Interface

This file manages the list of the virtual device drivers.

Typedef Documentation

typedef int( rte_vdev_init_t)(const char *name, const char *args)

Initialization function called for each virtual device probing.

Function Documentation

void rte_eal_vdev_driver_register ( struct rte_vdev_driver driver)

Register a virtual device driver.

Parameters
driverA pointer to a rte_vdev structure describing the driver to be registered.
void rte_eal_vdev_driver_unregister ( struct rte_vdev_driver driver)

Unregister a virtual device driver.

Parameters
driverA pointer to a rte_vdev structure describing the driver to be unregistered.
TAILQ_HEAD ( rte_vdev_driver_list  ,
rte_vdev_driver   
)

Double linked list of virtual device drivers.