Regarding DPDK API's like rte_timer_subsystem_init/rte_hash_create etc. in VPP

Bruce Richardson bruce.richardson at intel.com
Thu Mar 30 10:00:28 CEST 2023


On Thu, Mar 30, 2023 at 10:30:24AM +0530, Prashant Upadhyaya wrote:
> Hi,
> 
> While trying to port some code to VPP (which uses DPDK as the backend
> driver), I am running into a problem that calls to API's like
> rte_timer_subsystem_init, rte_hash_create are failing while allocation
> of memory.
> 
> This is presumably because VPP inits the EAL with the following arguments --
> 
> -in-memory --no-telemetry --file-prefix vpp
> 
> Is  there is something that can be done eg. passing some more parms in
> the EAL initialization which hopefully wouldn't break VPP but will
> also be friendly to the RTE timer and hash functions too, that would
> be great, so requesting some advice here.
> 
Hi,

can you provide some more details on what the errors are that you are
receiving? Have you been able to dig a little deeper into what might be
causing the memory failures? The above flags alone are unlikely to cause
issues with hash or timer libraries, for example.

/Bruce


More information about the dev mailing list