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 using "pool_alloc" to allocate memory and using"
pool_get" during interface creation and "pool_put" during interface
deletion. I followed "af_packet/netmap" as reference implementation,

But when I tried to delete the interface I saw "pool_put" call is getting
stuck as the next statements are not executed. I thought it may be because
"pool_alloc" was not used for "om->interfaces".Also while creating multiple
interface and deleting the same I am getting a crash due to pool not free
error.

If possible kindly request if anyone could  please correct me.

Thanks & Regards,
Sreejith
_______________________________________________
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev

Reply via email to