DPDK secondary process access to mbufs using rte_pktmbuf_attach_extbuf()
Hi
I am wondering if the secondary DPDK processes can access the mbufs that are attached using rte_pktmbuf_attach_extbuf(). The DPDK primary process allocates the buffer pool from the heap. Is there any example application that you can refer to ?
Thank you very much
* PKDas
Quoted 9 lines · On Fri, 4 Dec 2020 13:07:01 +0000 Pranab Das <[email protected]>…
Hi
I am wondering if the secondary DPDK processes can access the mbufs that are attached using
rte_pktmbuf_attach_extbuf(). The DPDK primary process allocates the buffer pool from the heap. Is there any example application that you can refer to ?Thank you very much
* PKDas
When external buffers are used, they should come from memory that is visible and mapped in both primary and secondary process (i.e hugepages). It is possible that a buggy driver or application would not do that.