Embedded Intel® Core™ Processors
Communicate Intel® Core™ Hardware, Software, Firmware, Graphics Concerns
1254 Discussions

Issue in sending udp packet using custom dpdk application

Rohan_Vardekar
814 Views

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.

0 Kudos
2 Replies
Rohan_Vardekar
781 Views

If anyone knows how to enable pmd debug logs that might be helpful.

Since I am using mlx5 driver. I have set CONFIG_RTE_LIBRTE_MLX5_DEBUG to y.

When I look into driver code I find that logs are written with DRV_LOG macro. 

How can I enable them?

0 Kudos
Diego_INTEL
Moderator
754 Views

Hello @Rohan_Vardekar,

 

Thank you for contacting Intel Embedded Community.

 

This forum is for Intel Embedded products, it seems the card is NVIDIA, you may try asking in their forums.

https://forums.developer.nvidia.com/


Best regards,

@Diego_INTEL 

0 Kudos
Reply