git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
crypto/dpaa_sec: add debug prints
[dpdk.git]
/
lib
/
vhost
/
vdpa_driver.h
diff --git
a/lib/vhost/vdpa_driver.h
b/lib/vhost/vdpa_driver.h
index
fc2d6ac
..
fddbd50
100644
(file)
--- a/
lib/vhost/vdpa_driver.h
+++ b/
lib/vhost/vdpa_driver.h
@@
-34,6
+34,9
@@
struct rte_vdpa_dev_ops {
/** Driver close the device (Mandatory) */
int (*dev_close)(int vid);
+ /** Connection closed, clean up resources */
+ int (*dev_cleanup)(int vid);
+
/** Enable/disable this vring (Mandatory) */
int (*set_vring_state)(int vid, int vring, int state);