Re: [virtio] [OASIS Issue Tracker] Updated: (VIRTIO-11) Method to stop activity on a queue?

From
Rusty Russell <>
Date
2013-10-25T03:57:16+00:00
ID
Thread
Re: [virtio] [OASIS Issue Tracker] Updated: (VIRTIO-11) Method to stop activity on a queue?
OASIS Issues Tracker <> writes:
>      [ http://tools.oasis-open.org/issues/browse/VIRTIO-11?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
>
> Rusty Russell updated VIRTIO-11:
> --------------------------------
>
>     Description: 
> This has been requested for network devices before.
>
> In particular, in Linux when a network device is closed we leave the buffers in the receive queue, since we can't remove them without resetting the device.
>
>   was:This has been requested for network devices before.  Sometimes it would be useful to stop all queue activity; for example this would allow the driver to stop queue, process any pending interrupts, then pull buffers out of the queue.
>
>
> This is now available in the draft for PCI.

And it could be done for MMIO by setting QueuePFN to zero, though the
spec should specify that as allowed on a live device.

I'm not sure the best way to add this functionality to CCW.  Cornelia?

Cheers,
Rusty.