From e4dcba801ae7abeea7d8a9f5d0784a540a3c2bd8 Mon Sep 17 00:00:00 2001 From: Steven Date: Tue, 4 Apr 2017 16:56:54 -0700 Subject: vhost: interrupt mode enhancements - Add cpu index to the vring structure for quick lookup - Reduce the code that needs to be protected by vlib_worker_thread_barrier_sync - Set minimum timer no less than 1 ms Change-Id: Iafef4bf6879a8efb350abf4e0f517e38f7ff7a8b Signed-off-by: Steven --- src/vnet/devices/virtio/vhost-user.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/vnet/devices/virtio/vhost-user.h') diff --git a/src/vnet/devices/virtio/vhost-user.h b/src/vnet/devices/virtio/vhost-user.h index 67f18b8ed8e..80f58a20018 100644 --- a/src/vnet/devices/virtio/vhost-user.h +++ b/src/vnet/devices/virtio/vhost-user.h @@ -210,6 +210,7 @@ typedef struct u32 callfd_idx; u32 kickfd_idx; u64 log_guest_addr; + u32 interrupt_thread_index; } vhost_user_vring_t; #define VHOST_USER_POLLING_MODE 0 -- cgit 1.2.3-korg