From: Filip Janiszewski <contact@filipjaniszewski.com>
To: "users@dpdk.org" <users@dpdk.org>
Subject: [dpdk-users] Linking to multiple DPDK .so builds
Date: Tue, 9 Jul 2019 08:45:45 +0200 [thread overview]
Message-ID: <a7ea7116-1137-1c60-d716-b49431dc4aa4@filipjaniszewski.com> (raw)
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
reply other threads:[~2019-07-09 6:45 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=a7ea7116-1137-1c60-d716-b49431dc4aa4@filipjaniszewski.com \
--to=contact@filipjaniszewski.com \
--cc=users@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).