From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v2 07/11 2/2] vdev: allow external registration of virtual device drivers Date: Fri, 11 Apr 2014 16:31:30 +0200 Message-ID: <7057443.n3YKD3bqAr@xps13> References: <1460632.jOzC6OEr8u@xps13> <1397201813-26627-1-git-send-email-olivier.matz@6wind.com> <1397201813-26627-2-git-send-email-olivier.matz@6wind.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev-VfR2kkLFssw@public.gmane.org To: Olivier Matz Return-path: In-Reply-To: <1397201813-26627-2-git-send-email-olivier.matz-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" 2014-04-11 09:36, Olivier Matz: > The registration of an external vdev driver (a .so library) is done in a > function that has the ((constructor)) attribute. This function is called > when dlopen(driver.so) is invoked. > > As a result, we need to do the dlopen() before calling > rte_eal_vdev_init() that calls the initialization functions of all > registered drivers. > > Signed-off-by: Olivier Matz Acked-by: Thomas Monjalon Applied for version 1.6.0r2. Thank you -- Thomas