Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp2285996imm; Thu, 11 Oct 2018 08:00:27 -0700 (PDT) X-Google-Smtp-Source: ACcGV61DFdz8f7ORAR6/Bj6iP8dkJpuTK1EHLfBXgNrw9/ra3PxLCHFS+6FmswnZxIDZJrHtjZ2H X-Received: by 2002:a65:4145:: with SMTP id x5-v6mr1731021pgp.309.1539270027054; Thu, 11 Oct 2018 08:00:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539270027; cv=none; d=google.com; s=arc-20160816; b=ycefw2aSQYG6UclBs4mg0h/OF1pZBixusSe/g/ZnLFWyFMRnv5Dnavp/GBKYWqcNwX s9lhq0N1wI8eSEaCQ05DWf5gMnlUItOK6EY/uIAVP45CVb9IzXppfoDPhAOGauj1DZW+ 1+v9gMYW3wW4DNitoaaJnxIvbw4Tz2PBJ3Bmi8WWQYSn82bHRYkeWaQkoMSH241R3kEv i0zIZPEB+EmvMAeejFX0gnvdzhHkMv7j40w96ztImnqNrIUWyi6o3KMpCFdQpWmMlwP8 OirvoU3qEy1Gge29EI9koKrKJK9FK5yF3QWv7ZFu35QG4fcfFqFshLa6vGmHJx5lnufl iFPQ== 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-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=7hwHGJlk4mauQLkrDu81KZ8oZdnvNGdP6OJ/NDVT3cU=; b=hWfqXQoIGI3RbtrCWS+o+bBLYmVr98p/CUJRkGqxtL9U181Ed4sy7ZRFfaGsTM/ME3 YBTyZfg+sK0GRqZ6bhRBsAEyfzEhvBO0SMu2DbHl3JYc7wSfvo0v3Ryn42u1xFYB5cz2 QtjmlE1/7aKs4x6bw2RGi6K2DMo4lrWLABsE/pAzbpVQFruweqXlnRIVeClmNIlfT0Xx oKd5qNA9v9/Kd8vZsrVGy6kk/468Tpa4oRyarMMFxLUddvYHIf+hkhkPwNiXspuZ0bAJ JXH1v7Zm8C0WMv4pR5Xu4QNjtg6z04wNMnGo4g+Du6KCTNlYMBcknnGmw+EwI4Uc2yn0 Rbzw== 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 s6-v6si36395776pfd.59.2018.10.11.08.00.11; Thu, 11 Oct 2018 08:00:27 -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 S1728616AbeJKVmN (ORCPT + 99 others); Thu, 11 Oct 2018 17:42:13 -0400 Received: from mga01.intel.com ([192.55.52.88]:64212 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726537AbeJKVmM (ORCPT ); Thu, 11 Oct 2018 17:42:12 -0400 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 11 Oct 2018 07:14:49 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.54,368,1534834800"; d="scan'208";a="91137394" Received: from btwcube1.sh.intel.com (HELO debian) ([10.67.104.158]) by orsmga003.jf.intel.com with ESMTP; 11 Oct 2018 07:14:47 -0700 Date: Thu, 11 Oct 2018 22:13:31 +0800 From: Tiwei Bie To: "Michael S. Tsirkin" Cc: Jason Wang , virtualization@lists.linux-foundation.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, virtio-dev@lists.oasis-open.org, wexu@redhat.com, jfreimann@redhat.com, maxime.coquelin@redhat.com, zhihong.wang@intel.com Subject: Re: [virtio-dev] Re: [PATCH net-next v2 0/5] virtio: support packed ring Message-ID: <20181011141331.GA11650@debian> References: <20180907084509-mutt-send-email-mst@kernel.org> <20180910030053.GA15645@debian> <20180911053726.GA7472@debian> <20180912121457-mutt-send-email-mst@kernel.org> <20180913085919.GA42049@fbsd1.sh.intel.com> <98d6bd4d-45e2-4207-e961-782f649e0139@redhat.com> <20181010103335-mutt-send-email-mst@kernel.org> <20181011121221.GA27106@debian> <20181011094705-mutt-send-email-mst@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20181011094705-mutt-send-email-mst@kernel.org> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Oct 11, 2018 at 09:48:48AM -0400, Michael S. Tsirkin wrote: > On Thu, Oct 11, 2018 at 08:12:21PM +0800, Tiwei Bie wrote: > > > > But if it's not too late, I second for a OUT_OF_ORDER feature. > > > > Starting from in order can have much simpler code in driver. > > > > > > > > Thanks > > > > > > It's tricky to change the flag polarity because of compatibility > > > with legacy interfaces. Why is this such a big deal? > > > > > > Let's teach drivers about IN_ORDER, then if devices > > > are in order it will get enabled by default. > > > > Yeah, make sense. > > > > Besides, I have done some further profiling and debugging > > both in kernel driver and DPDK vhost. Previously I was mislead > > by a bug in vhost code. I will send a patch to fix that bug. > > With that bug fixed, the performance of packed ring in the > > test between kernel driver and DPDK vhost is better now. > > OK, if we get a performance gain on the virtio side, we can finally > upstream it. If you see that please re-post ASAP so we can > put it in the next kernel release. Got it, I will re-post ASAP. Thanks! > > -- > MST