Two DPDK instances in same Linux Process
Thomas Monjalon
thomas at monjalon.net
Wed Nov 13 18:36:46 CET 2024
13/11/2024 18:20, Lombardo, Ed:
> Hi,
> I have a situation where our NIC driver uses DPDK 22.11 and comes up and process packets. We added Suricata to our application and it also uses DPDK 22.11. Both the driver and Suricata are in the same Linux process. When the Suricata application starts and initializes DPDK with their own EAL init call it fails. I tried setting the driver DPDK as the primary and the Suricata as the secondary but still fails.
>
> The driver DPDK initialization occurs before the Suricata DPDK initialization.
>
> Also the driver DPDK has its own hugepages and Suricata has its own hugepages.
>
> What is the proper way to accommodate two DPDK instances in the same Linux application process?
1 application must call rte_eal_init() only once.
I wonder how you can integrate Suricata into your application.
Isn't it a standalone application?
More information about the users
mailing list