From: Zhiyong Yang Date: Mon, 16 Oct 2017 05:41:21 +0000 (+0800) Subject: doc: add virtio LSC note X-Git-Tag: spdx-start~1245 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=3a643acd4fcc22d3694978a96b0d1112d0a5e8c5;p=dpdk.git doc: add virtio LSC note Virtio PMD already has supported link status change(lsc), but VM which must be created by qemu 2.7.0 and above can support it when vhost user disconnects, since the capability to detect vhost user disconnection is introduced in qemu 2.7.0. The patch updates doc to let user know that. Signed-off-by: Zhiyong Yang Acked-by: John McNamara Acked-by: Yuanhan Liu --- diff --git a/doc/guides/nics/virtio.rst b/doc/guides/nics/virtio.rst index 4d6a837687..af82f86e4a 100644 --- a/doc/guides/nics/virtio.rst +++ b/doc/guides/nics/virtio.rst @@ -291,6 +291,13 @@ interrupt, Rx interrupts, and Tx interrupts. Config interrupt is used for notification of device configuration changes, especially link status (lsc). Interrupt mode is translated into Rx interrupts in the context of DPDK. +.. Note:: + + Virtio PMD already has support for receiving lsc from qemu when the link + status changes, especially when vhost user disconnects. However, it fails + to do that if the VM is created by qemu 2.6.2 or below, since the + capability to detect vhost user disconnection is introduced in qemu 2.7.0. + Prerequisites for Rx interrupts ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~