[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [virtio] [OASIS Issue Tracker] Updated: (VIRTIO-11) Method to stop activity on a queue?
OASIS Issues Tracker <email@example.com> 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.