Hello,
I am using dpdk 20.05. I am using MT27710 Family [ConnectX-4 Lx] 1015 card.
I am able to send packets with testpmd application. However, with my simple custom application, I am not able to send packets to the receiver. I have attached my UDP client code along with this post.
My observations are as follow:
1) Packets are successfully getting into the TX ring.
2) rte_eth_tx_burst suggests the successful transfer of the packets.
3) When checked with ethtool tx_pkt count is not increasing however tx_pkt_phy count is increasing. When I check with testpmd both of these counts increase.
4) I am not getting any packets on the connected system.
I think my packets are not getting DMA from TX ring to NIC. Or NIC for some reason discarding the packets. But the Testpmd application works just fine.
Please let me know what I am doing wrong.
client.c (10.6 KB)