From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by dpdk.org (Postfix) with ESMTP id ECE1F1B01E for ; Tue, 9 Jan 2018 13:59:05 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 150E920CA5; Tue, 9 Jan 2018 07:59:05 -0500 (EST) Received: from frontend1 ([10.202.2.160]) by compute1.internal (MEProxy); Tue, 09 Jan 2018 07:59:05 -0500 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; s= fm1; bh=A8ynQ5ZupwyY/0Zxq1AnpuVEiqAW7NSf8UVi5y9NW/k=; b=g3tvArdK KW2lMkEWhH7PySBndQY5/A2Ngt9zpaJq8ZpYsOz5Hn7Kq9KsY93IAAVV/NQcJFQF R0YN+xC4390GbLoy91XLQ6tdJmYh6jKNvqjnkybj4qnRunPizKRAyHnDGWNJtF1m b0zKW+a0+gycQt0lsnaFHmBF9wJIlBYKWEuivk7OOeItJBtGmddQp4M7evqp25MH jw9kQIZOdWCy3ef/+d91+C8eFFN4E3zbm83Nxu8qnB/on49XA8Hcmmnzpu8v3pfn 8GkzjycRiQao29ZxreOlxeGYDkQRTvCrClGfYGk8SZdUqCB+HpP07aKOaDLNK3wI X5IIWCMZoNRoNQ== 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; s=fm1; bh=A8ynQ5ZupwyY/0Zxq1AnpuVEiqAW7 NSf8UVi5y9NW/k=; b=Ejb4HhHzASZrp8uvTdEoE1inyqWgIEBA7QFpRAjdlnu56 PtV+r4KWyUzHGoNP1d8XMPXNEKt6x1C7qEM7CHYCKfJSrAliax9yEODfOuHwsvE1 p0XrNCTOpgP1EocbxqE0LvlwxRgsO6AT5ZimKVWaiCr5L3Fjw6NK3pB+Rq/7yw8Z 76Un3df625GS0inay71nQ4OTwm0SasdfQTMNR4Vi4JCIBx3Q2H/S2mxjbHNFGkRn KQclgCpnBn4kJnLwDUcPb0iQE0zUv4nzvmQuRgprwgSV/5wANxwieKkjfyVMLb5l fN2p/3+ZRheyBU+g+Uc4x9rizkGx0t1LJA5zPqgvw== X-ME-Sender: Received: from yliu-mob (unknown [115.150.10.63]) by mail.messagingengine.com (Postfix) with ESMTPA id AE6747E16A; Tue, 9 Jan 2018 07:59:03 -0500 (EST) Date: Tue, 9 Jan 2018 20:58:58 +0800 From: Yuanhan Liu To: "Yao, Lei A" Cc: "Chen, Junjie J" , "maxime.coquelin@redhat.com" , "Wang, Xiao W" , "Bie, Tiwei" , "dev@dpdk.org" Message-ID: <20180109125858.GI29540@yliu-mob> References: <1514310190-140916-1-git-send-email-junjie.j.chen@intel.com> <1515495828-190409-1-git-send-email-junjie.j.chen@intel.com> <2DBBFF226F7CF64BAFCA79B681719D953A3220A3@shsmsx102.ccr.corp.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2DBBFF226F7CF64BAFCA79B681719D953A3220A3@shsmsx102.ccr.corp.intel.com> User-Agent: Mutt/1.5.24 (2015-08-30) Subject: Re: [dpdk-dev] [PATCH v7] vhost: support virtqueue interrupt/notification suppression 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, 09 Jan 2018 12:59:06 -0000 On Tue, Jan 09, 2018 at 07:34:17AM +0000, Yao, Lei A wrote: > > > > -----Original Message----- > > From: Chen, Junjie J > > Sent: Tuesday, January 9, 2018 7:04 PM > > To: yliu@fridaylinux.org; maxime.coquelin@redhat.com; Wang, Xiao W > > ; Bie, Tiwei ; Yao, Lei A > > > > Cc: dev@dpdk.org; Chen, Junjie J > > Subject: [PATCH v7] vhost: support virtqueue interrupt/notification > > suppression > > > > The driver can suppress interrupt when VIRTIO_F_EVENT_IDX feature bit is > > negotiated. The driver set vring flags to 0, and MAY use used_event in > > available ring to advise device interrupt util reach an index specified > > by used_event. The device ignore the lower bit of vring flags, and send > > an interrupt when index reach used_event. > > > > The device can suppress notification in a manner analogous to the ways > > driver suppress interrupt. The device manipulates flags or avail_event in > > the used ring in the same way the driver manipulates flags or used_event in > > available ring. > > > > Signed-off-by: Junjie Chen > Tested-by: Lei Yao Applied to dpdk-next-virtio. Thanks. --yliu > VM2VM Iperf test has been executed with virtio-net driver after apply this patch. > No performance drop. > CPU: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz > Host OS: Ubuntu 16.04 > Guest OS: Ubuntu 16.04 > Kernel: 4.4.0