I am prototyping inter-process communication (message passing), primarily intended for communication between control and data plane applications.
The linux-generic implementation is based on pktio (a new type ODP_PKTIO_TYPE_IPC) and messages are packets, much like Ethernet frames (48 bits destination "address", 48 bits source address, 32 bits message type followed by user defined payload). Originally I intended to only see IPC as a form of pktio (on an internal network between applications on the same host). But I need to add a few functions (e.g. to resolve process "address" by name and to monitor processes should they go away). I briefly considered adding these calls to packet_io.h but then instead created a new file ipc.h. I was thinking that perhaps the IPC API should be separate from packet_io even if the implementation is not. So the basic question is whether IPC/message passing is a completely separate API or just a different type of packet IO (doing something similar to what the loopback device support did). Comments on this? -- Ola
_______________________________________________ lng-odp mailing list lng-odp@lists.linaro.org https://lists.linaro.org/mailman/listinfo/lng-odp