From owner-freebsd-net@freebsd.org Thu May 25 19:37:25 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AB10BD82425 for ; Thu, 25 May 2017 19:37:25 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (turbocat.net [IPv6:2a01:4f8:c17:6c4b::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6D56A12AC for ; Thu, 25 May 2017 19:37:25 +0000 (UTC) (envelope-from hps@selasky.org) Received: from hps2016.home.selasky.org (unknown [62.141.129.119]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id 4CF4326011D; Thu, 25 May 2017 21:37:23 +0200 (CEST) Subject: Re: AW: axge0 and AX88179 To: Tom Huerlimann , freebsd-net@freebsd.org References: <008701d2d585$f1977f90$d4c67eb0$@thuinformatik.ch> From: Hans Petter Selasky Message-ID: <2248eb55-c402-cdb9-2648-986a0ed9663a@selasky.org> Date: Thu, 25 May 2017 21:35:23 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.0.1 MIME-Version: 1.0 In-Reply-To: <008701d2d585$f1977f90$d4c67eb0$@thuinformatik.ch> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 May 2017 19:37:25 -0000 On 05/25/17 20:37, Tom Huerlimann wrote: > Hi all, > > I have the problem, that I cannot reach more than 20-40Mbit/s when using the > AX88179 chip (1Gbit/s NIC) on a USB 3.0 SuperSpeed Port (same on a 480Mbps > High Speed USB v2.0-Port). > > # usbconfig dump_device_desc > (...) > ugen0.7: at usbus0, cfg=0 md=HOST spd=SUPER > (5.0Gbps) pwr=ON (124mA) > > bLength = 0x0012 > bDescriptorType = 0x0001 > bcdUSB = 0x0300 > bDeviceClass = 0x00ff > bDeviceSubClass = 0x00ff > bDeviceProtocol = 0x0000 > bMaxPacketSize0 = 0x0009 > idVendor = 0x0b95 > idProduct = 0x1790 > bcdDevice = 0x0100 > iManufacturer = 0x0001 > iProduct = 0x0002 > iSerialNumber = 0x0003 <00000000000001> > bNumConfigurations = 0x0001 > > plugged into this USB controller: > > # dmesg | grep -i usb > xhci0: mem 0xd0800000-0xd080ffff irq 20 > at device 20.0 on pci0 usbus0 on xhci0 > ehci0: mem 0xd0815000-0xd08153ff irq 23 > at device 29.0 on pci0 > usbus1: waiting for BIOS to give up control > usbus1: timed out waiting for BIOS > usbus1: EHCI version 1.0 > usbus1 on ehci0 > usbus0: 5.0Gbps Super Speed USB v3.0 > usbus1: 480Mbps High Speed USB v2.0 > ugen1.1: at usbus1 > uhub0: on usbus1 > ugen0.1: <0x8086> at usbus0 > uhub1: <0x8086 XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus0 > ugen0.2: at usbus0 > umass0: on usbus0 > ugen0.3: at usbus0 > uhub2: on > usbus0 > ugen1.2: at usbus1 > uhub3: on > usbus1 > ugen0.4: at usbus0 > ukbd0: on usbus0 > uhid0: on usbus0 > ugen0.5: at usbus0 > uhub4: on > usbus0 > ugen0.6: at usbus0 > ukbd1: > on usbus0 > uhid1: > on usbus0 > ugen0.7: at usbus0 > axge0: on usbus0 > ue0: on axge0 > > # dmesg | grep -i axge > axge0: on usbus0 > miibus2: on axge0 > ue0: on axge0 > axge0: at uhub1, port 7, addr 6 (disconnected) > axge0: on usbus0 > miibus2: on axge0 > ue0: on axge0 > axge0: on usbus0 > miibus2: on axge0 > ue0: on axge0 > > I'm using FreeBSD 10.3-RELEASE-p19. > > Did someone of you ever managed to reach a higher bandwidth with axge driver > and AX88179 chipset? Yes, you can reach more than 100Mbit/s with USB 3.0. What does ifconfig say about this device? --HPS