From owner-freebsd-usb@FreeBSD.ORG Thu Mar 19 18:06:05 2015 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4B687313 for ; Thu, 19 Mar 2015 18:06:05 +0000 (UTC) Received: from mail.turbocat.net (heidi.turbocat.net [88.198.202.214]) (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 093A5C63 for ; Thu, 19 Mar 2015 18:06:04 +0000 (UTC) Received: from laptop015.home.selasky.org (cm-176.74.213.204.customer.telag.net [176.74.213.204]) (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 8CB9A1FE023; Thu, 19 Mar 2015 19:05:56 +0100 (CET) Message-ID: <550B1032.4000008@selasky.org> Date: Thu, 19 Mar 2015 19:06:42 +0100 From: Hans Petter Selasky User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: Miguel Clara , Miltiadis Margaronis Subject: Re: Support for RTL8153 (USB 3.0 Ethernet) References: In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Cc: freebsd-usb@freebsd.org X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Mar 2015 18:06:05 -0000 On 03/19/15 19:02, Miguel Clara wrote: > On quinta-feira, 19 de Março de 2015 08:10:35 WET, Miltiadis Margaronis > wrote: >> Hi, >> >> In my case it worked as a normal Ethernet CDC device using the second >> configuration. If you still happen to have this device around, you can >> try >> >> usbconfig -d ugenX.Y set_config 1 >> >> After entering this, I got a normal ueX device which worked for the >> short time I used it. >> >> Please cc me, I am not subscribed. >> >> HTH, > > This is cool, I have "dodocool" around which I wasn't use much more than > for a usb SWITCH, but I have an Acer Laptop with wireless only, and I > didn't know I could use ue driver for this (I never really tried but its > sure nice to know). > > The only issue I find is that it seems to topspeed a bit higher then > 100Mbps > > Client connecting to yoda, TCP port 5001 > TCP window size: 32.5 KByte (default) > ------------------------------------------------------------ > [ 3] local 1.1.1.1 port 24383 connected with 1.1.1.2 port 5001 > [ ID] Interval Transfer Bandwidth > [ 3] 0.0-10.0 sec 143 MBytes 120 Mbits/sec > > ------------------------------------------------------------ > Client connecting to yoda, TCP port 5001 > TCP window size: 1.00 MByte (WARNING: requested 1.00 MByte) > ------------------------------------------------------------ > [ 3] local 1.1.1.1 port 24424 connected with 1.1.1.2 port 5001 > [ ID] Interval Transfer Bandwidth > [ 3] 0.0-10.0 sec 135 MBytes 114 Mbits/sec > > > I'm assuming this is just because ue is not ready to handle more then > that, but it would be nice if it could go close to the 1Gbits. > > Not something I would consider priority though as this devices are > probably only used as a alternative to main cards, and its far better > than what I got with USB Wireless cards do the the fact that there's no > 11n support on those,, so I'm happy with this. > > Many thanks for sharing the 'usbconfig -d ugenX.Y set_config 1' trick. > Hi, The "ue" driver is located in sys/dev/usb/net/if_cdce.c and should possibly be tuned for super-speed to send and buffer more frames at a time. Also I think we need to implement lro in the RX patch. --HPS