Re: [dpdk-dev] Problem in configuring buffer size of a memory pool

2017-02-09 Thread Karthikraj palanichamy
Thanks for the help. I couldn't stop or close the device/port since Rx is a continuous process with a separate mempool. I'm creating dynamic mempools only for Tx. Tried stopping the Tx queue 'rte_eth_dev_tx_queue_stop()' after freeing the mempool. Created mempool again and then started the tx

Re: [dpdk-dev] Problem in configuring buffer size of a memory pool

2017-02-09 Thread Bruce Richardson
On Thu, Feb 09, 2017 at 12:08:54PM +0530, Karthikraj palanichamy wrote: > Hi developers, > > For /`rte_pktmbuf_pool_create()`, /I normally provide > RTE_MBUF_DEFAULT_BUF_SIZE as the data room size. > > I needed to change this dynamically based on the frame size to be > transmitted. > To transmit

[dpdk-dev] Problem in configuring buffer size of a memory pool

2017-02-08 Thread Karthikraj palanichamy
Hi developers, For /`rte_pktmbuf_pool_create()`, /I normally provide RTE_MBUF_DEFAULT_BUF_SIZE as the data room size. I needed to change this dynamically based on the frame size to be transmitted. To transmit 80 bytes frames, I configured (80 +/RTE_PKTMBUF_HEADROOM/). There was no problem an