DPDK
16.04.0
|
#include <rte_virtio_net.h>
Data Fields | |
int(* | new_device )(struct virtio_net *) |
void(* | destroy_device )(volatile struct virtio_net *) |
int(* | vring_state_changed )(struct virtio_net *dev, uint16_t queue_id, int enable) |
Device and vring operations.
Make sure to set VIRTIO_DEV_RUNNING to the device flags in new_device and remove it in destroy_device.
Definition at line 180 of file rte_virtio_net.h.
int(* new_device)(struct virtio_net *) |
Add device.
Definition at line 181 of file rte_virtio_net.h.
void(* destroy_device)(volatile struct virtio_net *) |
Remove device.
Definition at line 182 of file rte_virtio_net.h.
int(* vring_state_changed)(struct virtio_net *dev, uint16_t queue_id, int enable) |
triggered when a vring is enabled or disabled
Definition at line 184 of file rte_virtio_net.h.