Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp4635149imm; Wed, 30 May 2018 09:05:25 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLI4Mn7q3FmzdNHz6Jc2+ZI+LDCHjE9hgddTlcXEoV6hEBN++HWxd1c9/EWnyULYh04TfSs X-Received: by 2002:a65:6690:: with SMTP id b16-v6mr2702750pgw.326.1527696325853; Wed, 30 May 2018 09:05:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527696325; cv=none; d=google.com; s=arc-20160816; b=zu8h8/fnPA9IKiSA0Gr3/AQ5QpYbJOWslBc0izlH8KJ/lCSv7/BGg/aJ61ObVuNBgR Pzs6vJfXZ7ceITcIa6GMrAOYqnmfeM8cJ2Gxecm5509EYaMJul0x0TF1yl1m05yU6vFV DY4DLw4vsa4bxCKV8GkrhF/+4Qvsx1o95Pkoc6NqxXn5yyV/ak3reHdqDT+knVuyGEi3 tNQ5R06oHn0Ym4QowL9jjpEx4O2n2pk7L/Iv+pVKcEK+OZqEzFXbiEmaSpw/FvcqicNF MUcB09FWoVOA73uCMRcHWQvOIGppCDMR75WHcRWMhgRo9r96qE0yOP9qEygNxpEUJzQy Q9rw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-language :accept-language:in-reply-to:references:message-id:date:thread-index :thread-topic:subject:cc:to:from:arc-authentication-results; bh=G4ctuJQ4ymkbcAuQP/A2JPOahLmLKdeh3FaM7f4gspU=; b=f5iQ+l+F0V8PPbjjWeZvITOS4e9mPVwfcp3oKRDUfbquj0brZfEtf0rs+CywfDAs90 I0vNTGVple64Dx2GLvY+guXDMELE/TCEw2zkbL+FefZJwtKsvaTR4mlvMDazEXVhK6O9 ofxs2+EdTImR7ehBBKYz1EUp871HP3Y6Zb48q+c+u11WlqTeQeAXDbYMS/G/4VutBhbU 7F3vIk7G67slZ0saK6AtqQeM7M2XIy/7SPvBUBPC5kAXqAnsmqIAmUlp6bkuWi8vKzJZ udwfzZC7clcVed4beKGrPvWDILOJH4khHHqvaDfe6twsjb9w3ppDCB+f3+LC+SPMRv6o F6NQ== 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 f7-v6si34748779pfa.78.2018.05.30.09.05.10; Wed, 30 May 2018 09:05:25 -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 S1753740AbeE3QDk (ORCPT + 99 others); Wed, 30 May 2018 12:03:40 -0400 Received: from mga17.intel.com ([192.55.52.151]:39721 "EHLO mga17.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751623AbeE3QDj (ORCPT ); Wed, 30 May 2018 12:03:39 -0400 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 30 May 2018 09:03:38 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.49,461,1520924400"; d="asc'?scan'208";a="43991562" Received: from orsmsx105.amr.corp.intel.com ([10.22.225.132]) by fmsmga008.fm.intel.com with ESMTP; 30 May 2018 09:03:38 -0700 Received: from orsmsx113.amr.corp.intel.com (10.22.240.9) by ORSMSX105.amr.corp.intel.com (10.22.225.132) with Microsoft SMTP Server (TLS) id 14.3.319.2; Wed, 30 May 2018 09:03:38 -0700 Received: from orsmsx101.amr.corp.intel.com ([169.254.8.86]) by ORSMSX113.amr.corp.intel.com ([169.254.9.88]) with mapi id 14.03.0319.002; Wed, 30 May 2018 09:03:38 -0700 From: "Rustad, Mark D" To: "Bie, Tiwei" CC: "Michael S. Tsirkin" , 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 Thread-Topic: [virtio-dev] [PATCH] virtio_pci: support enabling VFs Thread-Index: AQHT9/P2dROWg+ft+kidDfH9t+Sz7qRI5PgA Date: Wed, 30 May 2018 16:03:37 +0000 Message-ID: References: <20180530085521.26583-1-tiwei.bie@intel.com> In-Reply-To: <20180530085521.26583-1-tiwei.bie@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: yes X-MS-TNEF-Correlator: x-originating-ip: [10.233.80.164] Content-Type: multipart/signed; boundary="Apple-Mail=_BAEA8DCF-7D8D-46E0-BF67-24CFA346618A"; protocol="application/pgp-signature"; micalg=pgp-sha256 MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --Apple-Mail=_BAEA8DCF-7D8D-46E0-BF67-24CFA346618A Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii; delsp=yes; format=flowed 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. > * transport being used (eg. virtio_ring), the rest are per-device feature > * bits. */ > #define VIRTIO_TRANSPORT_F_START 28 > -#define VIRTIO_TRANSPORT_F_END 34 > +#define VIRTIO_TRANSPORT_F_END 38 > > #ifndef VIRTIO_CONFIG_NO_LEGACY > /* Do we get callbacks when the ring is completely used, even if we've -- Mark Rustad, Networking Division, Intel Corporation --Apple-Mail=_BAEA8DCF-7D8D-46E0-BF67-24CFA346618A Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="signature.asc" Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- Comment: GPGTools - http://gpgtools.org iQIzBAEBCAAdFiEE6ug8b0Wg+ULmnksNPA7/547j7m4FAlsOy1gACgkQPA7/547j 7m76ZA//Y2LUMKR3vk+daXgmttHCcE/LQRNdsp+Ik27ahXsyWiUT77IJ2RPB0Mze J5LThGz0VlmeUFJ5vc1l3RutQoF4DTOo8j1V9U5TD+FG9K9jimJAjf2KQBOZngBx ui5BctfAfRkk3hHN35p9B5E8XuOOYGzfwUGFrqCse0tsz+v11s+NwZvtylt9vnDH 9wDK37Ot2gl/ufee/dRj6cRZXpbO3D4+7heiAx+UfqNGvCDwDII6xhslJAJNGAxt TtGgR5sWc6dm7Z02sMQS5IXonrBtZSOkk6Th6P0sAxkc/OiiWTNZjyvP39TM9AkM ZKpmXEDwyBaSgqGnrd4GordqXCh6DgVPI6APsKdfl8KNf0GZuFxmCtu8sugYOnA9 M2UYRppTV73vPB/jIMgo5ClDJ3LIsLeOlwr7oZcOBTzKqzj1YzLcuqAXasR4+rx/ oZjXMw77yHZbWHWCA2ErIa+Lgeu1xdfHJm/f7ExDQIgGUVKlXfbj2lE87ttm8Zdi yY02wOS2z05P2+xnawmEx/p94nQnVz6l4Vdgh48VqUU8g5kax3Zkxb4v8B9oVtDo uY+VJrfJ9VReziVzPfIqUAKaCciamvsbAytjRd0JyxALy2600iQZZxt67Z5CMBEp MIPoubbmknwnjWXJlDdpGNp24J4d0ZrftJSJtiqbw8TPZ7GcFSQ= =13w0 -----END PGP SIGNATURE----- --Apple-Mail=_BAEA8DCF-7D8D-46E0-BF67-24CFA346618A--