DPDK is statically linked into dpdk plugin (dpdk_plugin.so). -- Damjan
> On 29 Nov 2019, at 06:50, wei_sky2...@163.com wrote: > > > We think VPP uses DPDK for data receive from nic, but it seems no dpdk lib > exist in vpp project. > we also try to use readelf to check the libs used by vpp, or use strings > check the functions in each lib. We did not find how dpdk is used. So can you > please give some guide, how does vpp link dpdk lib? > > [root@PC-20180207IVMZ bin]# readelf -d ./vpp > > Dynamic section at offset 0xfcbc0 contains 38 entries: > 0x0000000000000001 (NEEDED) [libvlibmemory.so.19.08] > 0x0000000000000001 (NEEDED) [libvnet.so.19.08] > 0x0000000000000001 (NEEDED) [libdl.so.2] > 0x0000000000000001 (NEEDED) [libvlib.so.19.08] > 0x0000000000000001 (NEEDED) [libsvm.so.19.08] > 0x0000000000000001 (NEEDED) [librt.so.1] > 0x0000000000000001 (NEEDED) [libpthread.so.0] > 0x0000000000000001 (NEEDED) [libuuid.so.1] > 0x0000000000000001 (NEEDED) [libvppinfra.so.19.08] > 0x0000000000000001 (NEEDED) [libm.so.6] > 0x0000000000000001 (NEEDED) [libssl.so.10] > 0x0000000000000001 (NEEDED) [libcrypto.so.10] > 0x0000000000000001 (NEEDED) [libc.so.6] > 0x0000000000000001 (NEEDED) [ld-linux-x86-64.so.2] > 0x000000000000000f (RPATH) Library rpath: > [/home/lijinlei/LJL_VPP/vpp/build-root/build-vpp_debug-native/vpp/lib::] > 0x000000000000000c (INIT) 0x405050 > 0x000000000000000d (FINI) 0x4cdb20 > 0x0000000000000019 (INIT_ARRAY) 0x6fca88 > 0x000000000000001b (INIT_ARRAYSZ) 160 (bytes) > 0x000000000000001a (FINI_ARRAY) 0x6fcb28 > 0x000000000000001c (FINI_ARRAYSZ) 152 (bytes) > 0x000000006ffffef5 (GNU_HASH) 0x400298 > 0x0000000000000005 (STRTAB) 0x402420 > 0x0000000000000006 (SYMTAB) 0x400698 > 0x000000000000000a (STRSZ) 5918 (bytes) > 0x000000000000000b (SYMENT) 24 (bytes) > 0x0000000000000015 (DEBUG) 0x0 > 0x0000000000000003 (PLTGOT) 0x6fd000 > 0x0000000000000002 (PLTRELSZ) 3384 (bytes) > 0x0000000000000014 (PLTREL) RELA > 0x0000000000000017 (JMPREL) 0x404318 > 0x0000000000000007 (RELA) 0x403e68 > 0x0000000000000008 (RELASZ) 1200 (bytes) > 0x0000000000000009 (RELAENT) 24 (bytes) > 0x000000006ffffffe (VERNEED) 0x403db8 > 0x000000006fffffff (VERNEEDNUM) 4 > 0x000000006ffffff0 (VERSYM) 0x403b3e > 0x0000000000000000 (NULL) 0x0 > > > > -=-=-=-=-=-=-=-=-=-=-=- > Links: You receive all messages sent to this group. > > View/Reply Online (#14731): https://lists.fd.io/g/vpp-dev/message/14731 > Mute This Topic: https://lists.fd.io/mt/64317715/675642 > Mute #vpp: https://lists.fd.io/mk?hashtag=vpp&subid=1480514 > Group Owner: vpp-dev+ow...@lists.fd.io > Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [dmar...@me.com] > -=-=-=-=-=-=-=-=-=-=-=-
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#14735): https://lists.fd.io/g/vpp-dev/message/14735 Mute This Topic: https://lists.fd.io/mt/64317715/21656 Mute #vpp: https://lists.fd.io/mk?hashtag=vpp&subid=1480452 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-