[dpdk-dev] [PATCH 4/6] vhost: workaround stale vring base

Xie, Huawei huawei.xie at intel.com
Tue May 10 10:21:50 CEST 2016


On 5/7/2016 2:36 PM, Yuanhan Liu wrote:
> When DPDK app crashes (or quits, or gets killed), and when QEMU supports
> reconnecting (patches have been sent, not merged yet), a restart of DPDK
> app would get stale vring base from QEMU. That would break the kernel
> virtio net completely, making it non-work any more, unless a driver reset
> is done.

s/DPDK app/DPDK vhost/

DPDK app is confusing

>
> So, instead of getting the stale vring base from QEMU, Huawei suggested
> we could get a proper one from used->idx.
>
> Cc: "Michael S. Tsirkin" <mst at redhat.com>
> Suggested-by: "Xie, Huawei" <huawei.xie at intel.com>
> Signed-off-by: Yuanhan Liu <yuanhan.liu at linux.intel.com>

Acked-by: Huawei Xie <huawei.xie at intel.com>


More information about the dev mailing list