From mboxrd@z Thu Jan 1 00:00:00 1970 From: "John W. Linville" Subject: Re: [PATCH] rte_pmd_init_all: initialize non-PCI PMDs provided by EAL Date: Fri, 11 Apr 2014 09:46:23 -0400 Message-ID: <20140411134623.GB15596@tuxdriver.com> References: <1397140907-17856-1-git-send-email-linville@tuxdriver.com> <5680509.vJ63cQx4Bi@xps13> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: dev-VfR2kkLFssw@public.gmane.org To: Thomas Monjalon Return-path: Content-Disposition: inline In-Reply-To: <5680509.vJ63cQx4Bi@xps13> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" On Fri, Apr 11, 2014 at 03:23:27PM +0200, Thomas Monjalon wrote: > Hi John, > > 2014-04-10 10:41, John W. Linville: > > These PMDs were being initialized by the EAL layer, but many apps were > > relying on the return value of rte_pmd_init_all to indicate that > > ethernet interfaces were available for use. Move the initialization of > > the non-PCI PMDs to this centralized function to have all of the PMDs > > treated equally. > > > > Signed-off-by: John W. Linville > > We are using constuctors to initialize these drivers. See the patches from > Olivier Matz. > The function rte_pmd_init_all() should be removed. So long as you make DPDK-based apps not die when only using non-PCI (i.e. "virtual") PMDs, I'll be happy... -- John W. Linville Someday the world will need a hero, and you linville-2XuSBdqkA4R54TAoqtyWWQ@public.gmane.org might be all we have. Be ready.