From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f68.google.com (mail-wm0-f68.google.com [74.125.82.68]) by dpdk.org (Postfix) with ESMTP id 59475282 for ; Wed, 15 Feb 2017 18:06:50 +0100 (CET) Received: by mail-wm0-f68.google.com with SMTP id c85so9217068wmi.1 for ; Wed, 15 Feb 2017 09:06:50 -0800 (PST) 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:content-transfer-encoding; bh=Yznsk6zbbJxEDXId7UszM/qnJA6ml1G+y6t1l48T7Hw=; b=BX1dPbRwYjy3RaIfrU+S9nfKIaRS/EjS/TcsG7J5mC3NyO4Ic2Zm04Wcs73MFVIF/9 2efHeiDIskEMxk8bWdorTJk16l3FYZfkoPLJQzzBL3RCVMOusCr6BXi5HFaHNdaqrDM0 I53ssmoZkBRYWAfsmzeTobA5+jU5Fnx2Qoqa2cEuUdwo9yeR+4mC17hOZIt5ujeUb9m+ vBmd5zBvkeZLSEX8q/qldR2P0/3dCDP1eoLsHsGf3M1LWo4UD8xmJ1lACE0bTvPp51g+ CfTUExUbTqTDl63YMss7C0KmzvSkJXdmhZhbML0FoIaSnwuEKbqqWruNgDYH2XPU1/xh MYpQ== 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:content-transfer-encoding; bh=Yznsk6zbbJxEDXId7UszM/qnJA6ml1G+y6t1l48T7Hw=; b=USMHTP89VcuvNSJajPU9QNzuuaAtZXfbfpKDSFVGhDlyTFLDidDGvsbb37lmUDWUbc ObPSzwVmaW4CyPNn7AjSuc32h9H8dKekexUgcXPUgTkyGvGZCNZnam5bd+w+JpG8fvwV h+zx0kR5YRH0Yt96Tp/FZK2HJq21iGmDQVJQGgGlRB0Fxh+j2NUrT6oot1adjiBH2x49 hDJavTcQMV5DWdyuuBG/gwSbGt4TWrr+SyyhYGqiR0Kic3YpyPceGFgUntb2zh/ZaqDm nelBd239PJA+7hweX4Vei6lqdlje0a6Y+j/Zv4swosxCxITV5ckCqgbI1yQ01kIixGMe hSoA== X-Gm-Message-State: AMke39kL0REE1A+K0nYRta6WdlI5qFnqYil1Q7o+lmA3edJ0Fb+CgYu8Qx+qVlu48f+B4aLUJmK9qc6KNtE2VA== X-Received: by 10.28.131.72 with SMTP id f69mr9496942wmd.140.1487178410096; Wed, 15 Feb 2017 09:06:50 -0800 (PST) MIME-Version: 1.0 Sender: jblunck@gmail.com Received: by 10.28.211.20 with HTTP; Wed, 15 Feb 2017 09:06:49 -0800 (PST) In-Reply-To: <7843A545-14B6-4CD9-9689-ABD123B85890@intel.com> References: <1487152929-23627-1-git-send-email-jblunck@infradead.org> <1487152929-23627-4-git-send-email-jblunck@infradead.org> <485202cf-3644-5ee9-45b5-d443569bf5b5@nxp.com> <7843A545-14B6-4CD9-9689-ABD123B85890@intel.com> From: Jan Blunck Date: Wed, 15 Feb 2017 18:06:49 +0100 X-Google-Sender-Auth: 1jcTIFNks8OXHYXQ29ckZGKuBgg Message-ID: To: "Wiles, Keith" Cc: Shreyansh Jain , "dev@dpdk.org" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [dpdk-dev] [PATCH 3/7] 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: Wed, 15 Feb 2017 17:06:50 -0000 On Wed, Feb 15, 2017 at 3:22 PM, Wiles, Keith wrote= : > >> On Feb 15, 2017, at 8:15 AM, Shreyansh Jain wro= te: >> >> >> Just ignore this comment - I am misunderstood something. >> >> But another question: Is there specific reason VDEV should be registered= /scanned *after* other devices? Is there some specific problem if we do oth= erwise? (I think this is should be done, but I don't have a specific reason= ). > Just for context: the vdev's are probed after the physical devices because of commit f4ce209a ("eal: postpone vdev initialization"). > Does the bonding driver which uses physical devices need to be registered= after physical ones? In Pktgen I noticed the vdev after the physical ports= and I could not blacklist them as the bonding driver needed them, which ca= used the bonding ports to have a greater port number. In the case of pktgen= the bonding ports were up around 8 or 10 and caused the display to not sho= w the bonding ports. This is really just a usability problem for the develo= per using Pktgen. I would like to see the vdev devices first, but as long a= s the drivers (like bonding) are fine with them being first. > The bonding devargs might specify slaves that get attached during device probe. If the referenced devices are physical interfaces we need to probe them first. This is really a chicken-egg-problem. Maybe you could improve the usability in your case and sort the virtual devices first or even hide enslaved ports?