Hi,
We are using Layerscape LS1046ARDB evaluation kit in DPDK mode. In this DPDK, we want to use the single core with two physical ethernet ports. Our application is TCP proxy. We have taken the dpdk-l2fwd example code as reference and developed the our application upon that. To run the code, we have used the following command:
./dpdk-l2fwd -c 0x8 -n 1 -- -p 0x3 -q 2 -T 0
With the above command, we could able to run the application and could able to do the proxy functionalities with some issues. The issue is that, the burst of packets(around 15) sent on port 2 using the command rte_eth_tx_burst() are dropping(out of 15 last 5 packets are dropped). Just to verify the packet integrity, we were sending the dropped packets in port 1 also in addition to the actual port 2. The PC connected at port 1 is showing the packets. With this we are assuming that, there is no problem of packet integrity. Since TCP is ack based, retransmissions are happening and application is running, but due to losses we are getting the verly less throuhput.What is the possible reason for packets to be dropped on port 2.
In the above command, we have given number of queues(-q 2). If we give the single queue, the program is exit with the error message. But we are not using two queues in our code. We are using only the single queue. Please help us in resolving the problem.