diff options
author | Steven <sluong@cisco.com> | 2017-04-04 16:56:54 -0700 |
---|---|---|
committer | Damjan Marion <dmarion.lists@gmail.com> | 2017-04-11 14:52:11 +0000 |
commit | e4dcba801ae7abeea7d8a9f5d0784a540a3c2bd8 (patch) | |
tree | 7db97685af23ffdbdccaa75ed6a45f8da98183fb /src/vnet/devices/virtio/vhost-user.h | |
parent | ecba903bcfc5046b0d8aee18433ab9fc09c6a68f (diff) |
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 <sluong@cisco.com>
Diffstat (limited to 'src/vnet/devices/virtio/vhost-user.h')
-rw-r--r-- | src/vnet/devices/virtio/vhost-user.h | 1 |
1 files changed, 1 insertions, 0 deletions
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 |