On Wed, Sep 01, 2021 at 10:46:01AM +1000, Jonathan Matthew wrote:
> 
> Here's a driver for the Aquantia USB ethernet devices I just added
> to usbdevs.  These are somewhat interesting because they theoretically
> go up to 5GbE and support jumbo frames (not implemented yet).
> 
> While working on this I noticed that it doesn't receive 15-25% of the packets
> it should, even at very low packet rates, when connected to ehci(4) 
> controllers.
> No such packet loss occurs with an xhci(4) controller.  I'm not sure if this
> is a problem with our ehci driver or a poor hardware interaction.

I tested your diff with the following device:

uaq0 at uhub0 port 19 configuration 1 interface 0 "QNAP QNAP QNA-UC5G1T USB to 
5GbE Adapter" rev 3.20/1.01 addr 4
uaq0: ver 2.5.30, address 24:5e:be:xx:xx:xx

I noticed that if the device connects to an xhci controller and connects to a 
Gigabit switch, I'll get a bunch of messages while running iperf3:

uaq0: offset mismatch, got 5232 expected 49969927280
uaq0: offset mismatch, got -25912 expected 149128480565874
uaq0: offset mismatch, got 2192 expected 55976167568
...

Apart from that it's working fine.

> ok?

ok kevlo@

Reply via email to