diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2012-12-04 00:17:14 +0200 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2012-12-06 17:09:18 +0200 |
commit | 1280c27f8e29acf4af2da914e80ec27c3dbd5c01 (patch) | |
tree | 6b488908fab086a906656894801544210bd64335 /drivers/net/team | |
parent | 935cdee7ee159569b0aaa10bd9244660f6672b08 (diff) | |
download | talos-obmc-linux-1280c27f8e29acf4af2da914e80ec27c3dbd5c01.tar.gz talos-obmc-linux-1280c27f8e29acf4af2da914e80ec27c3dbd5c01.zip |
vhost-net: flush outstanding DMAs on memory change
When memory map changes, we need to flush outstanding
DMAs as they might in theory reference old memory addresses.
To do this simply stop initiating new DMAs
and wait for ubufs ref count to drop to 0.
Afterwards reset the count back to 1.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'drivers/net/team')
0 files changed, 0 insertions, 0 deletions