Thanks! I had to do the following hacks to get DPDK .so files generated and
also the vpp libraries referring to them. Please let me know if it can
break something.

1. Enable RTE_TIMER (which is disabled by VPP)
2. Do a couple of symbol hacks in dpdk/drivers/net/bonding/rte_8023ad files
3. Change some Makefile.am files to add all the shared dpdk libraries in
the LDFLAGS.

Thanks,
-nagp

On Thu, Nov 10, 2016 at 3:16 PM, Damjan Marion (damarion) <
damar...@cisco.com> wrote:

>
> If I remember correctly I tested this only with manually built DPDK.
> It was also working fine with .so files coming from ubuntu packages.
>
>
> > On 9 Nov 2016, at 17:42, Nagaprabhanjan Bellaru <nagp.li...@gmail.com>
> wrote:
> >
> > Hi,
> >
> > I want to know if we can build dpdk as .so files? I tried enabling the
> CONFIG_RTE_SHARED_LIB=y in common-base configuration of DPDK and build vpp,
> but it fails while building librte_sched.so because it fails to link with
> librte_timer which is switched off in VPP.
> >
> > Is there any workaround for this issue? I want to build .so files
> because I want them to be used by VPP as well as some other module(s).
> >
> > Thanks,
> > -nagp
> > _______________________________________________
> > vpp-dev mailing list
> > vpp-dev@lists.fd.io
> > https://lists.fd.io/mailman/listinfo/vpp-dev
>
>
_______________________________________________
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev

Reply via email to