DPDK usage discussions
 help / color / Atom feed
* [dpdk-users] Linking to multiple DPDK .so builds
@ 2019-07-09  6:45 Filip Janiszewski
  0 siblings, 0 replies; only message in thread
From: Filip Janiszewski @ 2019-07-09  6:45 UTC (permalink / raw)
  To: 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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, back to index

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-09  6:45 [dpdk-users] Linking to multiple DPDK .so builds Filip Janiszewski

DPDK usage discussions

Archives are clonable:
	git clone --mirror http://inbox.dpdk.org/users/0 users/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 users users/ http://inbox.dpdk.org/users \
		users@dpdk.org
	public-inbox-index users


Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.users


AGPL code for this site: git clone https://public-inbox.org/ public-inbox