HSB Packet loss issue

Hi,

I’m currently working with the Lattice CPNX100-ETH-SENSOR-BRIDGE and the Jetson Thor.

I’ve run into some issues. I’m using the Lattice CPNX100-ETH-SENSOR-BRIDGE to send simulated data, and on the Jetson Thor side I receive and display that data. I’ve noticed that white streaks always appear on the images.

After investigating, I found that this is caused by network packet loss.

Using tcpdump to capture network packets, I discovered that in two consecutive packets, the data in the “address” field is not contiguous


Could you please tell me why packet loss occurs and how to resolve this issue?

Also, I should mention that when I reduce the simulated data transmission rate, the packet loss problem is alleviated.

I can see the white streaks in the data you’ve received and how this is consistent with the tcpdump data you’ve observed. What network receiver object are you using? Packet loss is relatively common when using software RDMA emulation (e.g. LinuxCoeReceiverOp), and in fact these software emulation modes include a debugging feature, where memory is cleared to guarantee that lost packets appear with those white streaks (instead of stale data). Using actual RDMA (e.g. FusaCoeCaptureOp) should minimize this.

Also, you mentioned

This raises a theory that the sender isn’t sending all of the data as expected; and that tcpdump is indeed showing what’s actually on the wire. How is simulated data generated in this case? What is the bandwidth used by your test? At what data rate is the receiver working reliably?