From mboxrd@z Thu Jan 1 00:00:00 1970 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) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailnew.nyi.internal (Postfix) with ESMTP id 118E8118E; Mon, 9 Oct 2017 22:39:03 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute1.internal (MEProxy); Mon, 09 Oct 2017 22:39:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fridaylinux.org; h=cc:content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc :x-sasl-enc; s=fm1; bh=BXPadJENYyOHYb0KEZmVLpICyAwwtIk3hmHxDUvFU kQ=; b=LPNU830Tj6fBZ47Y/ESPb9QUFIguBVRXpkHPevn5o6TMniHRePi+rCVt3 9lyQgVOqhPXGRrHOcuhYqlqTu3HiQdoCUADVffWfDRg7XypOgh1pt1X4e30D0WBi aDA0y4wdwBNn1fN75eB6ddNt5eqENYRmQWmncL5rMCAeEgMuHnAggozjzd7Pv6aP Cy6IKhEsNOnMdj99oX7A3FAooKYc7muFoeynHIy9gAtkyiAKnwZ3w7X3BqXHrzfQ alEdz+2b2+fJec4KWD1SBIaW8ptl9Tl5qgdOYJh1RkCpabLNuOQ2siToOooMpqcM aBai16IdPi/PDXdEDouDbh3A/pHEA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=fm1; bh=BXPadJENYyOHYb0KEZ mVLpICyAwwtIk3hmHxDUvFUkQ=; b=nONUQguML9NRkSZAtHxT2JrLo4naGXbBa4 ntUZU1kIapQDESk1ZvZa29hfpdipjAl3Q0pI8h0YTD8OKAb4kHC+FGk9RrtTxMIT xtp+IjaXrmLtovCESxCd6H5hE2BCk5uYCZKI+iXHzzLVNtjCCqSRCaX23h/8e+wk B+f/M07XGEHZ+s41GxvuDM99SOeX/L1UOIHChFjS0yaYkk/39b4tRIv2zE/65dHC Vlxyvy/kUPj1qvsN5a/wLl4yXtylxvvRgr9aDuFd6Tf00ix8Om/91Ir/R+n7XE0T vhKtvzxMgPSH5ESj2GdQjdS7BRX79fv3WqPnP8zlb+L148tf7eLA== X-ME-Sender: X-Sasl-enc: lubvLRLkA9OF9qcBmM034HIQyf6MgDlKM5u4ArRotq3m 1507603142 Received: from yliu-home (unknown [222.64.172.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 0DCF924372; Mon, 9 Oct 2017 22:39:01 -0400 (EDT) Date: Tue, 10 Oct 2017 10:38:59 +0800 From: Yuanhan Liu To: Zhiyong Yang Cc: dev@dpdk.org, john.mcnamara@intel.com, ferruh.yigit@intel.com 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 Content-Disposition: inline In-Reply-To: <20171009035616.24482-1-zhiyong.yang@intel.com> User-Agent: Mutt/1.5.24 (2015-08-30) Subject: Re: [dpdk-dev] [PATCH] doc: virtio lsc hint X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Oct 2017 02:39:03 -0000 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