From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yuanhan Liu Subject: Re: [PATCH] doc: virtio lsc hint Date: Tue, 10 Oct 2017 10:38:59 +0800 Message-ID: <20171010023859.GO1545@yliu-home> References: <20171009035616.24482-1-zhiyong.yang@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: dev@dpdk.org, john.mcnamara@intel.com, ferruh.yigit@intel.com To: Zhiyong Yang Return-path: Received: from new2-smtp.messagingengine.com (new2-smtp.messagingengine.com [66.111.4.224]) by dpdk.org (Postfix) with ESMTP id 9837B199AE for ; Tue, 10 Oct 2017 04:39:03 +0200 (CEST) Content-Disposition: inline In-Reply-To: <20171009035616.24482-1-zhiyong.yang@intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Mon, Oct 09, 2017 at 11:56:16AM +0800, Zhiyong Yang wrote: > Virtio PMD has already the ability to support link status change(lsc), > but qemu 2.7.0 introduce the capability to detect vhost user > disconnection. So, virtio PMD which works with qemu 2.7.0 and above > can receive lsc when vhost user disconnects. The patch updates doc to > let user know that. Thanks for updating the doc. > > Signed-off-by: Zhiyong Yang > --- > doc/guides/nics/virtio.rst | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/doc/guides/nics/virtio.rst b/doc/guides/nics/virtio.rst > index 4d6a83768..c6f4e0ed2 100644 > --- a/doc/guides/nics/virtio.rst > +++ b/doc/guides/nics/virtio.rst > @@ -291,6 +291,10 @@ 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 which works with qemu 2.7.0 and above can support to receive lsc from qemu > +when vhost user disconnection happens since qemu 2.7.0 introduces the new capability to detect > +vhost user disconnection. I think it needs rewording. Also, use ".. Note::" mark for notes. --yliu > + > Prerequisites for Rx interrupts > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > -- > 2.13.3