[dpdk-dev] Regarding mbuf allocation/free in secondary process
Saravana Kumar
maheshmcc39 at gmail.com
Wed Feb 10 08:43:19 CET 2016
Hi DPDK community,
I'd like to have DPDK NIC IO operations in (primary) process and
execution logic in (secondary) processes.
Primary process pushes NIC Rx mbufs to Secondary process through S/W ring
Seconary process allocates mbuf for Tx path and pushes down to Primary
process for NIC Tx
I have few doubts here:
1. If Secondary process dies because of SIGKILL then how can the mbufs
allocated in Secondary process can be freed.
If it is normal signals like SIGINT/SIGTERM then we can be catch
those and free in those respective signal handlers
2. Secondary process needs to poll on the S/W ring. This can consume 100% cpu.
Is there a way to avoid polling in secondary process for Rx path
Thanks
Sara
More information about the dev
mailing list