Friday, April 01, 2022

Re: ure(4): add support for RTL8156B

On 22/03/31 09:41PM, Kevin Lo wrote:
> Hi,
>
> This diff adds preliminary support for RTL8156B to ure(4) and
> bug fixes for RTL8153/RTL8156.
>

Tested with:

ure0 at uhub0 port 7 configuration 1 interface 0 "Realtek USB 10/100/1000 LAN" rev 3.00/30.00 addr 2
ure0: RTL8153 (0x5c10), address 9c:eb:e8:xx:xx:xx
rgephy0 at ure0 phy 0: RTL8251 PHY, rev. 0

$ tcpbench -t 10 -4 -u 10.1.0.1
Elapsed: 1000 Mbps: 944.765 Peak Mbps: 944.765 Tx PPS: 80228
Elapsed: 2000 Mbps: 943.023 Peak Mbps: 944.765 Tx PPS: 80080
Elapsed: 3000 Mbps: 942.080 Peak Mbps: 944.765 Tx PPS: 80000
Elapsed: 4000 Mbps: 942.080 Peak Mbps: 944.765 Tx PPS: 80000
Elapsed: 5000 Mbps: 942.080 Peak Mbps: 944.765 Tx PPS: 80000
Elapsed: 6000 Mbps: 941.974 Peak Mbps: 944.765 Tx PPS: 79991
Elapsed: 7000 Mbps: 941.962 Peak Mbps: 944.765 Tx PPS: 79990
Elapsed: 8000 Mbps: 941.974 Peak Mbps: 944.765 Tx PPS: 79991
Elapsed: 9000 Mbps: 942.092 Peak Mbps: 944.765 Tx PPS: 80001
Elapsed: 10000 Mbps: 942.080 Peak Mbps: 944.765 Tx PPS: 80000
--- 10.1.0.1 tcpbench statistics ---
1295648512 bytes sent over 10.999 seconds
bandwidth min/avg/max/std-dev = 941.962/942.411/944.765/0.839 Mbps

Results look pretty reasonable, no issue so far.

No comments:

Post a Comment