From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v4 03/10] eal: move virtual device probing into a bus Date: Mon, 13 Mar 2017 18:44:22 +0100 Message-ID: <25680512.cKYq4EqClA@xps13> References: <1488797809-12917-1-git-send-email-jblunck@infradead.org> <1488797809-12917-4-git-send-email-jblunck@infradead.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, david.marchand@6wind.com, shreyansh.jain@nxp.com, ferruh.yigit@intel.com To: Jan Blunck Return-path: Received: from mail-wm0-f47.google.com (mail-wm0-f47.google.com [74.125.82.47]) by dpdk.org (Postfix) with ESMTP id 536661396 for ; Mon, 13 Mar 2017 18:44:23 +0100 (CET) Received: by mail-wm0-f47.google.com with SMTP id n11so46344276wma.1 for ; Mon, 13 Mar 2017 10:44:23 -0700 (PDT) In-Reply-To: <1488797809-12917-4-git-send-email-jblunck@infradead.org> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 2017-03-06 11:56, Jan Blunck: > +static int > +vdev_scan(void) > +{ > + /* for virtual devices we don't need to scan anything */ > + return 0; > +} The vdev_scan could save the devargs. The vdev args are the equivalent of PCI BDF.