Re: [dpdk-dev] [dpdk-users] If shared libraries are used vdev doesn't work anymore

2017-08-02 Thread Dirk-Holger Lenz
patch tested by dirk.lenz and works for one virtual device On 08/01/2017 11:32 AM, Thomas Monjalon wrote: 01/08/2017 10:17, Gaëtan Rivet: Hi, On Mon, Jul 31, 2017 at 10:23:50PM +0200, Thomas Monjalon wrote: 31/07/2017 16:58, Dirk-Holger Lenz: If dpdk is built with 'CONFIG_RTE_BUILD_SHARED_LI

Re: [dpdk-dev] [dpdk-users] If shared libraries are used vdev doesn't work anymore

2017-08-01 Thread Thomas Monjalon
01/08/2017 10:17, Gaëtan Rivet: > Hi, > > On Mon, Jul 31, 2017 at 10:23:50PM +0200, Thomas Monjalon wrote: > > 31/07/2017 16:58, Dirk-Holger Lenz: > > > If dpdk is built with 'CONFIG_RTE_BUILD_SHARED_LIB=y' then > > > using the vdev feature (args: e.g. -c 3 -n 4 --vdev="crypto_openssl") > > > the

Re: [dpdk-dev] [dpdk-users] If shared libraries are used vdev doesn't work anymore

2017-08-01 Thread Gaëtan Rivet
Hi, On Mon, Jul 31, 2017 at 10:23:50PM +0200, Thomas Monjalon wrote: > 31/07/2017 16:58, Dirk-Holger Lenz: > > If dpdk is built with 'CONFIG_RTE_BUILD_SHARED_LIB=y' then > > using the vdev feature (args: e.g. -c 3 -n 4 --vdev="crypto_openssl") > > the rte_eal_init() returns 'ERROR: failed to parse

Re: [dpdk-dev] [dpdk-users] If shared libraries are used vdev doesn't work anymore

2017-07-31 Thread Thomas Monjalon
31/07/2017 16:58, Dirk-Holger Lenz: > If dpdk is built with 'CONFIG_RTE_BUILD_SHARED_LIB=y' then > using the vdev feature (args: e.g. -c 3 -n 4 --vdev="crypto_openssl") > the rte_eal_init() returns 'ERROR: failed to parse device "crypto_openssl"'. > It looks to me that rte_eal_devargs_add() calling