From owner-freebsd-net@FreeBSD.ORG Fri Sep 26 10:47:15 2014 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 527C5D5E; Fri, 26 Sep 2014 10:47:15 +0000 (UTC) Received: from mail-pd0-x234.google.com (mail-pd0-x234.google.com [IPv6:2607:f8b0:400e:c02::234]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1A3D9641; Fri, 26 Sep 2014 10:47:15 +0000 (UTC) Received: by mail-pd0-f180.google.com with SMTP id r10so12504820pdi.11 for ; Fri, 26 Sep 2014 03:47:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:date:to:cc:subject:message-id:reply-to:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=BEdz3pfC5hwlkQtzfmJE+oeiTQzcNr9nmEIElG1JpwY=; b=o3EhXfyjznB+Zw2PeC0vLEa2m+OJRei5avO7X4AeY2Hh1Gw/hIRDIRAYrNhB2zXX8L ubt6CvVKSx130erMx/ZkmtE5yJRE4qgJQ3oStfri036lzSUS96DNTIJmiIjJ0Dr1JvzS ky8erSZXJWZFmgmpfNuhGWHXxLF1XR4XOjgrK9N56yYn+zpfoimPnYciFlT9hBMKq7Wg J9+7fm3CuPBbkghTxkIDzeBBATCxlfyKxG8wlYpYRxzHvEK5xRDKNzh096Wht5RIIN5v nGb8Af/oe4RhZpclhlJ+2SYQ/2tt8R5T670zR9vkvwfRcoqzwNpv+MrxYqRplsmpq/Lb Ds2g== X-Received: by 10.68.136.100 with SMTP id pz4mr29179029pbb.119.1411728434183; Fri, 26 Sep 2014 03:47:14 -0700 (PDT) Received: from pyunyh@gmail.com ([106.247.248.2]) by mx.google.com with ESMTPSA id nk11sm4602215pdb.40.2014.09.26.03.47.09 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Fri, 26 Sep 2014 03:47:12 -0700 (PDT) From: Yonghyeon PYUN X-Google-Original-From: "Yonghyeon PYUN" Received: by pyunyh@gmail.com (sSMTP sendmail emulation); Fri, 26 Sep 2014 19:46:59 +0900 Date: Fri, 26 Sep 2014 19:46:59 +0900 To: Kevin Lo Subject: Re: Success with Qualcomm Atheros QCA8171 Message-ID: <20140926104659.GA980@michelle.fasterthan.com> Reply-To: pyunyh@gmail.com References: <3320661411119387@web21h.yandex.ru> <20140925094736.F2E71AE5@hub.freebsd.org> <20140926011757.GA61226@ns.kevlo.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20140926011757.GA61226@ns.kevlo.org> User-Agent: Mutt/1.4.2.3i Cc: freebsd-net@freebsd.org, freebsd-drivers@freebsd.org, Nils Beyer X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Sep 2014 10:47:15 -0000 On Fri, Sep 26, 2014 at 09:17:57AM +0800, Kevin Lo wrote: > On Thu, Sep 25, 2014 at 11:44:24AM +0200, Nils Beyer wrote: > > > > Hi Gulyaev, > > > > Gulyaev Ghosh wrote: > > > Since I ask on the FreeBSD forums, there is a proposition to check > > > alx-freebsd and have initialized interface. > > > > > > So if someone have similar hardware, you can got your experience with > > > that project and share info. > > > > I've got an onboard "AR8161 Gigabit Ethernet" adapter. With your proposed GIT- > > repository and using its branch "master" I'm able to rudimentarily use the > > NIC. But only if the network cable is short (< 2m). Using longer cables gives > > me a "no carrier" status. When it is connected, speed is abysmal and functio- Yeah, the controller requires lots of DSP fixup codes under various situations. > > nality ceases as soon as I perform an "iperf" benchmark until I reboot. > > > > But for small data transfers (SSH, RSYNC, RDP) it's okay. Mark has done a good > > job so far: > > =============================================================================== > > #dmesg | grep alx > > alx0: port 0x2000-0x207f mem 0xd0400000-0xd043ffff irq 16 at device 0.0 on pci2 > > alx0: Ethernet address: 5c:f9:dd:55:c9:fb > > > > #ifconfig alx0 > > alx0: flags=8843 metric 0 mtu 1500 > > ether 5c:f9:dd:55:c9:fb > > inet6 fe80::5ef9:ddff:fe55:c9fb%alx0 prefixlen 64 scopeid 0x2 > > nd6 options=29 > > media: Ethernet autoselect > > status: no carrier > > > > #pciconf -evl | tail -13 > > alx0@pci0:2:0:0: class=0x020000 card=0x05621028 chip=0x10911969 rev=0x10 hdr=0x00 > > vendor = 'Atheros Communications Inc.' > > device = 'AR8161 Gigabit Ethernet' > > class = network > > subclass = ethernet > > PCI-e errors = Correctable Error Detected > > Non-Fatal Error Detected > > Unsupported Request Detected > > Non-fatal = Unsupported Request > > Corrected = Bad TLP > > Bad DLLP > > REPLAY_NUM Rollover > > Replay Timer Timeout > > =============================================================================== > > AFAIK yongari@ is working on it. Yes, I'm working on it. Very basic things seems to work at this moment but it still has lots of things to be resolved. Due to lack of spare time the progress is very slow but I'll let you guys know when it's ready for public testing.