From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mout.gmx.net (mout.gmx.net [212.227.15.15]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.bufferbloat.net (Postfix) with ESMTPS id EAA343B29D for ; Thu, 21 Apr 2022 02:59:03 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1650524342; bh=Oii+b5W8zmnLUDwKDn9lRAI6TAYpS8jaRWk7e7BZhcQ=; h=X-UI-Sender-Class:From:Subject:Date:In-Reply-To:Cc:To:References; b=Hsux8OjyM4l1dkQWtj30XhY8XnGPjgdIG8GBZ7THLv7jiWnZmWf9c+jE6nA3QHGn3 c2Mv52dm142M9EiwK15jQ+LjouUlkVX/gLEfpM8ewEJzGyJwmp3MCN0JcpVlzHVpp4 0D1aCPVG22Til/DVD/qlM1/10ix7Q6FfDKsiJQtA= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from smtpclient.apple ([134.76.241.253]) by mail.gmx.net (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MjS9I-1oAlFE03Za-00kvWJ; Thu, 21 Apr 2022 08:59:02 +0200 From: Sebastian Moeller Message-Id: <2496CFB6-D4E6-42E5-BBB5-E762DFB25527@gmx.de> Content-Type: multipart/mixed; boundary="Apple-Mail=_9EDF421A-DDDB-4AB0-A015-C5C24F072788" Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\)) Date: Thu, 21 Apr 2022 08:59:00 +0200 In-Reply-To: <1076f676-0dfa-0deb-9994-111c485a8b3d@lackof.org> Cc: cerowrt-devel To: Matt Taggart References: <1076f676-0dfa-0deb-9994-111c485a8b3d@lackof.org> X-Mailer: Apple Mail (2.3654.120.0.1.13) X-Provags-ID: V03:K1:jynt72mjq2uB8j17ONmT39Cqu5g46zrXf6fJtKwW4BzoretFm+h mdENCtHiu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7fyN3NA7tqzAU5abCVnPOe6mpCtR26sneEuCI 4ZaZTbYjX1R6Ie2yi2SXThkLCqNhjETFPulW1RuXqms9InN900l714Bj5Cx4aMLfIfVbgryL9 OsA9FXzQA6hf0Ui7TXkflQrIGzsag5fkxZeBP+zmuWz+4Wv0+NUcT3+xE8ryRu2yKUPCv2VZY 4MNoZB6BbQtoYSw7IdM98SAaMS+ylUxCTZHCg2SnM9b4/S31mq56wRvomjAi2k+LQ4otRF9vo rPV50cDnVEfxX4= Subject: Re: [Cerowrt-devel] usb3 gigabit adapters X-BeenThere: cerowrt-devel@lists.bufferbloat.net X-Mailman-Version: 2.1.20 Precedence: list List-Id: Development issues regarding the cerowrt test router project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Apr 2022 06:59:04 -0000 --Apple-Mail=_9EDF421A-DDDB-4AB0-A015-C5C24F072788 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Hi Matt. Over on the OpenWrt forum there are a lot of reports of tp-link's ue300 = using an RTL8153 chip working robustly and reliably with speeds up to = the expected limit for gigabit ethernet. Reports for Asix model(s) = indicate some driver inefficiencies that make it impossible ot reach the = expected 940-950 Mbps TCP/IPv4 goodput. As far as I can tell none of the USB ethernet dongles support BQL... = (this is why the OpenWrt on raspberry pi 4B crowd generally uses the USB = dongle as the WAN interface and uses a traffic shaper there to keep = latency under load in check, while the on-board ethernet adapter is used = without saer as the LAN interface, typically connected to a switch). Regards Sebastian > On Apr 21, 2022, at 07:55, Matt Taggart wrote: >=20 > Has anyone reviewed the various available usb3 gigabit adapters for = features, linux driver support, bufferbloat, BQL(can usb NICs do BQL?), = etc? >=20 > With some single board computers having reasonable usb3 now, I can see = people making routers out of them. But it would also be good to know if = that's reasonable and in general which to recommend. >=20 > Some searching in drivers/net/usb/ for gigabit capable things I found: >=20 > aqc111: Aquantia AQtion USB to 5GbE > ax88179_178a: ASIX AX88179, ASIX AX88178A, Sitcomm LN-032 > lan78xx: 7800/7801 usb3 devices > r8152: r8153 usb3 devices > smsc75xx: only usb2? > Maybe there are others? >=20 > In real life I have: >=20 > 1) an r8152 device (came with a Asus laptop). It's been reliable. >=20 > 2) an ax88179_178a device = (https://www.amazon.com/gp/product/B00MYTSN18). Worked at first, but = started acting up after a recent kernel upgrade and I haven't tracked = down what changed yet. >=20 > I've attached some ethtool output for the features of each. >=20 > Ebay has tons of $10 options, but little details. Some also have = integrated USB ports on them, some are "docking station" like and have = hdmi as well. If you search for "usb 3.2" you can find some that are = 2.5gbit. >=20 > Also some interesting (but from 2019) info in this post > = https://raspberrypi.stackexchange.com/questions/100040/what-sort-of-throug= hput-is-achievabe-over-the-usb-3-0-port-on-the-pi-4 >=20 > --=20 > Matt Taggart > matt@lackof.org= --Apple-Mail=_9EDF421A-DDDB-4AB0-A015-C5C24F072788 Content-Disposition: attachment; filename=ethtool-r8153.txt Content-Type: text/plain; x-unix-mode=0644; name="ethtool-r8153.txt" Content-Transfer-Encoding: quoted-printable # ethtool -i eth3 driver: r8152 version: v1.11.11 firmware-version: rtl8153a-2 v1 10/23/19 expansion-rom-version: bus-info: usb-0000:00:1d.7-1 supports-statistics: yes supports-test: no supports-eeprom-access: no supports-register-dump: no supports-priv-flags: no # ethtool -k eth3 Features for eth3: rx-checksumming: on tx-checksumming: on tx-checksum-ipv4: on tx-checksum-ip-generic: off [fixed] tx-checksum-ipv6: on tx-checksum-fcoe-crc: off [fixed] tx-checksum-sctp: off [fixed] scatter-gather: on tx-scatter-gather: on tx-scatter-gather-fraglist: on tcp-segmentation-offload: on tx-tcp-segmentation: on tx-tcp-ecn-segmentation: off [fixed] tx-tcp-mangleid-segmentation: off tx-tcp6-segmentation: on generic-segmentation-offload: on generic-receive-offload: on large-receive-offload: off [fixed] rx-vlan-offload: on tx-vlan-offload: on ntuple-filters: off [fixed] receive-hashing: off [fixed] highdma: off [fixed] rx-vlan-filter: off [fixed] vlan-challenged: off [fixed] tx-lockless: off [fixed] netns-local: off [fixed] tx-gso-robust: off [fixed] tx-fcoe-segmentation: off [fixed] tx-gre-segmentation: off [fixed] tx-gre-csum-segmentation: off [fixed] tx-ipxip4-segmentation: off [fixed] tx-ipxip6-segmentation: off [fixed] tx-udp_tnl-segmentation: off [fixed] tx-udp_tnl-csum-segmentation: off [fixed] tx-gso-partial: off [fixed] tx-tunnel-remcsum-segmentation: off [fixed] tx-sctp-segmentation: off [fixed] tx-esp-segmentation: off [fixed] tx-udp-segmentation: off [fixed] tx-gso-list: off [fixed] fcoe-mtu: off [fixed] tx-nocache-copy: off loopback: off [fixed] rx-fcs: off [fixed] rx-all: off [fixed] tx-vlan-stag-hw-insert: off [fixed] rx-vlan-stag-hw-parse: off [fixed] rx-vlan-stag-filter: off [fixed] l2-fwd-offload: off [fixed] hw-tc-offload: off [fixed] esp-hw-offload: off [fixed] esp-tx-csum-hw-offload: off [fixed] rx-udp_tunnel-port-offload: off [fixed] tls-hw-tx-offload: off [fixed] tls-hw-rx-offload: off [fixed] rx-gro-hw: off [fixed] tls-hw-record: off [fixed] rx-gro-list: off macsec-hw-offload: off [fixed] --Apple-Mail=_9EDF421A-DDDB-4AB0-A015-C5C24F072788 Content-Disposition: attachment; filename=ethtool-ax88179_178a.txt Content-Type: text/plain; x-unix-mode=0644; name="ethtool-ax88179_178a.txt" Content-Transfer-Encoding: quoted-printable # ethtool -i enx000ec6bd480a driver: ax88179_178a version: 5.10.0-13-amd64 firmware-version: expansion-rom-version: bus-info: 2-2:1.0 supports-statistics: no supports-test: no supports-eeprom-access: yes supports-register-dump: no supports-priv-flags: no # ethtool -k enx000ec6bd480a Features for enx000ec6bd480a: rx-checksumming: on tx-checksumming: on tx-checksum-ipv4: on tx-checksum-ip-generic: off [fixed] tx-checksum-ipv6: on tx-checksum-fcoe-crc: off [fixed] tx-checksum-sctp: off [fixed] scatter-gather: off tx-scatter-gather: off [fixed] tx-scatter-gather-fraglist: off [fixed] tcp-segmentation-offload: off tx-tcp-segmentation: off [fixed] tx-tcp-ecn-segmentation: off [fixed] tx-tcp-mangleid-segmentation: off [fixed] tx-tcp6-segmentation: off [fixed] generic-segmentation-offload: off [requested on] generic-receive-offload: on large-receive-offload: off [fixed] rx-vlan-offload: off [fixed] tx-vlan-offload: off [fixed] ntuple-filters: off [fixed] receive-hashing: off [fixed] highdma: off [fixed] rx-vlan-filter: off [fixed] vlan-challenged: off [fixed] tx-lockless: off [fixed] netns-local: off [fixed] tx-gso-robust: off [fixed] tx-fcoe-segmentation: off [fixed] tx-gre-segmentation: off [fixed] tx-gre-csum-segmentation: off [fixed] tx-ipxip4-segmentation: off [fixed] tx-ipxip6-segmentation: off [fixed] tx-udp_tnl-segmentation: off [fixed] tx-udp_tnl-csum-segmentation: off [fixed] tx-gso-partial: off [fixed] tx-tunnel-remcsum-segmentation: off [fixed] tx-sctp-segmentation: off [fixed] tx-esp-segmentation: off [fixed] tx-udp-segmentation: off [fixed] tx-gso-list: off [fixed] fcoe-mtu: off [fixed] tx-nocache-copy: off loopback: off [fixed] rx-fcs: off [fixed] rx-all: off [fixed] tx-vlan-stag-hw-insert: off [fixed] rx-vlan-stag-hw-parse: off [fixed] rx-vlan-stag-filter: off [fixed] l2-fwd-offload: off [fixed] hw-tc-offload: off [fixed] esp-hw-offload: off [fixed] esp-tx-csum-hw-offload: off [fixed] rx-udp_tunnel-port-offload: off [fixed] tls-hw-tx-offload: off [fixed] tls-hw-rx-offload: off [fixed] rx-gro-hw: off [fixed] tls-hw-record: off [fixed] rx-gro-list: off macsec-hw-offload: off [fixed] --Apple-Mail=_9EDF421A-DDDB-4AB0-A015-C5C24F072788 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii > _______________________________________________ > Cerowrt-devel mailing list > Cerowrt-devel@lists.bufferbloat.net > https://lists.bufferbloat.net/listinfo/cerowrt-devel --Apple-Mail=_9EDF421A-DDDB-4AB0-A015-C5C24F072788--