Re: [vpp-dev] Help:VPP-DPDK #acl_plugin #dpdk

2023-02-09 Thread Matthew Smith via lists.fd.io
You haven't shared any details of where you placed these calls in the dpdk plugin, but I suspect that they were successful because they were executed after the dpdk plugin had already called rte_eal_init(). When called from your plugin, rte_eal_init() had probably not been called yet. You could tr

Re: [vpp-dev] Help:VPP-DPDK #acl_plugin #dpdk

2023-02-07 Thread kk
I read the official example given by dpdk. The two function interfaces "rte_ring_create and rte_mempool_create" should indeed be called after rte_eal_init(). The problem is that I have no problem calling these two function interfaces in the vpp dpdk plug-in, which is very strange. -=-=-=-=-=-=-

Re: [vpp-dev] Help:VPP-DPDK #acl_plugin #dpdk

2023-02-07 Thread Matthew Smith via lists.fd.io
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 wrote: > Hello everyone, I wrote a vpp plug-in by myself. I called the dpdk > function interface "

[vpp-dev] Help:VPP-DPDK #acl_plugin #dpdk

2023-02-07 Thread kk
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 memo