From patchwork Mon Oct 9 03:56:16 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Yang, Zhiyong" X-Patchwork-Id: 29928 X-Patchwork-Delegate: yuanhan.liu@linux.intel.com Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 88E7D1B027; Mon, 9 Oct 2017 05:56:34 +0200 (CEST) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id DEEFA1AFE8 for ; Mon, 9 Oct 2017 05:56:32 +0200 (CEST) Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 08 Oct 2017 20:56:31 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.42,498,1500966000"; d="scan'208";a="158257078" Received: from unknown (HELO dpdk5.bj.intel.com) ([172.16.182.182]) by orsmga005.jf.intel.com with ESMTP; 08 Oct 2017 20:56:29 -0700 From: Zhiyong Yang To: dev@dpdk.org Cc: john.mcnamara@intel.com, ferruh.yigit@intel.com, yliu@fridaylinux.org, Zhiyong Yang Date: Mon, 9 Oct 2017 11:56:16 +0800 Message-Id: <20171009035616.24482-1-zhiyong.yang@intel.com> X-Mailer: git-send-email 2.13.3 Subject: [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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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. 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. + Prerequisites for Rx interrupts ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~