MCPcopy Create free account
hub / github.com/F-Stack/f-stack / virtqueue_disable_intr_packed

Function virtqueue_disable_intr_packed

dpdk/drivers/net/virtio/virtqueue.h:319–327  ·  view source on GitHub ↗

* Tell the backend not to interrupt us. Implementation for packed virtqueues. */

Source from the content-addressed store, hash-verified

317 * Tell the backend not to interrupt us. Implementation for packed virtqueues.
318 */
319static inline void
320virtqueue_disable_intr_packed(struct virtqueue *vq)
321{
322 if (vq->vq_packed.event_flags_shadow != RING_EVENT_FLAGS_DISABLE) {
323 vq->vq_packed.event_flags_shadow = RING_EVENT_FLAGS_DISABLE;
324 vq->vq_packed.ring.driver->desc_event_flags =
325 vq->vq_packed.event_flags_shadow;
326 }
327}
328
329/**
330 * Tell the backend not to interrupt us. Implementation for split virtqueues.

Callers 1

virtqueue_disable_intrFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected