From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f49.google.com (mail-wm0-f49.google.com [74.125.82.49]) by dpdk.org (Postfix) with ESMTP id 8EFC38E9E for ; Fri, 4 Dec 2015 18:08:37 +0100 (CET) Received: by wmec201 with SMTP id c201so83565362wme.0 for ; Fri, 04 Dec 2015 09:08:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:subject:date:message-id; bh=rWC+VlBqUawoAPouU2KLg+rfz6tUv7gpUvYNXLl3N2U=; b=FmCHOxWaYPqCavOj7zDbvoOyNv1Pxdbk05K9lwdP494PXz0q+wSdxZUM4y3wETGtYt Nfr+NJXpvLsbSzTwYTsopK8wqsvQAIon35OXEF9OkikxE8f71uX2xo18nKwBPpfsjwT0 zDDjWaw07r9Hz5MyDnbh87EsGAdcQ/bqPw8CFoFuUQFBcnYJLaRsiNFMLFdjJMD2Cbae CNrHy3Qt5gCREyfyH6XPd+Tbye1HPLJohX4BufKuBLQj5//YF3B2J0hQY4xdVMDj6W+w p3pMYi5Q5OjuEnimDioXjXVmTei8CoQHhWtUlGU3Ev4EwXOI/JCoh7SmUPKSH5RKDofV YYgQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:message-id; bh=rWC+VlBqUawoAPouU2KLg+rfz6tUv7gpUvYNXLl3N2U=; b=K/7lPEJa1F4xhj/aOLjLNxvoQt3qceijgubALgfGo9Ayj3Aylx/mjmoTJgMRDtUljV g76kZg8U1Ezl5AezMg5lfEwPdrK36wb4VHxJxCyU2Up07NIeaHy+8itTeRhOc/cabzrH em+XU0gEO93ndDraF+XKRqf05ndcaG+Z5btVURD0PaeybS7oOBStM0JbFuzmmpzrcrU/ Uq4U8dEvx4yvE1ohHS4rJuVsTVB5f04OIWdsLvoPqeCdSTPvjCl7tx56OJS/uaYRhKS1 /n0GOigerW/C9UQTJ/7604n88/dnl7w/bdRTzOu4SghsRVVoFAmacrQtT+z0LZrZXS9I Kuew== X-Gm-Message-State: ALoCoQkha8l/FaFJGk54AS3tU77slkgGQIv1JeHk0xZiMrRR2y40hNqFVuINloTXZXkz4pMYWfgl X-Received: by 10.194.84.66 with SMTP id w2mr18265379wjy.179.1449248917371; Fri, 04 Dec 2015 09:08:37 -0800 (PST) Received: from localhost.localdomain (136-92-190-109.dsl.ovh.fr. [109.190.92.136]) by smtp.gmail.com with ESMTPSA id gl4sm12931539wjd.17.2015.12.04.09.08.36 for (version=TLSv1/SSLv3 cipher=OTHER); Fri, 04 Dec 2015 09:08:36 -0800 (PST) From: Thomas Monjalon To: dev@dpdk.org Date: Fri, 4 Dec 2015 18:07:23 +0100 Message-Id: <1449248843-12070-1-git-send-email-thomas.monjalon@6wind.com> X-Mailer: git-send-email 2.5.2 Subject: [dpdk-dev] [PATCH] mempool: fix mlx driver loading 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, 04 Dec 2015 17:08:37 -0000 The function rte_mempool_obj_iter used in mlx drivers was not exported. So the driver loading was failing: EAL: open shared lib librte_pmd_mlx4.so EAL: x86_64-native-linuxapp-gcc/lib/librte_pmd_mlx4.so: undefined symbol: rte_mempool_obj_iter Fixes: 9d41beed24b0 ("lib: provide initial versioning") Signed-off-by: Thomas Monjalon --- doc/guides/rel_notes/release_2_2.rst | 5 +++++ lib/librte_mempool/rte_mempool_version.map | 1 + 2 files changed, 6 insertions(+) diff --git a/doc/guides/rel_notes/release_2_2.rst b/doc/guides/rel_notes/release_2_2.rst index 511d7a0..551ff7d 100644 --- a/doc/guides/rel_notes/release_2_2.rst +++ b/doc/guides/rel_notes/release_2_2.rst @@ -197,6 +197,11 @@ Drivers Fixed the issue of not freeing memzone in the call to free the memory for adminq DMA. +* **mlx: Fixed driver loading.** + + The mlx drivers were unable to load when built as a shared library, + due to a missing symbol in mempool library. + * **vhost: Fixed Qemu shutdown.** Fixed issue with libvirt ``virsh destroy`` not killing the VM. diff --git a/lib/librte_mempool/rte_mempool_version.map b/lib/librte_mempool/rte_mempool_version.map index a9e6098..17151e0 100644 --- a/lib/librte_mempool/rte_mempool_version.map +++ b/lib/librte_mempool/rte_mempool_version.map @@ -9,6 +9,7 @@ DPDK_2.0 { rte_mempool_dump; rte_mempool_list_dump; rte_mempool_lookup; + rte_mempool_obj_iter; rte_mempool_walk; rte_mempool_xmem_create; rte_mempool_xmem_size; -- 2.5.2