From mboxrd@z Thu Jan 1 00:00:00 1970 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:user-agent:in-reply-to :references:mime-version:content-transfer-encoding; bh=3pqS/pxnVZIlx7vWeYWfIV8+ji/i5VWfaQeBvbCR578=; b=0eR6HYwMEVDk1Qtw2/yz0hrMS0jen5z1fTXFjaPpLDSYTms6jL9FTi4PlqguZHX65N 7/XXfU8O8N7tWbuJVdJ6p5AG0DM0wKc0vu3Rorf/tuU7Iu6q+ERzNqoW0NsExPMpXGox zXScIIf+PDIm85nfijkvfPF4VVty78Jhx4ZPhyi8wIOKbf/ZjT7NStcVOP0zPcSAYBOO 9Wl7nHhSXNEMxEUAZPCIEdvN3riTkaD1jIhChHD79yC2kX/lqba1CGfOch7ixygtr2Sn SMvZ6EXgIXp1ztcu85AtUx40lO4VCpDnn59TDWXqgD9p13e9gtzJifVWDeTHOFyZ1IMB pR4g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=3pqS/pxnVZIlx7vWeYWfIV8+ji/i5VWfaQeBvbCR578=; b=cga4hRchIT2ImDlVMh1/l5LrmyJLdTa5dm3UW6DjR2cEsTeapI+WcJ89aZ9eBmz0lm UYtutaJ7erj5YOW37ArAMsE5S4mh+qwCqMy3EvNUktx4lnr79BFmiCh2VcyK6dCxnh8I lpFKtiNSN/bs/2vp7Iblwp1jbVftpYkvE6woEKG4NUhi9ac4RZZt2gmJfuQxzlhHJpQA btDptpfR/VXQj42WE+hGSTiIGpUwmwsu0Wh88g0IfbveILDh5QMlJ+drXbhz6eizKa4s LNqSsp6WIghjCXrkOXLmo36oGZHVQqDt2fCVV0g/do0GxhdUk4Lbz58Mj7OXa7WouiWR UssQ== X-Gm-Message-State: AFeK/H0FB+LRYXhmchBVCdkh+pTzN5wXvb4uVclGDjgao/jAUgIpW4H8R73Nr2xMyRpgLQVd X-Received: by 10.28.214.146 with SMTP id n140mr10679116wmg.58.1489427063824; Mon, 13 Mar 2017 10:44:23 -0700 (PDT) Received: from xps13.localnet (184.203.134.77.rev.sfr.net. [77.134.203.184]) by smtp.gmail.com with ESMTPSA id 61sm25847842wrs.29.2017.03.13.10.44.22 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 13 Mar 2017 10:44:23 -0700 (PDT) From: Thomas Monjalon To: Jan Blunck Cc: dev@dpdk.org, david.marchand@6wind.com, shreyansh.jain@nxp.com, ferruh.yigit@intel.com Date: Mon, 13 Mar 2017 18:44:22 +0100 Message-ID: <25680512.cKYq4EqClA@xps13> User-Agent: KMail/4.14.10 (Linux/4.5.4-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <1488797809-12917-4-git-send-email-jblunck@infradead.org> References: <1488797809-12917-1-git-send-email-jblunck@infradead.org> <1488797809-12917-4-git-send-email-jblunck@infradead.org> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" 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, 13 Mar 2017 17:44:24 -0000 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.