From mboxrd@z Thu Jan 1 00:00:00 1970 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=0re6cnWFRSi7rqGFLzHUZNR5QIo3DZ+SIb1yxNaCZhM=; b=fVJzUcenFpI0bvcmJ3pxdIWH1Q8LoduZ7U3tTxj2j75ZyvQPwwOJEPqnYygu2ZFZan a3NezuUItvGVTnjeE1WT+AQm/0xrutRZFRrq+iJ4kGkhrJIMFnNeltNdpAIz5VV6ldG7 Sj/6ym5gSjLgkoLgMcVQUqPmdZ86On7rTwvZrCw3Efu9If3hTTX8zowxpxo51mPbSWOa arbapsRm5WF7Vw6DI1keeZeM4qV6HEMyQx+K5iifH3y+iz9VmwT60eypfdHjFfI1WP1t mYGLNh21kI1SgPbz9CiAn0mum1WWjbDkWLWURM0oU0cLr90oGErmoQVJ3bx6AMwCzDhO 01dw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=0re6cnWFRSi7rqGFLzHUZNR5QIo3DZ+SIb1yxNaCZhM=; b=T++0qwqlv2qxhsH8RsOYUzOnW8YBgHItksP3HgMsP9SIRX4Y2KEG6zrUCqHmhH67pI FnF2zzVcGyT8WnDrMDHtkJyAPymCj1skFFP93I3cmBO5NiAbWpyOIJ5jg+9PCTxWn4Hp 9HSMDXiiZnkjbKqax1gjR8lDqsJhcjfLBldqqdq7T2UQTG9m/1i2exId52hl3f1uU1sT P1AoBzQD+NrA1hejf+sM/Il1toxUJtxQEB5paFfnJwjlOjZ8JXneUfpDx/ZAHnjK+L/7 Q1e4n5umhp3MrQ1oAxWY8kutzf5aej0oR+0hFxtxywSQH7JDeZg8T3GUr932Pc/C+SP4 2a2Q== X-Gm-Message-State: AFeK/H2lloUBnCAp7EEexvFDw755Okekh3ykB2GCwUP/k+Zo80Ik43M/1oZ2A/RHlZ6hE9o3MLcOx56lc4zYcw== X-Received: by 10.28.140.135 with SMTP id o129mr8220073wmd.101.1490600786386; Mon, 27 Mar 2017 00:46:26 -0700 (PDT) MIME-Version: 1.0 Sender: jblunck@gmail.com Received: by 10.28.221.213 with HTTP; Mon, 27 Mar 2017 00:46:25 -0700 (PDT) In-Reply-To: <25680512.cKYq4EqClA@xps13> References: <1488797809-12917-1-git-send-email-jblunck@infradead.org> <1488797809-12917-4-git-send-email-jblunck@infradead.org> <25680512.cKYq4EqClA@xps13> From: Jan Blunck Date: Mon, 27 Mar 2017 09:46:25 +0200 X-Google-Sender-Auth: C72OlnlY2qWCFTof6Gabd3tELIk Message-ID: To: Thomas Monjalon Cc: dev , David Marchand , Shreyansh Jain , Ferruh Yigit Content-Type: text/plain; charset=UTF-8 Subject: Re: [dpdk-dev] [PATCH v4 03/10] eal: move virtual device probing into a bus X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Mar 2017 07:46:26 -0000 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.