Hello vpp,

I'm trying to run vpp with external dpdk. I compiled dpdk with support of
shared library in order to have support for collectd. I made changes  in
vpp.mk in order to enable the usage of external dpdk already installed  and
support for shared library inside vpp. The build passed successfully, but
when I'm runing the vpp binary it crashes  in init.c from
vpp/src/plugins/dpdk/devices in  dpdk_config function. The reason why is
crashing is the fact that is not loading the rte_mempool_ring.so file from
dpdk. which by the way exist. This file is responsible with the
initialization of structures ops_sp_sc, ops_mp_sc, ops_sp_mc, ops_mp_mc,
basically  ops=NULL.
When I let vpp to use the dpdk deb files all runs ok, and the references
to dpdk structures are present in the dpdk_plugin.so file. In this working
way vpp is using dpdk library statically.
I was expected base on dpdk.am that on shared library branch  dpdk_pluging
to be build based on dpdk dynamic library info.
Is any way to run vpp with shared library support? Any idea  why the
responsible library is not loaded?



BR/
Catalin

Reply via email to