DPDK
2.2.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 166 of file rte_virtio_net.h.
int(* new_device)(struct virtio_net *) |
Add device.
Definition at line 167 of file rte_virtio_net.h.
void(* destroy_device)(volatile struct virtio_net *) |
Remove device.
Definition at line 168 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 170 of file rte_virtio_net.h.