From: Olivier MATZ <olivier.matz@6wind.com>
To: Antti Kantee <pooka@iki.fi>
Cc: dev@dpdk.org
Subject: Re: [dpdk-dev] [PATCH] eal: add support for shared object drivers
Date: Wed, 12 Jun 2013 16:54:31 +0200 [thread overview]
Message-ID: <51B88BA7.9080605@6wind.com> (raw)
In-Reply-To: <51B87065.2020600@iki.fi>
Hi Antti,
> > For instance, testpmd -d librte_pmd_xxx.so can be used to enable xxx
> driver
> > support on testpmd without any recompilation of testpmd.
>
> What's the use case?
Load any other pmd driver dynamically (ex: mellanox driver)
> Unless I'm missing something, testpmd still needs
> an explicit rte_pmd_foo_init() call. It's of course not difficult to
> sprinkle some __attribute__((constructor))'s into the pmd's
Yes, you need to do it in the pmd's constructor.
Olivier
next prev parent reply other threads:[~2013-06-12 14:54 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-12 7:51 Thomas Monjalon
2013-06-12 11:55 ` Olivier MATZ
2013-06-12 15:12 ` Thomas Monjalon
[not found] ` <51B87027.40703@cs.hut.fi>
2013-06-12 12:58 ` Antti Kantee
2013-06-12 14:54 ` Olivier MATZ [this message]
2013-06-12 15:12 ` Antti Kantee
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=51B88BA7.9080605@6wind.com \
--to=olivier.matz@6wind.com \
--cc=dev@dpdk.org \
--cc=pooka@iki.fi \
/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).