DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] Regarding mbuf allocation/free in secondary process
@ 2016-02-10  7:43 Saravana Kumar
  2016-02-10 10:01 ` Bruce Richardson
  0 siblings, 1 reply; 4+ messages in thread
From: Saravana Kumar @ 2016-02-10  7:43 UTC (permalink / raw)
  To: dev

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-02-10 17:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-02-10  7:43 [dpdk-dev] Regarding mbuf allocation/free in secondary process Saravana Kumar
2016-02-10 10:01 ` Bruce Richardson
2016-02-10 10:14   ` Saravana Kumar
2016-02-10 17:50   ` Lawrence MacIntyre

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).