From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yuanhan Liu Subject: Re: [PATCH] net/virtio-user: fix LSC not working Date: Wed, 19 Apr 2017 10:14:04 +0800 Message-ID: <20170419021404.GT7333@yliu-dev.sh.intel.com> References: <1492150230-131946-1-git-send-email-jianfeng.tan@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: dev@dpdk.org To: Jianfeng Tan Return-path: Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id 529951077 for ; Wed, 19 Apr 2017 04:17:14 +0200 (CEST) Content-Disposition: inline In-Reply-To: <1492150230-131946-1-git-send-email-jianfeng.tan@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 Fri, Apr 14, 2017 at 06:10:30AM +0000, Jianfeng Tan wrote: > Previously, we miss to set intr_handle->fd which will be used as > target file for epoll to check LSC. > > As a result, stdin (0) is used and intr thread keeps busy whenever > data comes from stdin. > > To fix this, we use vhostfd as the target file for epoll to check > the link status change events. And we move intr_handle initialization > after vhost backend settup to make sure vhostfd is initialized. > > Fixes: 35c4f8554833 ("net/virtio-user: support to report net status") > > Signed-off-by: Jianfeng Tan Applied to dpdk-next-virtio. Thanks. --yliu