I found the answer in the comments: "/* Creates a shallow copy of mbuf */"
for the rte_pktmbuf_clone. Thanks
On Fri, Sep 1, 2023 at 4:31 PM omer yamac wrote:
> Thank you for the clarification. Now, I understand more clearly. May I ask
> one more question? I used the rte_pktmbuf_clone function to
Thank you for the clarification. Now, I understand more clearly. May I ask
one more question? I used the rte_pktmbuf_clone function to duplicate the
packet. Then, the new packet is cloned to the indirect memory. After the
clone, I used the RTE_MBUF_DIRECT macro to check this, which returns false.
S
01/09/2023 14:47, omer yamac:
> Hello,
>
> I need clarification while creating direct/indirect buffers for mbuf. I
> couldn't find exact documentation, and I just looked over the fragmentation
> test case and saw that two pools were created. One is a
> direct pool, and the other is an indirect poo
Hello,
I need clarification while creating direct/indirect buffers for mbuf. I
couldn't find exact documentation, and I just looked over the fragmentation
test case and saw that two pools were created. One is a
direct pool, and the other is an indirect pool. Here are the methods to
create pools:
d