[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [RFC v2 12/13] vdpa: preemptive kick at enable
From: |
Michael S. Tsirkin |
Subject: |
Re: [RFC v2 12/13] vdpa: preemptive kick at enable |
Date: |
Sun, 5 Feb 2023 05:00:18 -0500 |
On Sat, Feb 04, 2023 at 03:04:02AM -0800, Si-Wei Liu wrote:
> For network hardware device, I thought suspend
> just needs to wait until the completion of ongoing Tx/Rx DMA transaction
> already in the flight, rather than to drain all the upcoming packets until
> avail_idx.
It depends I guess but if device expects to recover all state from just
ring state in memory then at least it has to drain until some index
value.