Re: [vpp-dev] Query regarding VPP Pool allocation

2017-02-11 Thread Sreejith Surendran Nair
hich executes binary >API scripts. > > > > > > HTH… Dave > > > > *From:* vpp-dev-boun...@lists.fd.io [mailto:vpp-dev-boun...@lists.fd.io] *On > Behalf Of *Mohsin Kazmi (sykazmi) > *Sent:* Wednesday, February 8, 2017 9:02 AM > *To:* Sreejith Surendran

Re: [vpp-dev] Query regarding VPP Pool allocation

2017-02-08 Thread Dave Barach (dbarach)
which executes binary API scripts. HTH... Dave From: vpp-dev-boun...@lists.fd.io [mailto:vpp-dev-boun...@lists.fd.io] On Behalf Of Mohsin Kazmi (sykazmi) Sent: Wednesday, February 8, 2017 9:02 AM To: Sreejith Surendran Nair Cc: vpp-dev Subject: Re: [vpp-dev] Query regarding VPP Pool allo

Re: [vpp-dev] Query regarding VPP Pool allocation

2017-02-08 Thread Mohsin Kazmi (sykazmi)
Surendran Nair Sent: Wednesday, February 8, 2017 2:58 PM To: Dave Barach (dbarach) Cc: vpp-dev Subject: Re: [vpp-dev] Query regarding VPP Pool allocation Hi Dave, Thanks a lot for the kind help. I was able to resolve the problem. The issue appeared to occur due to incorrect interface name value set to &q

Re: [vpp-dev] Query regarding VPP Pool allocation

2017-02-08 Thread Sreejith Surendran Nair
a > look... > > > > Thanks… Dave > > > > *From:* Sreejith Surendran Nair [mailto:sreejith.surendrann...@linaro.org] > > *Sent:* Tuesday, February 7, 2017 11:24 AM > *To:* Dave Barach (dbarach) > *Cc:* vpp-dev > *Subject:* Re: [vpp-dev] Query regardi

Re: [vpp-dev] Query regarding VPP Pool allocation

2017-02-07 Thread Dave Barach (dbarach)
<mailto:vpp-dev-boun...@lists.fd.io>] On Behalf Of Sreejith Surendran Nair Sent: Tuesday, February 7, 2017 7:19 AM To: vpp-dev mailto:vpp-dev@lists.fd.io>> Subject: [vpp-dev] Query regarding VPP Pool allocation Hi All, I am working on VPP/ODP Integration. I had query regardin

Re: [vpp-dev] Query regarding VPP Pool allocation

2017-02-07 Thread Sreejith Surendran Nair
to objects allocated in this > manner, unless you enjoy debugging dangling reference bugs. *Always* > memorize pool indices instead... > > > > Thanks… Dave > > > > *From:* vpp-dev-boun...@lists.fd.io [mailto:vpp-dev-boun...@lists.fd.io] *On > Behalf Of *Sreejith Sure

Re: [vpp-dev] Query regarding VPP Pool allocation

2017-02-07 Thread Dave Barach (dbarach)
jith Surendran Nair Sent: Tuesday, February 7, 2017 7:19 AM To: vpp-dev Subject: [vpp-dev] Query regarding VPP Pool allocation Hi All, I am working on VPP/ODP Integration. I had query regarding "pool_get" API. I am using call "pool_get(om->interfaces,oif) " with parameters

[vpp-dev] Query regarding VPP Pool allocation

2017-02-07 Thread Sreejith Surendran Nair
Hi All, I am working on VPP/ODP Integration. I had query regarding "pool_get" API. I am using call "pool_get(om->interfaces,oif) " with parameters "om->interfaces" and "oif" should we need to allocate memory for "om->interfaces" using "pool_alloc" before calling pool_get. I am presently not us