From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id C55E61B34E for ; Mon, 16 Oct 2017 07:41:29 +0200 (CEST) Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 15 Oct 2017 22:41:28 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.43,385,1503385200"; d="scan'208";a="163032884" Received: from unknown (HELO dpdk5.bj.intel.com) ([172.16.182.182]) by fmsmga005.fm.intel.com with ESMTP; 15 Oct 2017 22:41:27 -0700 From: Zhiyong Yang To: dev@dpdk.org Cc: ferruh.yigit@intel.com, yliu@fridaylinux.org, john.mcnamara@intel.com, Zhiyong Yang Date: Mon, 16 Oct 2017 13:41:21 +0800 Message-Id: <20171016054121.1031-1-zhiyong.yang@intel.com> X-Mailer: git-send-email 2.13.3 In-Reply-To: <20171010045102.11899-1-zhiyong.yang@intel.com> References: <20171010045102.11899-1-zhiyong.yang@intel.com> Subject: [dpdk-dev] [PATCH v3] doc: add virtio lsc note 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: Mon, 16 Oct 2017 05:41:30 -0000 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 Reviewed-by: John McNamara --- doc/guides/nics/virtio.rst | 7 +++++++ 1 file changed, 7 insertions(+) Changes in v3: Add a blank line and indent, and text is minor changed according to John's comments. Changes in v2: reword the doc and commit log. diff --git a/doc/guides/nics/virtio.rst b/doc/guides/nics/virtio.rst index 4d6a83768..af82f86e4 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 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -- 2.13.3