diff --git a/vm-virtio/src/queue.rs b/vm-virtio/src/queue.rs index 23b86991c..5c6532a16 100644 --- a/vm-virtio/src/queue.rs +++ b/vm-virtio/src/queue.rs @@ -548,6 +548,7 @@ impl Queue { } /// Return the value present in the used_event field of the avail ring. + #[inline(always)] pub fn get_used_event(&self, mem: &GuestMemoryMmap) -> Option> { let avail_ring = self.avail_ring; let used_event_addr =