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

2023-04-14 Thread Bruce Richardson
On Fri, Apr 14, 2023 at 09:55:31AM +0530, Prashant Upadhyaya wrote: > On Fri, Mar 31, 2023 at 4:19 PM Bruce Richardson > wrote: > > > > On Fri, Mar 31, 2023 at 03:11:18PM +0530, Prashant Upadhyaya wrote: > > > On Thu, Mar 30, 2023 at 7:34 PM Bruce Richardson > > > wrote: > > > > > > > > On Thu, M

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

2023-04-13 Thread Prashant Upadhyaya
On Fri, Mar 31, 2023 at 4:19 PM Bruce Richardson wrote: > > On Fri, Mar 31, 2023 at 03:11:18PM +0530, Prashant Upadhyaya wrote: > > On Thu, Mar 30, 2023 at 7:34 PM Bruce Richardson > > wrote: > > > > > > On Thu, Mar 30, 2023 at 07:07:23PM +0530, Prashant Upadhyaya wrote: > > > > On Thu, Mar 30, 2

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

2023-03-31 Thread Bruce Richardson
On Fri, Mar 31, 2023 at 03:11:18PM +0530, Prashant Upadhyaya wrote: > On Thu, Mar 30, 2023 at 7:34 PM Bruce Richardson > wrote: > > > > On Thu, Mar 30, 2023 at 07:07:23PM +0530, Prashant Upadhyaya wrote: > > > On Thu, Mar 30, 2023 at 6:47 PM Bruce Richardson > > > wrote: > > > > > > > > On Thu, M

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

2023-03-31 Thread Prashant Upadhyaya
On Thu, Mar 30, 2023 at 7:34 PM Bruce Richardson wrote: > > On Thu, Mar 30, 2023 at 07:07:23PM +0530, Prashant Upadhyaya wrote: > > On Thu, Mar 30, 2023 at 6:47 PM Bruce Richardson > > wrote: > > > > > > On Thu, Mar 30, 2023 at 06:42:58PM +0530, Prashant Upadhyaya wrote: > > > > On Thu, Mar 30, 2

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

2023-03-30 Thread Bruce Richardson
On Thu, Mar 30, 2023 at 07:07:23PM +0530, Prashant Upadhyaya wrote: > On Thu, Mar 30, 2023 at 6:47 PM Bruce Richardson > wrote: > > > > On Thu, Mar 30, 2023 at 06:42:58PM +0530, Prashant Upadhyaya wrote: > > > On Thu, Mar 30, 2023 at 2:50 PM Bruce Richardson > > > wrote: > > > > > > > > On Thu, M

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

2023-03-30 Thread Prashant Upadhyaya
On Thu, Mar 30, 2023 at 6:47 PM Bruce Richardson wrote: > > On Thu, Mar 30, 2023 at 06:42:58PM +0530, Prashant Upadhyaya wrote: > > On Thu, Mar 30, 2023 at 2:50 PM Bruce Richardson > > wrote: > > > > > > On Thu, Mar 30, 2023 at 01:57:52PM +0530, Prashant Upadhyaya wrote: > > > > Hi, > > > > > > >

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

2023-03-30 Thread Bruce Richardson
On Thu, Mar 30, 2023 at 06:42:58PM +0530, Prashant Upadhyaya wrote: > On Thu, Mar 30, 2023 at 2:50 PM Bruce Richardson > wrote: > > > > On Thu, Mar 30, 2023 at 01:57:52PM +0530, Prashant Upadhyaya wrote: > > > Hi, > > > > > > > FYI, when replying on list, it's best not to top-post, but put your re

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

2023-03-30 Thread Prashant Upadhyaya
On Thu, Mar 30, 2023 at 2:50 PM Bruce Richardson wrote: > > On Thu, Mar 30, 2023 at 01:57:52PM +0530, Prashant Upadhyaya wrote: > > Hi, > > > > FYI, when replying on list, it's best not to top-post, but put your replies > below the email snippet you are replying to. > > > The hash creation API thr

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

2023-03-30 Thread Bruce Richardson
On Thu, Mar 30, 2023 at 01:57:52PM +0530, Prashant Upadhyaya wrote: > Hi, > FYI, when replying on list, it's best not to top-post, but put your replies below the email snippet you are replying to. > The hash creation API throws the following error -- > RING: Cannot reserve memory for tailq > HAS

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

2023-03-30 Thread Prashant Upadhyaya
Hi, The hash creation API throws the following error -- RING: Cannot reserve memory for tailq HASH: memory allocation failed The timer subsystem init api throws this error -- EAL: memzone_reserve_aligned_thread_unsafe(): Number of requested memzone segments exceeds RTE_MAX_MEMZONE I did check th

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

2023-03-30 Thread Bruce Richardson
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.

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

2023-03-29 Thread Prashant Upadhyaya
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 -- -