Are you calling those functions in an init/config function for your plugin?
Maybe they are being called before the dpdk plugin has executed
rte_eal_init().

-Matt


On Tue, Feb 7, 2023 at 4:05 AM kk <aihujiang1...@gmail.com> wrote:

> Hello everyone, I wrote a vpp plug-in by myself. I called the dpdk
> function interface "rte_ring_create and rte_mempool_create" in this
> plug-in, and then it will prompt:
> "MEMPOOL: Cannot allocate tailq entry!
> Problem getting send ring
> RING: Cannot reserve memory for tailq
> RING: Cannot reserve memory for tailq
> ",
> does anyone know what's going on?
> And I found that I have no problem calling this function interface in the
> vpp-dpdk plug-in.
>
> 
>
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#22561): https://lists.fd.io/g/vpp-dev/message/22561
Mute This Topic: https://lists.fd.io/mt/96804295/21656
Mute #acl_plugin:https://lists.fd.io/g/vpp-dev/mutehashtag/acl_plugin
Mute #dpdk:https://lists.fd.io/g/vpp-dev/mutehashtag/dpdk
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/leave/1480452/21656/631435203/xyzzy 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to