Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp2968506imm; Thu, 24 May 2018 20:08:06 -0700 (PDT) X-Google-Smtp-Source: AB8JxZoO3kyhQwRcu9FacUqD5PBoJVEpGsL6g2OpQ4Gb3+s8RS2Jl8NOuzOCEPXmCPShmQid+Hth X-Received: by 2002:a17:902:b946:: with SMTP id h6-v6mr706877pls.3.1527217686700; Thu, 24 May 2018 20:08:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527217686; cv=none; d=google.com; s=arc-20160816; b=RabjPmKuGoiqnhynFdEbQyZaiKNh75coAcXTcCasoz/nk+5i1JRsZW/KSZzH91RQv1 l0hvaQDx8c6WYj3nAdvfIt4g1AnQ4z/xTtzfs+xCG2LXsJ5iyRK/dmFwCJThR3jgxla/ 6AF1d+xxMQ5QFJXpZZuaxVyL77BEbl8VOY/gu7uqCTyarorNWGrZuf3fBTX8C8ITVOuG UqVR7Lwr/T/D0iLjeJw0qVpzY57etL4w6j/dGXUqvgueLFOPUJht7yPGDISt0vZCZF9h psjL8q4HSaRaHViX3TQHQemKYIl+uRhjnNHQ5LYJ7bSMnrR6efzEK6enZvsU8/cIRMiD K/AQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date :arc-authentication-results; bh=gto6j1tfK99Az4IrkIzLMC0t9fA18/xTQDZ0aD48WAM=; b=wZ8KcDBzMbc+oEdTQJZtZn3obj+MKLlo1WnikLhvmPH+OeF9FJqt69Vfssr/tgNclf LHMsJgrVMo3RKGarxnXjMtj74JcSszqj8MzTXWmZuSQTRzppYwWSdRF3Xr6Pb2Q2y77f Bx4po2cHyYweYGqEqGoVb0XD7XmIBxQuWdgby2O2k7Wh80BYiyzACQe2go+XOWxM4IzI CSLXoMkhrqjRsZyAAtNZEOGfb6TDDPTaK4TCPU2Jra8PyQ4ouaaxOKqNQ0US3kszlSSy AMv71XaOmBMHOrDEYw2jPUiT8A0tIrTV8xvTwiGbjeXfLuOUfupF+pgnFA/qVBUaNXI8 FcBA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k8-v6si13457359plt.410.2018.05.24.20.07.51; Thu, 24 May 2018 20:08:06 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754174AbeEYDHh (ORCPT + 99 others); Thu, 24 May 2018 23:07:37 -0400 Received: from mga11.intel.com ([192.55.52.93]:33209 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751768AbeEYDHg (ORCPT ); Thu, 24 May 2018 23:07:36 -0400 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 24 May 2018 20:07:35 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.49,438,1520924400"; d="scan'208";a="202317656" Received: from debian.sh.intel.com (HELO debian) ([10.67.104.203]) by orsmga004.jf.intel.com with ESMTP; 24 May 2018 20:07:34 -0700 Date: Fri, 25 May 2018 11:07:55 +0800 From: Tiwei Bie To: Jason Wang Cc: mst@redhat.com, virtualization@lists.linux-foundation.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, wexu@redhat.com, jfreimann@redhat.com Subject: Re: [RFC v5 0/5] virtio: support packed ring Message-ID: <20180525030754.GA11557@debian> References: <20180522081648.14768-1-tiwei.bie@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.9.5 (2018-04-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, May 25, 2018 at 10:31:26AM +0800, Jason Wang wrote: > On 2018年05月22日 16:16, Tiwei Bie wrote: > > Hello everyone, > > > > This RFC implements packed ring support in virtio driver. > > > > Some simple functional tests have been done with Jason's > > packed ring implementation in vhost (RFC v4): > > > > https://lkml.org/lkml/2018/5/16/501 > > > > Both of ping and netperf worked as expected w/ EVENT_IDX > > disabled. Ping worked as expected w/ EVENT_IDX enabled, > > but netperf didn't (A hack has been added in the driver > > to make netperf test pass in this case. The hack can be > > found by `grep -rw XXX` in the code). > > Looks like this is because a bug in vhost which wrongly track signalled_used > and may miss an interrupt. After fixing that, both side works like a charm. > > I'm testing vIOMMU and zerocopy, and will post a new version shortly. (Hope > it would be the last RFC version). Great to know that. Thanks a lot! :) Best regards, Tiwei Bie