Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Jul 2020 01:31:47 -0700
From:      Mark Millard <marklmi@yahoo.com>
To:        John-Mark Gurney <jmg@funkthat.com>
Cc:        FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: CFT: major update to if_ure (patch did not apply cleanly for head -r363510)
Message-ID:  <F5CFD6E1-787B-4416-B666-86847166D99F@yahoo.com>
In-Reply-To: <20200727012035.GS4213@funkthat.com>
References:  <D5A3AECA-96C8-4E16-8795-B590ED9D82E3.ref@yahoo.com> <D5A3AECA-96C8-4E16-8795-B590ED9D82E3@yahoo.com> <20200727012035.GS4213@funkthat.com>

next in thread | previous in thread | raw e-mail | index | archive | help


On 2020-Jul-26, at 18:20, John-Mark Gurney <jmg@funkthat.com> wrote:

> Mark Millard wrote this message on Sat, Jul 25, 2020 at 19:13 -0700:
>> For reference for what applying the patch
>> reported (see Hunk #14):
>=20
> Ok, updated it to be relative to r363583...
>=20
> I had made a white spcae commit to if_ure.c, but hadn't made the
> patch relative to it after that commit.. should work now..

That worked after I upgraded to -r363590 as what to start from
( upgraded from -r363510 ).

Only a quick, basic test on a cortexA72 aarch64 system with a
USB3 EtherNet device so far:

# iperf3 -c 192.168.1.120 --get-server-output
Connecting to host 192.168.1.120, port 5201
[  5] local 192.168.1.148 port 63238 connected to 192.168.1.120 port =
5201
[ ID] Interval           Transfer     Bitrate         Retr  Cwnd
[  5]   0.00-1.00   sec  91.8 MBytes   770 Mbits/sec  821   91.3 KBytes  =
    =20
[  5]   1.00-2.00   sec  92.2 MBytes   774 Mbits/sec  865   51.1 KBytes  =
    =20
[  5]   2.00-3.00   sec  92.2 MBytes   773 Mbits/sec  844   29.9 KBytes  =
    =20
[  5]   3.00-4.00   sec  91.3 MBytes   766 Mbits/sec  826   65.4 KBytes  =
    =20
[  5]   4.00-5.00   sec  91.2 MBytes   765 Mbits/sec  828   44.1 KBytes  =
    =20
[  5]   5.00-6.00   sec  91.6 MBytes   768 Mbits/sec  862   4.28 KBytes  =
    =20
[  5]   6.00-7.00   sec  91.1 MBytes   765 Mbits/sec  842   5.70 KBytes  =
    =20
[  5]   7.00-8.00   sec  91.5 MBytes   767 Mbits/sec  844   78.1 KBytes  =
    =20
[  5]   8.00-9.00   sec  92.1 MBytes   772 Mbits/sec  855   58.3 KBytes  =
    =20
[  5]   9.00-10.00  sec  91.6 MBytes   769 Mbits/sec  844   17.1 KBytes  =
    =20
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Retr
[  5]   0.00-10.00  sec   917 MBytes   769 Mbits/sec  8431             =
sender
[  5]   0.00-10.19  sec   916 MBytes   755 Mbits/sec                  =
receiver

Server output:
-----------------------------------------------------------
Server listening on 5201
-----------------------------------------------------------
Accepted connection from 192.168.1.148, port 32073
[  5] local 192.168.1.120 port 5201 connected to 192.168.1.148 port =
63238
[ ID] Interval           Transfer     Bitrate
[  5]   0.00-1.00   sec  74.2 MBytes   622 Mbits/sec                 =20
[  5]   1.00-2.00   sec  92.3 MBytes   774 Mbits/sec                 =20
[  5]   2.00-3.00   sec  92.3 MBytes   774 Mbits/sec                 =20
[  5]   3.00-4.00   sec  91.4 MBytes   767 Mbits/sec                 =20
[  5]   4.00-5.00   sec  91.1 MBytes   764 Mbits/sec                 =20
[  5]   5.00-6.00   sec  91.7 MBytes   769 Mbits/sec                 =20
[  5]   6.00-7.00   sec  91.2 MBytes   765 Mbits/sec                 =20
[  5]   7.00-8.00   sec  91.2 MBytes   765 Mbits/sec                 =20
[  5]   8.00-9.00   sec  92.1 MBytes   772 Mbits/sec                 =20
[  5]   9.00-10.00  sec  91.7 MBytes   769 Mbits/sec                 =20
[  5]  10.00-10.19  sec  17.3 MBytes   772 Mbits/sec                 =20
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate
[  5]   0.00-10.19  sec   916 MBytes   755 Mbits/sec                  =
receiver

Before the new kernel installation and reboot it showed:

# iperf3 -c 192.168.1.120 --get-server-output
Connecting to host 192.168.1.120, port 5201
[  5] local 192.168.1.148 port 53616 connected to 192.168.1.120 port =
5201
[ ID] Interval           Transfer     Bitrate         Retr  Cwnd
[  5]   0.00-1.00   sec  13.8 MBytes   116 Mbits/sec  217   35.6 KBytes  =
    =20
[  5]   1.00-2.00   sec  13.7 MBytes   115 Mbits/sec  221   49.8 KBytes  =
    =20
[  5]   2.00-3.00   sec  13.7 MBytes   115 Mbits/sec  217   9.98 KBytes  =
    =20
[  5]   3.00-4.00   sec  13.7 MBytes   115 Mbits/sec  220   41.3 KBytes  =
    =20
[  5]   4.00-5.00   sec  13.7 MBytes   115 Mbits/sec  221   58.2 KBytes  =
    =20
[  5]   5.00-6.00   sec  13.7 MBytes   115 Mbits/sec  222   62.7 KBytes  =
    =20
[  5]   6.00-7.00   sec  13.8 MBytes   116 Mbits/sec  140   44.1 KBytes  =
    =20
[  5]   7.00-8.00   sec  13.8 MBytes   116 Mbits/sec  114   7.13 KBytes  =
    =20
[  5]   8.00-9.00   sec  13.7 MBytes   115 Mbits/sec  192   7.13 KBytes  =
    =20
[  5]   9.00-10.00  sec  13.7 MBytes   115 Mbits/sec  220   15.7 KBytes  =
    =20
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Retr
[  5]   0.00-10.00  sec   137 MBytes   115 Mbits/sec  1984             =
sender
[  5]   0.00-10.18  sec   137 MBytes   113 Mbits/sec                  =
receiver

Server output:
Accepted connection from 192.168.1.148, port 52047
[  5] local 192.168.1.120 port 5201 connected to 192.168.1.148 port =
53616
[ ID] Interval           Transfer     Bitrate
[  5]   0.00-1.00   sec  11.2 MBytes  94.0 Mbits/sec                 =20
[  5]   1.00-2.00   sec  13.7 MBytes   115 Mbits/sec                 =20
[  5]   2.00-3.00   sec  13.7 MBytes   115 Mbits/sec                 =20
[  5]   3.00-4.00   sec  13.7 MBytes   115 Mbits/sec                 =20
[  5]   4.00-5.00   sec  13.7 MBytes   115 Mbits/sec                 =20
[  5]   5.00-6.00   sec  13.7 MBytes   115 Mbits/sec                 =20
[  5]   6.00-7.00   sec  13.7 MBytes   115 Mbits/sec                 =20
[  5]   7.00-8.00   sec  13.8 MBytes   116 Mbits/sec                 =20
[  5]   8.00-9.00   sec  13.7 MBytes   115 Mbits/sec                 =20
[  5]   9.00-10.00  sec  13.7 MBytes   115 Mbits/sec                 =20
[  5]  10.00-10.18  sec  2.53 MBytes   115 Mbits/sec                 =20
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate
[  5]   0.00-10.18  sec   137 MBytes   113 Mbits/sec                  =
receiver


iperf Done.



For reference:

Starting devd.
Autoloading module: if_ure.ko
ure0 on uhub0
ure0: <Realtek USB 10/100/1000 LAN, class 0/0, rev 3.00/30.00, addr 1> =
on usbus2
add host 127.0.0.1: gateway lo0 fib 0: route already in table
add host ::1: gateway lo0 fib 0: route already in table
miibus0: <MII bus>
add net fe80::: gateway ::1
 on ure0
add net ff02::: gateway ::1
rgephy0: <RTL8251/8153 1000BASE-T media interface>
add net ::ffff:0.0.0.0: gateway ::1
add net ::0.0.0.0: gateway ::1
 PHY 0 on miibus0
rgephy0:  none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, =
1000baseT-FDX, 1000baseT-FDX-master, auto
ue0: <USB Ethernet> on ure0
ue0: Ethernet address: ###
ue0: link state changed to DOWN
. . .
ue0: link state changed to UP

# ifconfig
lo0: flags=3D8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
        options=3D680003<RXCSUM,TXCSUM,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6>
        inet6 ::1 prefixlen 128
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1
        inet 127.0.0.1 netmask 0xff000000
        groups: lo
        nd6 options=3D21<PERFORMNUD,AUTO_LINKLOCAL>
ue0: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu =
1500
        =
options=3D68009b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,LINKSTA=
TE,RXCSUM_IPV6,TXCSUM_IPV6>
        ether ###
        inet 192.168.1.148 netmask 0xffffff00 broadcast 192.168.1.255
        media: Ethernet autoselect (1000baseT <full-duplex>)
        status: active
        nd6 =
options=3D2b<PERFORMNUD,ACCEPT_RTADV,IFDISABLED,AUTO_LINKLOCAL>


Hopefully, I'll get back to testing fairly soon.

=3D=3D=3D
Mark Millard
marklmi at yahoo.com
( dsl-only.net went
away in early 2018-Mar)




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F5CFD6E1-787B-4416-B666-86847166D99F>