summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2021-07-11 12:12:51 +0000
committercinap_lenrek <cinap_lenrek@felloff.net>2021-07-11 12:12:51 +0000
commitad37339a1c39c90f51d273abe60f552d3900f752 (patch)
tree28f44d5f2d92a807e4003d4ff0fdbef8444a7816 /lib
parentf58d99aa7a97ba5f79af89f38b78d5924d4e35a2 (diff)
downloadplan9front-ad37339a1c39c90f51d273abe60f552d3900f752.tar.xz
vmx: reset virtio queue state on device reset
when a virtio device gets reset, we have to also reset the device shadow indices: availableidx and usedidx. for extra safetly, we also reset the buffer descriptor table addresses. this is accomplished by adding a vioqreset(VIOQueue*) function that brings the queue to its initial reset state. this fixes non functional ethernet after reboot(8).
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions