Re: [dpdk-dev] Use rte_malloc in application

2017-08-10 Thread Rohit Saini (Stellus)
k.org' Subject: Re: [dpdk-dev] Use rte_malloc in application On 03/08/2017 07:12, Rohit Saini (Stellus) wrote: > With below code, I am getting this warning. > > warning: cast to pointer from integer of different size > [-Wint-to-pointer-cast] > > my_node_t *data_ptr = (

Re: [dpdk-dev] Use rte_malloc in application

2017-08-03 Thread Stefan Puiu
y use a non-NULL string. HTH, Stefan. > > Thanks, > Rohit > > -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Rohit Saini (Stellus) > Sent: Thursday, August 03, 2017 11:28 AM > To: 'dev@dpdk.org' > Subject: [dpdk-dev] Use

Re: [dpdk-dev] Use rte_malloc in application

2017-08-03 Thread Sergio Gonzalez Monroy
(Stellus) Sent: Thursday, August 03, 2017 11:28 AM To: 'dev@dpdk.org' Subject: [dpdk-dev] Use rte_malloc in application Hi, I have a use case in my application where I need to implement my own memory manager, rather than doing malloc/free everytime to kernel. Instead of writing my own memo

Re: [dpdk-dev] Use rte_malloc in application

2017-08-02 Thread Rohit Saini (Stellus)
Rohit Saini (Stellus) Sent: Thursday, August 03, 2017 11:28 AM To: 'dev@dpdk.org' Subject: [dpdk-dev] Use rte_malloc in application Hi, I have a use case in my application where I need to implement my own memory manager, rather than doing malloc/free everytime to kernel. Instead of writ

[dpdk-dev] Use rte_malloc in application

2017-08-02 Thread Rohit Saini (Stellus)
Hi, I have a use case in my application where I need to implement my own memory manager, rather than doing malloc/free everytime to kernel. Instead of writing my own memory manager, I am thinking to use dpdk rte_malloc or rte_mempool. Please let me know if this is a good idea. Also, my_node_t *