From owner-freebsd-net@FreeBSD.ORG Tue Sep 30 08:20:49 2014 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 566BEF2F for ; Tue, 30 Sep 2014 08:20:49 +0000 (UTC) Received: from nijmegen.renzel.net (mx1.renzel.net [195.243.213.130]) by mx1.freebsd.org (Postfix) with ESMTP id 139FFC8 for ; Tue, 30 Sep 2014 08:20:47 +0000 (UTC) Received: from dublin.vkf.isb.de.renzel.net (unknown [10.0.0.80]) by nijmegen.renzel.net (smtpd) with ESMTP id B4E8414148F6 for ; Tue, 30 Sep 2014 10:20:19 +0200 (CEST) Received: from asbach.renzel.net (unknown [10.2.0.7]) by dublin.vkf.isb.de.renzel.net (Postfix) with ESMTP id E5C9198A01 for ; Tue, 30 Sep 2014 10:20:31 +0200 (CEST) Content-Type: text/plain; charset="ISO-8859-1" From: Nils Beyer Organization: VKF Renzel GmbH Date: Tue, 30 Sep 2014 10:20:31 +0200 User-Agent: KNode/4.12.5 Content-Transfer-Encoding: 7Bit Subject: Re: [CFT] alc(4) QAC AR816x/AR817x ethernet controller support To: freebsd-net@freebsd.org References: <20140930015741.GA2451@michelle.fasterthan.com> Lines: 44 MIME-Version: 1.0 X-Virus-Scanned: clamav-milter 0.98 at nijmegen.renzel.net X-Virus-Status: Clean X-Spam-Status: No, score=-6.5 required=7.0 tests=BAYES_00,MISSING_MID, UNPARSEABLE_RELAY autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on nijmegen.renzel.net 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: Tue, 30 Sep 2014 08:20:49 -0000 Hi Yonghyeon, Yonghyeon PYUN wrote: > I've added support for QAC AR816x/AR817x ethernet controllers. It > passed my limited testing and I need more testers. You can find > patches from the following URLs. [...] My NIC (System: "Dell Inc. Vostro 3460"): ------------------------------------------------------------------------------- none2@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 ------------------------------------------------------------------------------- I've successfully applied both of your patches to 10.1-BETA3 (r272295) sources and rebuilt the kernel. Then I've connected a network cable and rebooted. I've got a link and performed an "iperf" test. The results are really good: around 930 Mbit/s TX and 840 Mbit/s RX. CPU load during that test: "70.75% kernel{alc0 taskq}". Then I've dis- and reconnected the network cable. Unfortunately, I cannot get a link anymore; it stays at: "status: no carrier" - tried "ifconfig down/up", re- connecting the network cable several times, but it stays down. After another reboot the link can be established again. That doesn't always happen. Sometimes I easily get a link again, sometimes not and I need to reboot. If you need any further information or debugging, please let me know. For now, I'm using "if_alc" as an unloadable module - in case the NIC stalls for some reason; and am quite happy about being able to use that NIC now. Thanks for having added support for these NICs. Because I'm not using CURRENT, I've replied to the "net" mailing list. I hope, it is okay for you... Regards, Nils