Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp63859imm; Thu, 31 May 2018 18:38:15 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKtCcu919AWLZSkGKXWzG67BynUP4X0c60pbG6RB8xM4SEc1Fs+JSi2j1KsJtfuqbgGZSSE X-Received: by 2002:a17:902:10c:: with SMTP id 12-v6mr9221493plb.252.1527817095899; Thu, 31 May 2018 18:38:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527817095; cv=none; d=google.com; s=arc-20160816; b=tttwvbI8UT+jsLK+o4haoyJRVuvL+qRE63qL782jEltNbgDnr5iMCet5vHEFe2kYay dPdX6yUfy66n4rIOxCPsLl1MMOLR6mReF5J7bAEH75GA1dDiokJYvilqF136EgNBCV2X HsjEfkqVy+1UE1eZWSu1abWfvfAwM2g67gUHtIOgjdNtBD28WEm7c4gpRmd7MOfY0QvQ DX2Pw+fIkDpuoXyxvYLbk8DujSPOqN6oJFiqHLL6xl4RwUoUAT/8vgfDWxvFokPVC9ob 10AXH1KpZUmKzBId9x2dI8MMI9JBwtlPuCCkIbDG76WIGZWf6n3QJxCwzQFhoMDSYt9o oOGw== 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:arc-authentication-results; bh=IU/2CjNLQdpwFAoIyybQc7mCjqEBtu7iVu5mh51WuRc=; b=w1JGswPOEDeP4Zh+Iit5O2OcOW7fegetUzAFYfmf3tPiRgixix/R5/v1nAiCAUUSZk PK6ils9yGI9/rOJNw2Qw3h0ChZA3ObyfYVIqqrWI8Y900rG0qSimj8i++kNrqwP2zjr8 WJ3WAyY0F/svhhK8zx1Qgey1m+mVSM8V2fKSiAeMegOJ0jDe0DxcUXKTPvsUD4N5Z+Ss nC5fstazgJFcU3L0vwqS8RCdAqGkQRCFDpiTO6+DdZ6er/Dk3gv7h2kQnV7MDDcD0OpZ WG9gfzlDgBzBMENSxUSOCeC3NgrzqRiZyC+woq+8/1dJOnmbgQG0Fv1PZ4W57p6S/CUK OYMA== 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 n6-v6si38020427pfi.360.2018.05.31.18.38.01; Thu, 31 May 2018 18:38:15 -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 S1751057AbeFABga (ORCPT + 99 others); Thu, 31 May 2018 21:36:30 -0400 Received: from mga14.intel.com ([192.55.52.115]:13195 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750996AbeFABg3 (ORCPT ); Thu, 31 May 2018 21:36:29 -0400 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 31 May 2018 18:36:28 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.49,464,1520924400"; d="scan'208";a="233670952" Received: from debian.sh.intel.com (HELO debian) ([10.67.104.203]) by fmsmga006.fm.intel.com with ESMTP; 31 May 2018 18:36:27 -0700 Date: Fri, 1 Jun 2018 09:36:43 +0800 From: Tiwei Bie To: "Michael S. Tsirkin" Cc: "Rustad, Mark D" , Bjorn Helgaas , "virtualization@lists.linux-foundation.org" , LKML , "virtio-dev@lists.oasis-open.org" , "linux-pci@vger.kernel.org" , "Daly, Dan" , "Duyck, Alexander H" , "Liang, Cunming" , "Wang, Zhihong" Subject: Re: [virtio-dev] [PATCH] virtio_pci: support enabling VFs Message-ID: <20180601013643.GA23128@debian> References: <20180530085521.26583-1-tiwei.bie@intel.com> <20180530190819-mutt-send-email-mst@kernel.org> <20180531025502.GA15516@debian> <20180601042004-mutt-send-email-mst@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20180601042004-mutt-send-email-mst@kernel.org> 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, Jun 01, 2018 at 04:21:03AM +0300, Michael S. Tsirkin wrote: > On Thu, May 31, 2018 at 10:55:02AM +0800, Tiwei Bie wrote: > > On Wed, May 30, 2018 at 07:09:37PM +0300, Michael S. Tsirkin wrote: > > > On Wed, May 30, 2018 at 04:03:37PM +0000, Rustad, Mark D wrote: > > > > On May 30, 2018, at 1:55 AM, Tiwei Bie wrote: > > > > > > > > > There is a new feature bit allocated in virtio spec to > > > > > support SR-IOV (Single Root I/O Virtualization): > > > > > > > > > > https://github.com/oasis-tcs/virtio-spec/issues/11 > > > > > > > > > > This patch enables the support for this feature bit in > > > > > virtio driver. > > > > > > > > > > Signed-off-by: Tiwei Bie > > > > > --- > > > > > This patch depends on below proposal: > > > > > https://lists.oasis-open.org/archives/virtio-dev/201805/msg00154.html > > > > > > > > > > This patch depends on below patch: > > > > > https://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci.git/commit/?h=pci/virtualization&id=8effc395c2097e258fcedfc02ed4a66d45fb4238 > > > > > > > > > > drivers/virtio/virtio_pci_common.c | 20 ++++++++++++++++++++ > > > > > drivers/virtio/virtio_pci_modern.c | 14 ++++++++++++++ > > > > > include/uapi/linux/virtio_config.h | 7 ++++++- > > > > > 3 files changed, 40 insertions(+), 1 deletion(-) > > > > > > > > > > > > > > > > > > > > > > diff --git a/include/uapi/linux/virtio_config.h > > > > > b/include/uapi/linux/virtio_config.h > > > > > index 308e2096291f..b7c1f4e7d59e 100644 > > > > > --- a/include/uapi/linux/virtio_config.h > > > > > +++ b/include/uapi/linux/virtio_config.h > > > > > @@ -49,7 +49,7 @@ > > > > > > > > There is a value in the comment directly before this that should > > > > be updated as well to be consistent with the new value for > > > > VIRTIO_TRANSPORT_F_END below. > > > > > > It hasn't been updated to 34 yet. > > > I suggest a separate patch to replace the numbers with > > > VIRTIO_TRANSPORT_F_START and VIRTIO_TRANSPORT_F_END > > > in the comment. > > > Maybe replace "e.g. virtio_ring" with "e.g. virtio_ring, > > > virtio_pci etc." as well. > > > > Good idea! Thanks for the suggestion! I'll do it. > > > > Best regards, > > Tiwei Bie > > Or just focus on the new feature, tweak start/end > as a separate patch. Up to you, the important thing > is to have a ready to roll patch before the merge > window. Got it! Thank you very much! Best regards, Tiwei Bie