I am currently using an Ubuntu 18.04.6 system with Kernel 5.4.0-150-generic, equipped with a Mellanox ConnectX-4 LX NIC card. My setup includes a ZCU102 FPGA that is programmed to send and receive 10G data.
Current Configuration:
- Operating System: Ubuntu 18.04.6
- Kernel Version: 5.4.0-150-generic
- NIC: Mellanox ConnectX-4 LX
- FPGA: ZCU102
- Data Rate: 1 Gbps
- Data Transfer Method: RDMA and UDP sockets
Issue Description:
I have successfully captured data from the FPGA to the PC using RDMA without any packet loss. However, I am facing issues when sending data from the PC to the FPGA using RDMA. Specifically, I am encountering packet loss and CRC errors on the FPGA side.
Additionally, I attempted to send data over a UDP socket bound to the Mellanox NIC, but I still observe the same packet loss and CRC errors.
Steps Taken:
- Verified the integrity and configuration of the FPGA program.
- Checked the NIC settings and ensured proper configuration for RDMA.
- Used both RDMA and UDP sockets for data transfer.
Despite these efforts, the issues persist.
Request for Assistance:
I seek your assistance in resolving the following:
- CRC Errors:
- What could be causing the CRC errors on the FPGA side when receiving data from the PC?
- Are there any specific NIC configurations or settings that need to be adjusted to mitigate these errors?
- Packet Loss:
- What steps can be taken to reduce or eliminate packet loss during data transfer to the FPGA?
- Are there any recommended practices for optimizing RDMA and UDP socket configurations to ensure reliable data transfer?
Any insights or guidance you can provide would be greatly appreciated. If additional information or logs are required for further diagnosis, please let me know.