[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

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

2017-02-09 Thread Karthikraj palanichamy
and then started the tx queue. Still observing the same problem. Regards Karthik On 02/09/2017 02:49 PM, Bruce Richardson wrote: 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_S

[dpdk-dev] memory pool size in Raspberry pi 3 AF_PACKET PMD

2017-06-12 Thread Karthikraj palanichamy
I am using DPDK in a Raspberry pi 3 machine using AF_PACKET PMD. I have two memory pools, one for tx and other for rx. When I set the size of memory pool as 8192, there is no problem. But when I increase it to 16384, mempool creation fails though more than 800MB of RAM available. Is this beh

[dpdk-dev] Drop pkts whenever port link status changes

2017-06-23 Thread Karthikraj palanichamy
Hi! I am using DPDK to develop a delay measurement application. I put a timestamp in the packet and call rte_eth_tx_burst(). The receiving end would just loopback the packet. Using the timestamp that I had put, and the current time, I am able to calculate the delay in the network. But when

[dpdk-dev] I350 jumbo frame transmission

2017-04-12 Thread Karthikraj palanichamy
Hi, I am using I350 card. The API rte_eth_dev_info_get() updated the parameter 'max_rx_pktlen' in 'struct rte_eth_dev_info' as 16384. But when I try transmission with multiple segments, I could not transmit more than 9732 bytes. I tried with testpmd and getting the same results.ie) couldn't

Re: [dpdk-dev] I350 jumbo frame transmission

2017-04-12 Thread Karthikraj palanichamy
But I could receive frames upto 16384 bytes. If 'max_rx_pktlen' is meant only for reception, then is there any way I could get the maximum tx capability? On 04/12/2017 06:21 PM, Karthikraj palanichamy wrote: Hi, I am using I350 card. The API rte_eth_dev_info_get() updated the

[dpdk-dev] VTP packet reception in X540

2017-04-18 Thread Karthikraj palanichamy
I am using DPDK for Intel X540-AT2 card. In my environment, there will be a flow of lot of layer2 protocol packets. I could not receive a specific protocol packet - VTP(https://en.wikipedia.org/wiki/VLAN_Trunking_Protocol). It's ethertype is 0x0055. However, I could receive this protocol frames