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 17:12:55 +0200 Message-ID: <51B88FF7.7060701@iki.fi> References: <1371023487-23617-1-git-send-email-thomas.monjalon@6wind.com> <51B87027.40703@cs.hut.fi> <51B87065.2020600@iki.fi> <51B88BA7.9080605@6wind.com> 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: <51B88BA7.9080605-pdR9zngts4EAvxtiuMwx3w@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 16:54, Olivier MATZ wrote: >> 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 > > Yes, you need to do it in the pmd's constructor. Ok, I thought it had to be called after eal_init(). Still, unifying the init conventions would be nice. One other question popped to mind, not strictly related to the patch: does anyone have approximate numbers on the performance penalty of using PIC for pmd's?