Re: [vpp-dev] What is the best way to pass packets from an internal node to a process node?

2019-10-16 Thread Jacques Samain via Lists.Fd.Io
to a process node? It would help to describe the problem at a higher level. First question: why pass packets to a process node? From: vpp-dev@lists.fd.io<mailto:vpp-dev@lists.fd.io> mailto:vpp-dev@lists.fd.io>> On Behalf Of Jacques Samain via Lists.Fd.Io Sent: Monday, October 14, 2019 11:

Re: [vpp-dev] What is the best way to pass packets from an internal node to a process node?

2019-10-14 Thread Jacques Samain via Lists.Fd.Io
a process node? From: vpp-dev@lists.fd.io On Behalf Of Jacques Samain via Lists.Fd.Io Sent: Monday, October 14, 2019 11:02 AM To: vpp-dev@lists.fd.io Cc: vpp-dev@lists.fd.io Subject: [vpp-dev] What is the best way to pass packets from an internal node to a process node? Hello, I am trying to pass

[vpp-dev] What is the best way to pass packets from an internal node to a process node?

2019-10-14 Thread Jacques Samain via Lists.Fd.Io
Hello, I am trying to pass packets from an internal node (running on a worker thread) to a process node, and I am looking for the best way to do that. Currently, I have a pool of arrays that is shared between the two nodes (using a spinlock for pool_get and pool_put). In the internal node, I cop