From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 35D7BA00E6 for ; Tue, 9 Jul 2019 08:45:52 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 8E7F73237; Tue, 9 Jul 2019 08:45:51 +0200 (CEST) Received: from delivery.mailspamprotection.com (delivery.mailspamprotection.com [107.6.149.13]) by dpdk.org (Postfix) with ESMTP id 12F762F42 for ; Tue, 9 Jul 2019 08:45:49 +0200 (CEST) Received: from ns1.es18.siteground.eu ([37.60.250.193] helo=es18.siteground.eu) by se12.mailspamprotection.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89) (envelope-from ) id 1hkjso-0005ZU-Rq for users@dpdk.org; Tue, 09 Jul 2019 01:45:49 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=filipjaniszewski.com; s=default; h=Content-Transfer-Encoding:Content-Type: MIME-Version:Date:Message-ID:To:Subject:From:Sender:Reply-To:Cc:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=z9hycPDzADhr6tnlI+/WU8dn2hZq9hMTBSjBXRPq+bM=; b=IT4b43KXl0sDtENQtw8CUfuvD8 JlN+AsWyj0K9mGmMyFHIUw+NT+bD/mhxm8Yr6n7McV78LoB/nhkM/syrHuMs8ZlI+XdC/0MEBa15A z/kaKUpg2PN4arTqZyr/lbmqlmYEpr8+hbNCtiLlFTTuzKQbZuQp0lCloKGy8fKpjhPsblXrRLWmz oaTTGH/4jq4wY2l8/u0ieWdm+Cyl9PJDqF65JJ/BemXX9fvNBGlzO6GAK1UTRVetjNgLHvpMLlgPh qyZ+9+Qzcm+x4W/Qu2A0+8TpZI6of6eaVe4VVsvRHw3dZIoyJC92DI7w+S2imPWuNWk0Z/Ihp21PE iBlRX1gQ==; Received: from [89.64.173.160] (port=60840 helo=localhost.localdomain) by es18.siteground.eu with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.90devstart_546-794992d-XX) (envelope-from ) id 1hkjsn-0009wo-Nk for users@dpdk.org; Tue, 09 Jul 2019 08:45:45 +0200 From: Filip Janiszewski To: "users@dpdk.org" Message-ID: Date: Tue, 9 Jul 2019 08:45:45 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: 37.60.250.193 X-SpamExperts-Domain: es18.siteground.eu X-SpamExperts-Username: 37.60.250.193 Authentication-Results: mailspamprotection.com; auth=pass smtp.auth=37.60.250.193@es18.siteground.eu X-SpamExperts-Outgoing-Class: ham X-SpamExperts-Outgoing-Evidence: Combined (0.15) X-Recommended-Action: accept X-Filter-ID: Mvzo4OR0dZXEDF/gcnlw0U/ZSZwb6YtRX5AT+OfYB3GpSDasLI4SayDByyq9LIhVUZbR67CQ7/vm /hHDJU4RXkTNWdUk1Ol2OGx3IfrIJKywOmJyM1qr8uRnWBrbSAGDD2INR93SD/E4J4SmlGqUQJj9 EvBvwu01uVCaGVBWGqtz+rYeQcwif4lCzfUO1gM72rBNMmEsKEibQwSU1xBeOJAOlFzwHtO3tdTI bTgMNQv76lrauuQC+i1JEwUYTHqC/KisXy3mzcJy0aWTpFFLNZffF2I6pcLQcuGWEebewH3Su4V0 uFdos+XyMRrtb4AGSMvMdpIXZzuUtn5D8wUyziXAqEAQZXCFCwvZK9SRAKXCaLYHQIrSrCaRgEa7 yd/h/5EjVskN5+f0tv7Hu6cPCJ0JqmC43RBCDitrzLQ3DiL+rMKsIGECb4imOf5DWk2muT5KoqPl i/MiyR9weBu6pHB7LxY2nsmQSlY+LOS2RBvyvYF41YKwtUHAIHcwkMwU8oNztlS2lk2MAJxthbEB J810xzT60uub84zZk03vFUr5sGqoT7aL6zfnTlK0ipRl2eMaYoDpLQqel3M9drX4xT3dKxLhoxcm aInYbR5vlqF1h44QsltTBia8XHjaZSjOKdvTyBjtn1YZtaf24ZD2cb6KNuraKjP0e8EWfxt1Dw4k sVlXZWxasRfFjM8m8h7IISdVKyA8/8yCpIYzH3apf78hv/eAPXF2/g6Nh7EU3uLmYwvDhY/pb0c/ eQ93byCg4qI3uQHLak4nvpJCrlUOx5Flalvr3aoB4dZ+I6vdlPMtuctFVQp078svLEqHvTCZPBKY QJwcu7ueYmgF5kMJfhAZLH27vci0DHO5XB5BxVf3Y80OmAux3oN13+ztUzneYh1nKoiVK6tRaxSr DPOZr8wy8A14JGywulGGHT58ndOFtFzVN4cHYkYi6SsCIC1qFDv/HYKMjMmWl69WC2Q1ZmbjO41F yBEqIaDudcVplPF/ca1EsPhQviEKZuMmuOMk/NouwSLpqHULmAz8ldXFfJX4aggdimxk3ijXm0XS jAWWChY4ZnrWfFYnWNtHluP5FjOk+oYG9HSSzX8ii5KOS1fRAiMiMKfXO9C5TEIHDgn54zvzBZRU oBCoZ8LNZJsI18ov7F1l69DhGeyxbC1O6VHy4A1GDh4BjJHk5pSlfEXHKlSFZnsNX9C2FSfjBOMW X-Report-Abuse-To: spam@quarantine1.mailspamprotection.com Subject: [dpdk-users] Linking to multiple DPDK .so builds X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org Sender: "users" Hi, I've an issue that's better explained by an example: We're shipping a tool to different customers with different environments, sometime they run on Mellanox hardware, sometime on Intel etc. The main DPDK application is released in multiple builds to accommodate every customer environment, this is a bit painful as the number of different builds keep growing. To solve the problem I would like to just release a build which is same for everybody and then ship little plugins with dedicated code, the problem is that when I try to load the DPDK shared library plugin into my app with dlopen I keep getting errors like: . EAL: RTE_RING tailq is already registered PANIC in tailqinitfn_rte_ring_tailq(): Cannot initialize tailq: RTE_RING . with subsequent shutdown. Is this a compilation issue that I can somehow solve or that's plain not possible from DPDK design perspective? Ideally I would like to: 1) Have a DPDK build (/mk/rte.extapp.mk) with a limited support for certain features, like Mellanox PMD which have dependencies that are not always meet.. 2) When some of those features are required I would like to load dynamically the DPDK .so library (/mk/rte.extshared.mk) which include support for them and dedicated code to handle the app (1) processing. Can anybody suggest a way to accomplish what I'm trying to do? Please let me know if further details are needed. Thanks -- BR, Filip +48 666 369 823