From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jan Blunck Subject: Re: [PATCH v4 03/10] eal: move virtual device probing into a bus Date: Mon, 27 Mar 2017 09:46:25 +0200 Message-ID: References: <1488797809-12917-1-git-send-email-jblunck@infradead.org> <1488797809-12917-4-git-send-email-jblunck@infradead.org> <25680512.cKYq4EqClA@xps13> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Cc: dev , David Marchand , Shreyansh Jain , Ferruh Yigit To: Thomas Monjalon Return-path: Received: from mail-wr0-f170.google.com (mail-wr0-f170.google.com [209.85.128.170]) by dpdk.org (Postfix) with ESMTP id A0192FA31 for ; Mon, 27 Mar 2017 09:46:26 +0200 (CEST) Received: by mail-wr0-f170.google.com with SMTP id l43so42819066wre.1 for ; Mon, 27 Mar 2017 00:46:26 -0700 (PDT) In-Reply-To: <25680512.cKYq4EqClA@xps13> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Mon, Mar 13, 2017 at 6:44 PM, Thomas Monjalon wrote: > 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. In a later patch ("eal: make virtual bus use rte_vdev_device") the vdev_scan() is creating the list of devices based on the devargs.