dev.dpdk.org archive mirror
 help / color / mirror / Atom feed
* How to Destroy any rte_ring or recreate the ring with same name.
@ 2014-01-10 12:33 ankit kumar
       [not found] ` <CAG9qd2rsg31acNn07LEaS3OabNB=5ORvR6MJCPZbKVUMQ3oBVA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: ankit kumar @ 2014-01-10 12:33 UTC (permalink / raw)
  To: dev

Hi all,

   As i am trying to use DPDK ring library in my application. It works fine.
But as per API Documentation there is no function to destroy any
created ring. I have to create a
ring multiple time with same name.
   SO is there any way to destroy any created ring then recreate it
with same name.

Thank You. !!!

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: How to Destroy any rte_ring or recreate the ring with same name.
       [not found] ` <CAG9qd2rsg31acNn07LEaS3OabNB=5ORvR6MJCPZbKVUMQ3oBVA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2014-01-10 17:00   ` Jose Gavine Cueto
  2014-01-11 23:32   ` Chao Pei
  1 sibling, 0 replies; 3+ messages in thread
From: Jose Gavine Cueto @ 2014-01-10 17:00 UTC (permalink / raw)
  To: ankit kumar; +Cc: dev

Hi ankit,


On Fri, Jan 10, 2014 at 8:33 PM, ankit kumar <akprajapati616-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>wrote:

> Hi all,
>
>    As i am trying to use DPDK ring library in my application. It works
> fine.
> But as per API Documentation there is no function to destroy any
> created ring. I have to create a
> ring multiple time with same name.
>

How about emptying the ring and reuse it ?  Why does it need to be
destroyed ?

   SO is there any way to destroy any created ring then recreate it
> with same name.
>
> Thank You. !!!
>



-- 

Cheers

To stop learning is like to stop loving.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: How to Destroy any rte_ring or recreate the ring with same name.
       [not found] ` <CAG9qd2rsg31acNn07LEaS3OabNB=5ORvR6MJCPZbKVUMQ3oBVA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  2014-01-10 17:00   ` Jose Gavine Cueto
@ 2014-01-11 23:32   ` Chao Pei
  1 sibling, 0 replies; 3+ messages in thread
From: Chao Pei @ 2014-01-11 23:32 UTC (permalink / raw)
  To: ankit kumar; +Cc: dev

Currently there is no way to destroy a ring. It's memory is alloced with
rte_memzone_reserve, which cannot be freed.


2014/1/10 ankit kumar <akprajapati616-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>

> Hi all,
>
>    As i am trying to use DPDK ring library in my application. It works
> fine.
> But as per API Documentation there is no function to destroy any
> created ring. I have to create a
> ring multiple time with same name.
>    SO is there any way to destroy any created ring then recreate it
> with same name.
>
> Thank You. !!!
>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-01-11 23:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-10 12:33 How to Destroy any rte_ring or recreate the ring with same name ankit kumar
     [not found] ` <CAG9qd2rsg31acNn07LEaS3OabNB=5ORvR6MJCPZbKVUMQ3oBVA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-01-10 17:00   ` Jose Gavine Cueto
2014-01-11 23:32   ` Chao Pei

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).