From mboxrd@z Thu Jan 1 00:00:00 1970 From: Antti Kantee Subject: Re: [PATCH] eal: add support for shared object drivers Date: Wed, 12 Jun 2013 14:58:13 +0200 Message-ID: <51B87065.2020600@iki.fi> References: <1371023487-23617-1-git-send-email-thomas.monjalon@6wind.com> <51B87027.40703@cs.hut.fi> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit To: dev-VfR2kkLFssw@public.gmane.org Return-path: In-Reply-To: <51B87027.40703-D3plGOiwsub1KXRcyAk9cg@public.gmane.org> 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 12.06.2013 09:51, Thomas Monjalon wrote: > From: Damien Millescamps > > Add an option to specify libraries to be loaded before probing the PCI. > > For instance, testpmd -d librte_pmd_xxx.so can be used to enable xxx driver > support on testpmd without any recompilation of testpmd. What's the use case? Unless I'm missing something, testpmd still needs an explicit rte_pmd_foo_init() call. It's of course not difficult to sprinkle some __attribute__((constructor))'s into the pmd's, but without doing that (or something equivalent), what's the purpose of the change?