DPDK
18.02.2
|
#include <rte_vhost.h>
Data Fields | |
int(* | new_device )(int vid) |
void(* | destroy_device )(int vid) |
int(* | vring_state_changed )(int vid, uint16_t queue_id, int enable) |
int(* | features_changed )(int vid, uint64_t features) |
void * | reserved [2] |
Device and vring operations.
Definition at line 70 of file rte_vhost.h.
int(* new_device)(int vid) |
Add device.
Definition at line 71 of file rte_vhost.h.
void(* destroy_device)(int vid) |
Remove device.
Definition at line 72 of file rte_vhost.h.
int(* vring_state_changed)(int vid, uint16_t queue_id, int enable) |
triggered when a vring is enabled or disabled
Definition at line 74 of file rte_vhost.h.
int(* features_changed)(int vid, uint64_t features) |
Features could be changed after the feature negotiation. For example, VHOST_F_LOG_ALL will be set/cleared at the start/end of live migration, respectively. This callback is used to inform the application on such change.
Definition at line 82 of file rte_vhost.h.
void* reserved[2] |
Reserved for future extension
Definition at line 87 of file rte_vhost.h.