From nobody Mon May 24 19:16:07 2021 X-Original-To: freebsd-arm@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 1D4479E74A0 for ; Mon, 24 May 2021 19:16:17 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic315-55.consmr.mail.gq1.yahoo.com (sonic315-55.consmr.mail.gq1.yahoo.com [98.137.65.31]) (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 4Fpn4c1NDFz4Z18 for ; Mon, 24 May 2021 19:16:15 +0000 (UTC) (envelope-from marklmi@yahoo.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1621883774; bh=yurVWCsdJDaodrTjKs0N8q/d+hJgIfhTJiymQxAellg=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=LjCxkqfwZBJNBJIqhr2Ob9JL4ovcZaKgQBjFaebZyqkltvCdtQ15ylEjqH5oD47tgNx094N2gGSoESR1N6G87HM+e/fIC0++8RULZJGApxER4JdPl6DQqry9VnSiJDTI6AIzmZeaD89S1XCLsL1IQjne2MXs7GHxsqCzSUO9H4M79+A6mFn+N3xW+b9uAL6uDAfwjeAGSsBv5AUSOg3PDNGNHTnZK44T4OSXEF/X+ikXK4TQJ5JLIV8hPFORDEbm0orgdmRgFIrvAQxmNKfYYNL25dbAI5mXS4jGICQdEF9fWyO7TYBGgGZiu83/I5wzg5t2ryjjBr6ADOZCu4kwIw== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1621883774; bh=EcZ/bv6ELleXYVLkDAJ3d5QSed4On5MH6HqB78u4JlG=; h=X-Sonic-MF:Subject:From:Date:To:From:Subject; b=llqEc3bozfEfQhmOIpNw2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GinDwbfO8NPOtEIQw7kUCmGFfUyxc1MtzSYjL.eVP9NqQXwiitHlmspzIebbt91MYv6Q16r_3 LEtdJcFMG1CYT16dpSy8px2rZeVZk_3QuOzldl7cXIeTexPx409QOphDnrrBEC0Fr8A2HBdXMsrw S6qGJTuQAIv.HJ59554AD4EG1TJJQbZ1fJmSgsPwa6d792breBaMc5Oxf.0WgdHia5Rm2aQWDDcS gaZO56cU5VRbTPyVpDFP8M60sKbUK3AX5jSD5G7uI.3gljx9gqHbdyX3ZmUnorwVesyJKKKO5GMH HiDn0OZ3Py7J7L3SRgJtIzcRzhOwhRFb9m694Kfc4nBPuP5wxzTZsR8N3br0NMk2TLN1kMFw7RSf 8WP3Ccp62dBZqOWiXQ7QaUvJ_OSqeSl_ZgTKTDQSNQ0umAOWin51iLmyVnrK.kmM2k3eZlKuT8MW R0PN6GxQGbP0dNdHVyJXCRDH7Xs2HLTkXq747MDSOlF.Y9nV9WygnPJESddex16cnq5hEnx8vyoW XTcpXDvlC8ewgBbvFLZLyXbqdUzl.bnIlQ9Sgpmc9QXJMTufRCrNtHD1jL2g5TZfN992xu8oO.vd 1RcTkRy9hDqy17vdPCL0f6G7vTLMpEXK2PacCI0tJlanojilA9McebjQegCjE3hXxm2ZFyegVhIQ q9OpTdB7J8Q9g1tgFZJIxCANW8m52DfKWVUHb2N6FQwLarQOfRcXfMFvfF56bqF3lZevrYadUkv_ Sa3BKke_HOR8- X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic315.consmr.mail.gq1.yahoo.com with HTTP; Mon, 24 May 2021 19:16:14 +0000 Received: by kubenode549.mail-prod1.omega.ne1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID ab4635dd9c2896f95b7a7513cd3dfc15; Mon, 24 May 2021 19:16:09 +0000 (UTC) Content-Type: text/plain; charset=us-ascii List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.80.0.2.43\)) Subject: Re: usb3 to ethernet adapter on rpi4 In-Reply-To: Date: Mon, 24 May 2021 12:16:07 -0700 Cc: freebsd-arm@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: References: To: tech-lists X-Mailer: Apple Mail (2.3654.80.0.2.43) X-Rspamd-Queue-Id: 4Fpn4c1NDFz4Z18 X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] Reply-To: marklmi@yahoo.com From: Mark Millard via freebsd-arm X-Original-From: Mark Millard On 2021-May-24, at 04:00, tech-lists wrote: > Does anyone here use a usb3 <> ethernet adapter on rpi3 or 4? = Something > like > = https://www.amazon.co.uk/ATOLLA-Ethernet-Adapter-Compatible-Nintendo/dp/B0= 886B1S5J >=20 > If so, what version of freebsd? What does the interface come up as? I've used the below over the time frame of using a RPi4B: Genet was not initially supported in a context I was experimenting with. Other than some testing, no other RPi3 use. The RPi3 has fundamental USB2 speed limitations as I remember (even for USB2). Part of the issue being that all USB shares one internal hub with limitations shared, if I remember right: ultimately single channel. Several "CableCreation(tm)" "Gigabit" devices (no model number on outside, separate materials if I remember right): ugen2.2: at usbus2 ure0 on uhub1 ure0: = on usbus2 miibus0: on ure0 rgephy0: PHY 0 on miibus0 rgephy0: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, = 1000baseT-FDX, 1000baseT-FDX-master, auto These are generally the fastest of the few types that I have used. I helped test when the speedup was done for a range of Realtek's that spanned these. I could look up when that was if desired. The update got to more like NetBSD speeds. (I did some compare/contrast activity during testing.) I've shown that genet0 has problems for non-debug FreeBSD builds in my context, problems that have not repeated with the use of these instead. I also use one of these on a MACCHIATObin Double Shot. (FreeBSD does not support any of the built-in Ethernet hardware, last I knew.) Sometimes used via the USB3 port, sometimes via a USB2 port (via a USB2 header). I also use one of these on an old PowerMac G5 that has a problematical built-in Ethernet. In that context, they are not as fast but were somewhat faster than the others that I later list. It has been a while since I've used the others in any system. As I remember they all seemed to work. I still have them all around and so testing is possible. A "j5create" "USB 3.0 Gigabit Ethernet" Model No. JUE130 : ugen2.2: at usbus2 axge0 on uhub1 axge0: on usbus2 miibus0: on axge0 rgephy0: PHY 3 on = miibus0 rgephy0: none, 10baseT, 10baseT-FDX, 10baseT-FDX-flow, 100baseTX, = 100baseTX-FDX, 100baseTX-FDX-flow, 1000baseT-FDX, 1000baseT-FDX-master, = 1000baseT-FDX-flow, 1000baseT-FDX-flow-master, auto, auto-flow A "plugable" "USB3.0 Gigabit Ethernet Adapter" Model USB3-E1000 : ugen2.2: at usbus2 axge0 on uhub1 axge0: on usbus2 miibus0: on axge0 rgephy0: PHY 3 on = miibus0 rgephy0: none, 10baseT, 10baseT-FDX, 10baseT-FDX-flow, 100baseTX, = 100baseTX-FDX, 100baseTX-FDX-flow, 1000baseT-FDX, 1000baseT-FDX-master, = 1000baseT-FDX-flow, 1000baseT-FDX-flow-master, auto, auto-flow (Yep: essentially the same as the j5create, other than "Corp.".) If I remember right, the NetBSD speeds were faster for these than the FreeBSD speeds for them. There are probably notes about such in the old messages from when I was testing. I hope this helps. =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)