| 141 | } |
| 142 | |
| 143 | static inline void |
| 144 | virtqueue_notify(struct virtqueue *vq) |
| 145 | { |
| 146 | /* |
| 147 | * Ensure updated avail->idx is visible to host. |
| 148 | * For virtio on IA, the notification is through io port operation |
| 149 | * which is a serialization instruction itself. |
| 150 | */ |
| 151 | VTPCI_OPS(vq->hw)->notify_queue(vq->hw, vq); |
| 152 | } |
| 153 | |
| 154 | /** |
| 155 | * Dump virtqueue internal structures, for debug purpose only. |
no outgoing calls
no test coverage detected