[dpdk-users] Using dpdk libraries without EAL

Wiles, Keith keith.wiles at intel.com
Mon Sep 10 14:38:26 CEST 2018



> On Sep 10, 2018, at 3:20 AM, Charles Ju <charlesyju at gmail.com> wrote:
> 
> Hi,
> 
> I have developed my own packet capture code and would like to just use the
> dpdk libraries such as the ACL Library and mempool libraries. In this case,
> does these libraries require the EAL?

There is a number of dependences with mempool, but if you can write your own eal that calls the memory setup then yes you can. The problem is EAL does a lot of initializations for memory, pci and threads and not calling rte_eal_init() means you need to write some code to make sure everything is setup for mempool to work.

If you are going to use the PMDs then you have a bit more work to get them to work as mbufs, rings, buses and a number of other libs all need to be inited. EAL does that work today and breaking those dependences is not easy.

Regards,
Keith



More information about the users mailing list