aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/devices
diff options
context:
space:
mode:
authorSteven <sluong@cisco.com>2017-08-28 11:34:47 -0700
committerSteven <sluong@cisco.com>2017-08-28 11:34:47 -0700
commit4ba75f54461c31fbb32b8ef9c05fe38da74cb295 (patch)
treefb557742c8365afae87eeaaf35553688ac94706f /src/vnet/devices
parentbd8e242024fcc2daffa77bdd6e2da1296ace5c69 (diff)
vhost: Remove operation mode in the API
create/delete/modify vhost_user APIs no longer support the operation mode (polling/interrupt/adaptive). They are now done via the generic interface. Change-Id: I9e9bd503f9b56c953ecd2b271b3e2007da20c72a Signed-off-by: Steven <sluong@cisco.com>
Diffstat (limited to 'src/vnet/devices')
-rw-r--r--src/vnet/devices/virtio/vhost_user.api6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/vnet/devices/virtio/vhost_user.api b/src/vnet/devices/virtio/vhost_user.api
index df7ce7abf2a..28d5e8916b6 100644
--- a/src/vnet/devices/virtio/vhost_user.api
+++ b/src/vnet/devices/virtio/vhost_user.api
@@ -19,7 +19,6 @@
@param sock_filename - unix socket filename, used to speak with frontend
@param use_custom_mac - enable or disable the use of the provided hardware address
@param mac_address - hardware address to use if 'use_custom_mac' is set
- @param operation_mode - polling=0, interrupt=1, or adaptive=2
*/
define create_vhost_user_if
{
@@ -32,7 +31,6 @@ define create_vhost_user_if
u8 use_custom_mac;
u8 mac_address[6];
u8 tag[64];
- u8 operation_mode;
};
/** \brief vhost-user interface create response
@@ -51,7 +49,6 @@ define create_vhost_user_if_reply
@param client_index - opaque cookie to identify the sender
@param is_server - our side is socket server
@param sock_filename - unix socket filename, used to speak with frontend
- @param operation_mode - polling=0, interrupt=1, or adaptive=2
*/
autoreply define modify_vhost_user_if
{
@@ -62,7 +59,6 @@ autoreply define modify_vhost_user_if
u8 sock_filename[256];
u8 renumber;
u32 custom_dev_instance;
- u8 operation_mode;
};
/** \brief vhost-user interface delete request
@@ -83,7 +79,6 @@ autoreply define delete_vhost_user_if
@param is_server - vhost-user server socket
@param sock_filename - socket filename
@param num_regions - number of used memory regions
- @param operation_mode - polling=0, interrupt=1, or adaptive=2
*/
define sw_interface_vhost_user_details
{
@@ -96,7 +91,6 @@ define sw_interface_vhost_user_details
u8 sock_filename[256];
u32 num_regions;
i32 sock_errno;
- u8 operation_mode;
};
define sw_interface_vhost_user_dump