X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=lib%2Flibrte_vhost%2Frte_vhost.h;h=fe5c94c69906313d6dc5ad1a2f3ad8bf7bcf1c6f;hb=efba12a78ddf6ea2f365d75ed78be2c51cc6c561;hp=8c974eb1d4d436dc92834aa4bbdd2360dafc5431;hpb=66a62101240bb714a6d2d5acd39010675251ffec;p=dpdk.git diff --git a/lib/librte_vhost/rte_vhost.h b/lib/librte_vhost/rte_vhost.h index 8c974eb1d4..fe5c94c699 100644 --- a/lib/librte_vhost/rte_vhost.h +++ b/lib/librte_vhost/rte_vhost.h @@ -107,7 +107,10 @@ struct vhost_device_ops { */ int (*features_changed)(int vid, uint64_t features); - void *reserved[4]; /**< Reserved for future extension */ + int (*new_connection)(int vid); + void (*destroy_connection)(int vid); + + void *reserved[2]; /**< Reserved for future extension */ }; /**