From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wg0-f42.google.com (mail-wg0-f42.google.com [74.125.82.42]) by dpdk.org (Postfix) with ESMTP id 18DA76931 for ; Fri, 11 Apr 2014 16:29:53 +0200 (CEST) Received: by mail-wg0-f42.google.com with SMTP id y10so5434338wgg.13 for ; Fri, 11 Apr 2014 07:31:31 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=cqODofxCryMVXInqizGoxe8mdcNtFRiuwUs72PLP0pc=; b=hKV30cn00iKEL661ov5SFkPBrOwh3GFJOjeSnOZp0/vW+kUquPTTCwWKAtV8zSGD4R GlATj3dFkJb5iBZccxOZzqdUTFx6d9jRPuWY/yHX6uPI47DNkLe/7gOJ3L0DY+2QfhAQ Ey8/tnRFRtpyOdTcMq5PZ82JfWSilWI2V6Ov7E5bI6xmZSfZpQVRNZUgiSRajqiVQcwe 9/6yxXs860qJ4wEgjFX2Q5LWYOM37dkWLPeLMnGvsKdeeQfT+6UPYYnlxixXCN0JPCF1 r3lfMY2qmbZ18hpa6GpQXypnG8aiCVj3MrIuOgIrYlKgKoPI4YJAHJsc06ml/+FQy9w1 MGqA== X-Gm-Message-State: ALoCoQmZHybMRQJxqkRQBp6DoFuv4jt0ul9zxGiVXWOaMo4hezMd/GckgL73EtQmLZUjEblzFlpU X-Received: by 10.180.106.168 with SMTP id gv8mr3789705wib.19.1397226691190; Fri, 11 Apr 2014 07:31:31 -0700 (PDT) Received: from xps13.localnet (6wind.net2.nerim.net. [213.41.180.237]) by mx.google.com with ESMTPSA id cu6sm11546707wjb.8.2014.04.11.07.31.29 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 11 Apr 2014 07:31:30 -0700 (PDT) From: Thomas Monjalon To: Olivier Matz Date: Fri, 11 Apr 2014 16:31:30 +0200 Message-ID: <7057443.n3YKD3bqAr@xps13> Organization: 6WIND User-Agent: KMail/4.12.3 (Linux/3.13.7-1-ARCH; KDE/4.12.3; x86_64; ; ) In-Reply-To: <1397201813-26627-2-git-send-email-olivier.matz@6wind.com> 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-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH v2 07/11 2/2] vdev: allow external registration of virtual device drivers X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Apr 2014 14:29:54 -0000 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