From owner-freebsd-current@freebsd.org Mon Jul 27 08:31:55 2020 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 58BAE37A94F for ; Mon, 27 Jul 2020 08:31:55 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic316-8.consmr.mail.gq1.yahoo.com (sonic316-8.consmr.mail.gq1.yahoo.com [98.137.69.32]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4BFY223htgz4dhs for ; Mon, 27 Jul 2020 08:31:54 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: Zf1G3pAVM1kI.i3WbnmLtGwW5xO6TsWJP5xC8cQzMeJEJDayr5h7exhe1QcNghb KXzw3S6_p5cT5tPokC54jAjdC6qfkvTQZ0li410TGay2hy7mTwNpaclt1CM3tj6GNDUY4QQYPMfs 6EBVyd_Nc82EnAZCyYvAsCBr2I4fHW9K4VazYinhA5dUuu.4z0Tdoj6dDGBklbllGvG6fb6HgvQ6 7g9sdahm.kzyCFu3.KGSAEw9Sn8prliY93Pn8P20.BYepSCuQ5aYHVxE.LrE30AJWaFH7_okC3ic 7tSiky1D7lYmHCssv9upXTxDDHw5MiVTdOhXko1_SGQr8djfJeQvlvOSCj4dkj9KCWYEg7RpfT1. FTxVRGz7odj6sj7dEXk8SVJHvuOTCJKBLZ4bYSTj5CwqGDw1dWwBFujrWha_lBqkyWkoLu5EE.YC 7433.spq2xs4bYDAS1WzbTrqYouNufIFe0jCrSR3ngH3RBQUHy7Udm9pcP6GaHTkaN.WOBMoGSAA 5rzSGGqYc5bq133rMbxH7qFJYBqX2lwYfh4O.kw2E_CNOCnC0sQpHMR0OgEWNnxawgAP8GYD1z9B r2FNY5VD1A3fNOZI5Xl3HE9541S3w939ocRmMpDwCLyV7C2SCqSkBJ.DXuNrsqBrCUDLMLdG8yn_ dGuY2Ng2hFH4y6hWsze_YWXxBUTHRxR0JK0aN_MLT6SlM5e0YnaMYhyusyjAikotfPmTinqCCaJS h8q9hYplyK8iyNIvj1QfvB0su4POiEWtrPu2_kCDiA.WFJH5aGBQTvt2A01DDTGJPhaE2Gx3EndT crRaber.W26zq2tlnYyzzXayOlKCWD6V1hSM5NE.wkVPhMxVNwn63HoQuidC3Zq291sKlZ6BVeQG Dj9kImD5E8IVg971jvPurSDlTK5rKRNp79TCr7XWP17bb0ILcr9xhEJTyb54uLd0_yO_rZrlTTTe KPpqYIqVOXBo9LR9u2cq9HVMS.vLTbNT8HM6DiNOTjjszGgqTYv4StHATS8hj5skYZLyKKTMR6N. solDr5.b5QkztmUmHO_16ITPmOLsswPBsrx0G2hkqViX3TMWTerxgYa_D9FHJAE6ECIm71Y2pn9s MPuqe7VSNsCRW3UBLGVyeKqjNNlbqbU59obsp1a0O1jb0tRcUKerFpXCu_x4f.Up21MbvNF7rxs0 JqAHT1rf0.ocjWoIobKJLKgx7v3_GZZ2W9rTV5Y1f3iSSRNF3ThGzuJTn6NQQs81yfWQoIV9sk7F DcED5._vRdMt7eoLwt8_pq8OIIRQEzFK5mZC9PCHHTm7iMRVZ0gepOcM2DLRbVidAjgXYJIsBGKF D2mRpdDulAc5ZZUiBs3lDFPWveb8iGkZ2vVwTCF25pnOy9Nm1uuCRMOh6IHf6LYhsqw1Y3m_jFS4 NsDMQGzm_L9KNOHnkyuuq2IJrg5C_NjLBrm5oV1iOMGxkOa2P4K9p1Un5lBR3HA-- Received: from sonic.gate.mail.ne1.yahoo.com by sonic316.consmr.mail.gq1.yahoo.com with HTTP; Mon, 27 Jul 2020 08:31:52 +0000 Received: by smtp425.mail.bf1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 91cfcfdd4b491ba64209b15c1ef339cd; Mon, 27 Jul 2020 08:31:48 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.80.23.2.2\)) Subject: Re: CFT: major update to if_ure (patch did not apply cleanly for head -r363510) From: Mark Millard In-Reply-To: <20200727012035.GS4213@funkthat.com> Date: Mon, 27 Jul 2020 01:31:47 -0700 Cc: FreeBSD Current Content-Transfer-Encoding: quoted-printable Message-Id: References: <20200727012035.GS4213@funkthat.com> To: John-Mark Gurney X-Mailer: Apple Mail (2.3608.80.23.2.2) X-Rspamd-Queue-Id: 4BFY223htgz4dhs X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.36 / 15.00]; RCVD_TLS_LAST(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.69.32:from]; FROM_HAS_DN(0.00)[]; FREEMAIL_FROM(0.00)[yahoo.com]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[text/plain]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; NEURAL_HAM_LONG(-1.02)[-1.021]; NEURAL_HAM_MEDIUM(-1.00)[-0.997]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[98.137.69.32:from]; NEURAL_HAM_SHORT(-0.84)[-0.840]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/21, country:US]; RCVD_COUNT_TWO(0.00)[2]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Jul 2020 08:31:55 -0000 On 2020-Jul-26, at 18:20, John-Mark Gurney 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: = 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: add net fe80::: gateway ::1 on ure0 add net ff02::: gateway ::1 rgephy0: 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: on ure0 ue0: Ethernet address: ### ue0: link state changed to DOWN . . . ue0: link state changed to UP # ifconfig lo0: flags=3D8049 metric 0 mtu 16384 options=3D680003 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1 inet 127.0.0.1 netmask 0xff000000 groups: lo nd6 options=3D21 ue0: flags=3D8843 metric 0 mtu = 1500 = options=3D68009b ether ### inet 192.168.1.148 netmask 0xffffff00 broadcast 192.168.1.255 media: Ethernet autoselect (1000baseT ) status: active nd6 = options=3D2b 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)