Microsemi / switchtec-kernel

A kernel module for the Microsemi PCIe switch
GNU General Public License v2.0
45 stars 31 forks source link

ntb_netdev TCP problem #62

Open ComiXZonE opened 5 years ago

ComiXZonE commented 5 years ago

Hello, I'm using ntb_transport and ntb_netdev drivers to enable communication between two hosts using Switchtec PFX PCIe Switch.

After assigning IP addresses to the virtual eth interfaces of both hosts and successfully pinging each other I tried testing the connection using iperf3. However, when using TCP as a transport protocol, only certain random number of packets gets sent after which the connection breaks. Wireshark states that a few spurious retransmission happens in those moments followed by Dup ACKs from the destination. After that ARP from the destination keeps asking where the source is and there are some keep-alive messages sent from the source address to destination address, it is a mess really. I am attaching a screenshot of the Wireshark log.

Wireshark_log

Has this kind of behavior been observed before? Note that this does not happen with UDP as a transport protocol. Yes, there are some packet drops here and there but the connection is pretty much stable in that case.

Thank you in advance.

Kendidi commented 1 year ago

Hi Nikola,

Are you able to get the issue resolved? I am kind in a similar situation.

The 2 sides cannot communicate properly. Lots of "done flag not set". PING doesn't work, 100% packet loss.

Please advise. Many thanks in advance!