DPDK
2.0.0
|
#include <rte_virtio_net.h>
Data Fields | |
int(* | new_device )(struct virtio_net *) |
void(* | destroy_device )(volatile struct virtio_net *) |
Device operations to add/remove device.
Make sure to set VIRTIO_DEV_RUNNING to the device flags in new_device and remove it in destroy_device.
void(* destroy_device)(volatile struct virtio_net *) |
Remove device.
int(* new_device)(struct virtio_net *) |
Add device.