From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qt0-f178.google.com (mail-qt0-f178.google.com [209.85.216.178]) by dpdk.org (Postfix) with ESMTP id BD1EB2BF5 for ; Tue, 11 Apr 2017 20:02:44 +0200 (CEST) Received: by mail-qt0-f178.google.com with SMTP id n46so4253696qta.2 for ; Tue, 11 Apr 2017 11:02:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=atomicrules-com.20150623.gappssmtp.com; s=20150623; h=from:content-transfer-encoding:subject:message-id:date:to :mime-version; bh=pBqWmkEvZfGsHjCmTszCVfSbqgAISJRfoe54vaCNsnY=; b=terdasze9bCCoMvjkF2nBbXjCQWSHzx4dkGgFAmZgTrXu7tTgq8cLAjsax+GmTsPzA oPUehdV+1Ynu2xt0q3pCQ0VAc8jKayCdo6R7oWgpXvbV6nzscgewbEMEF1qUGo1N2Uf6 gvSEz8LUhUGZgdqfQB+GpkG0P4PzIrWgQP0JYib2U3SLTHZMY2iNJHkAK+oreDmtIQFY jusFXJwG/KsnbcmHD8nKCCDnaWs5XRHq7quVSJSjnboBncb+mWaPH0cOltLrFX7QjT4S HWLNNLaKFdtgwRHq1ePg83f9WMwlWwGc+fv2lnkchWeL98a7wVRzWRE9OuxPIjuqhDZk Efsw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:content-transfer-encoding:subject :message-id:date:to:mime-version; bh=pBqWmkEvZfGsHjCmTszCVfSbqgAISJRfoe54vaCNsnY=; b=n77mxfJR3Ru9FRZLoWVTnEg63a+h45zOz1JYXXInlcKSVSZG4IYzaRdqPEe9y+5jUf B8BwcR9wpY8wztRo/JeydLtBHhpl61dYtmTRZP5bNP69mMF0FMjJhA9wciXdnYsAOCIE OQywIKYMmOKoBCwqI46GlnGB0WAkkKeJc94QdU5FMw9I0n4mv2r720VETBuaqkf/tbf9 OdE8gnua65+46Bc9vhh8vF7fY4HHWu9/nj7DSnkUW3Kot9WcPPT8ADvRg/4mOHFqn5yX ItIsNRpA7wNXTxwnmzazsz1MS3wG3tQS6j7oUYRs8jl4FP5aSZwaZiZVBluFGv5Cq35w 2nGA== X-Gm-Message-State: AN3rC/7C68mlSL+GI5lpHYgj+M1JITnB0B1IxOc3r5UKs8ckP8IUlE5xOwzqvg6U7Ue32A== X-Received: by 10.200.3.105 with SMTP id w41mr11705234qtg.188.1491933763091; Tue, 11 Apr 2017 11:02:43 -0700 (PDT) Received: from [192.168.0.15] (h66-222-104-162.cntcnh.broadband.dynamic.tds.net. [66.222.104.162]) by smtp.gmail.com with ESMTPSA id f56sm11530577qta.14.2017.04.11.11.02.41 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 11 Apr 2017 11:02:42 -0700 (PDT) From: john miller Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Message-Id: <357262EF-AA7B-4064-963E-FF130E4607E6@atomicrules.com> Date: Tue, 11 Apr 2017 14:02:40 -0400 To: dev@dpdk.org Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) X-Mailer: Apple Mail (2.2104) Subject: [dpdk-dev] error in testpmd when CONFIG_RTE_BUILD_SHARED_LIB=y X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Apr 2017 18:02:45 -0000 We are seeing an issue when running from the head of the master branch = in dpdk-next-net and building with CONFIG_RTE_BUILD_SHARED_LIB=3Dy. = When we run testpmd using -d to point to our PMD we get this error EAL: Error - exiting with code: 1 Cause: Creation of mbuf pool for socket 0 failed: Invalid argument This error occurs as a result of the rte mempool ops table having 0 = entries. This table is populated from a call to = rte_mempool_register_ops(). This function gets called in = rte_mempool_ring.c via the static initialization MACRO = MEMPOOL_REGISTER_OPS and exists in librte_mempool_ring.so. However this = library is not loaded when the rte_eal_init() gets called so the static = initializers are not yet loaded. =20 I am requesting advice on the proper way to repair this. Thank you, -John