Received: by 10.223.185.116 with SMTP id b49csp2454690wrg; Thu, 22 Feb 2018 14:08:50 -0800 (PST) X-Google-Smtp-Source: AH8x226SE9DZ1Dl1JAUf58nB4ZXkIxw8EBE5Jc21F5Nnr4KOB3zfpU0sc/C+y73XsdkyPmVtuB5b X-Received: by 10.99.114.18 with SMTP id n18mr6746067pgc.169.1519337329931; Thu, 22 Feb 2018 14:08:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519337329; cv=none; d=google.com; s=arc-20160816; b=uajTPfZP7ocR58zEH5Baj2lcWiAhhhxgCws4lDuzqQh6gnoE/p0Q5KFpX/7Xyfyil1 CYO9QCKcQLgTP+EAbWPgZABCETySl8rUGAHdoXUL2ROR9190x+WOup15F/APZmgVULSq cwLZjOxVJdKdjz4lpn3scbLXgncSCH4+Nm7ALF1+Qk5/Qm4jHo4OeaNx9wvp2mmp3jt9 C013SRJJTAOzxYC7KIv0d3CVj1gjksyk+iMkDNHwYZQudQbNtCVDF4tCNyywL7DZuXsM kSqNtcbPlYyA599fIq939xi6RoBVHNh7y/kQEqA3w4bo6ichWfRGDL6xf790AKTu6uhR ZUUg== 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-transfer-encoding :content-id:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:cc:to:from :arc-authentication-results; bh=fj9vC5XOUMy/hoJ5Ki8mSGuY00PKgCElKPUjpvPt1yo=; b=X806gLz9G1vnZcXcGFU8oDUG+qNQarozs0Tg3EI4kniuxBsSBTFhLT5s1Ykv/UFm2k RzHOjSzPVRlxPlpNx5Gvf4aYceldzoeNckZujX0AKGZjjZBc6yGYOwLKsRDXa5zShzlo Cr/OnzUHN1sZFvv69Wne+XH1W1f9h0wBsAamumYppzpKbd2jCqV52R5j5WeZhGHsWsSW sHYZH0dGFNUIiz0C1dvnQ6Q0Oi1cGg3pOvLL9j7qZjMqPe/Hawc4KtoEbDwJD3Q2ZtpJ B8dp6imcdXHVoBnKfm2//TZykFpDGkF61KwVKcFlnp/6K48l+he/DNvCOyZ8zvPh5hVS OphQ== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 33-v6si674784plu.426.2018.02.22.14.08.33; Thu, 22 Feb 2018 14:08:49 -0800 (PST) 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751660AbeBVWHu convert rfc822-to-8bit (ORCPT + 99 others); Thu, 22 Feb 2018 17:07:50 -0500 Received: from mga05.intel.com ([192.55.52.43]:31776 "EHLO mga05.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751359AbeBVWHs (ORCPT ); Thu, 22 Feb 2018 17:07:48 -0500 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 22 Feb 2018 14:07:48 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.47,380,1515484800"; d="scan'208";a="32093970" Received: from orsmsx109.amr.corp.intel.com ([10.22.240.7]) by fmsmga004.fm.intel.com with ESMTP; 22 Feb 2018 14:07:47 -0800 Received: from orsmsx115.amr.corp.intel.com (10.22.240.11) by ORSMSX109.amr.corp.intel.com (10.22.240.7) with Microsoft SMTP Server (TLS) id 14.3.319.2; Thu, 22 Feb 2018 14:07:47 -0800 Received: from orsmsx101.amr.corp.intel.com ([169.254.8.72]) by ORSMSX115.amr.corp.intel.com ([169.254.4.94]) with mapi id 14.03.0319.002; Thu, 22 Feb 2018 14:07:46 -0800 From: "Rustad, Mark D" To: Christoph Hellwig CC: "virtio-dev@lists.oasis-open.org" , "netdev@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-pci@vger.kernel.org" , "Daly, Dan" , "alex.williamson@redhat.com" , "MRustad@gmail.com" , "alexander.duyck@gmail.com" , "mst@redhat.com" Subject: Re: [RFC PATCH V2] virtio_pci: Add SR-IOV support Thread-Topic: [RFC PATCH V2] virtio_pci: Add SR-IOV support Thread-Index: AQHTrAqohlH7raXrq0ab9Bfoe7ziTKOxgSiA Date: Thu, 22 Feb 2018 22:07:45 +0000 Message-ID: References: <20180222175250.97135.98386.stgit@mdrustad-mac04.local> <20180222182622.GA13815@infradead.org> In-Reply-To: <20180222182622.GA13815@infradead.org> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.233.81.27] Content-Type: text/plain; charset="us-ascii" Content-ID: Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > On Feb 22, 2018, at 10:26 AM, Christoph Hellwig wrote: > > Can we move this into common code as a a generic_sriov_configure > helper? Nothing is really virtio specific, and it seems like > some other drivers could also use it, e.g. ena or nvme. That seems like a good idea to me, especially if PCI developers concur. -- Mark Rustad, Networking Division, Intel Corporation