[dpdk-dev] DPDK secondary process access to mbufs using rte_pktmbuf_attach_extbuf()

Stephen Hemminger stephen at networkplumber.org
Mon Dec 7 19:58:27 CET 2020


On Fri, 4 Dec 2020 13:07:01 +0000
Pranab Das <pranab_das at affirmednetworks.com> wrote:

> 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.


More information about the dev mailing list