Dear Michael,

interesting work.

Do you plan to upstream your PMD to DPDK mainline?

Thanks,

-- 
Damjan

> On 25 May 2018, at 10:50, Michael Lilja <m...@napatech.com> wrote:
> 
> Hi,
>
> I had to use another DPDK source base also as shared library, so I went 
> though a few trails before I got things to work. I have documented my quirks 
> here: https://www.napatech.com/vpp-200g-nic/ 
> <https://www.napatech.com/vpp-200g-nic/>
>
> I hope it is helpful.
>
> /Michael
>
> From: vpp-dev@lists.fd.io <mailto:vpp-dev@lists.fd.io> <vpp-dev@lists.fd.io 
> <mailto:vpp-dev@lists.fd.io>> On Behalf Of Catalin Fierut
> Sent: 24. maj 2018 13:55
> To: vpp-dev@lists.fd.io <mailto:vpp-dev@lists.fd.io>
> Subject: [vpp-dev] vpp with dpdk shared library
>
> 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 <http://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 <http://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