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
vhost: support host notifier queue configuration
[dpdk.git]
/
lib
/
librte_vhost
/
rte_vdpa_dev.h
diff --git
a/lib/librte_vhost/rte_vdpa_dev.h
b/lib/librte_vhost/rte_vdpa_dev.h
index
fecaa8e
..
65557cb
100644
(file)
--- a/
lib/librte_vhost/rte_vdpa_dev.h
+++ b/
lib/librte_vhost/rte_vdpa_dev.h
@@
-9,6
+9,8
@@
#include "rte_vhost.h"
#include "rte_vhost.h"
+#define RTE_VHOST_QUEUE_ALL UINT16_MAX
+
/**
* vdpa device operations
*/
/**
* vdpa device operations
*/
@@
-116,12
+118,14
@@
rte_vdpa_unregister_device(struct rte_vdpa_device *dev);
* vhost device id
* @param enable
* true for host notifier map, false for host notifier unmap
* vhost device id
* @param enable
* true for host notifier map, false for host notifier unmap
+ * @param qid
+ * vhost queue id, RTE_VHOST_QUEUE_ALL to configure all the device queues
* @return
* 0 on success, -1 on failure
*/
__rte_experimental
int
* @return
* 0 on success, -1 on failure
*/
__rte_experimental
int
-rte_vhost_host_notifier_ctrl(int vid, bool enable);
+rte_vhost_host_notifier_ctrl(int vid,
uint16_t qid,
bool enable);
/**
* @warning
/**
* @warning