Skip to contentSkip to conversation

DPDK secondary process access to mbufs using rte_pktmbuf_attach_extbuf()

dpdk-dev Pranab Das 2 participants 2 messages Dec 4, 2020 – Dec 7, 2020

lore
Share & tools
lore

Pranab Das

author
#0 lore raw

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

#1 lore raw
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.