From owner-freebsd-net@FreeBSD.ORG Tue Oct 29 06:03:49 2013 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 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 4D295FF7 for ; Tue, 29 Oct 2013 06:03:49 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from mail-oa0-x234.google.com (mail-oa0-x234.google.com [IPv6:2607:f8b0:4003:c02::234]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 127732B9B for ; Tue, 29 Oct 2013 06:03:49 +0000 (UTC) Received: by mail-oa0-f52.google.com with SMTP id j1so1203171oag.39 for ; Mon, 28 Oct 2013 23:03:47 -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=sNGIKSsL8Iil63MEJ62EtFhTZwPvvVBMYYir8pib/xo=; b=Ut5DhMJQf+K7SSErHk5kMQC2orjbTMAqIMZyyGFpoTOxrA5+V8acZrcFKnU3Hrm+i3 Ja9csrFwAQN0ivHg1f3RCCOSvI2Zx1RvC2OHbgPDTzWQy2C4cEmMJg+fUqwohbQZjROw 7leqkzsCkqrA3Z3i+rXQl5QV5tqM1Afmyul4vINQXjMV2ZKR4TvBU6JOUh1xoEiK0Hq3 60f2nyp75RK1Ti78AgYZHa7w4UTFuXLeywbG1nz8iRvn8ZUABb+3WZPtDTYCMJXmW5BM QIqHc4kdLqQ2YhbrXsiDtJYZP1E6CZYhcbxmbgl7B1PgTvjldHwPmBrzeYHVZxeKIAYr rrMQ== X-Received: by 10.182.66.164 with SMTP id g4mr4807666obt.47.1383026627524; Mon, 28 Oct 2013 23:03:47 -0700 (PDT) Received: from pyunyh@gmail.com (lpe4.p59-icn.cdngp.net. [114.111.62.249]) by mx.google.com with ESMTPSA id xx9sm32857193obc.6.2013.10.28.23.03.44 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Mon, 28 Oct 2013 23:03:46 -0700 (PDT) Received: by pyunyh@gmail.com (sSMTP sendmail emulation); Tue, 29 Oct 2013 15:03:40 +0900 From: Yonghyeon PYUN Date: Tue, 29 Oct 2013 15:03:40 +0900 To: Edward O'Callaghan Subject: Re: re(4) resync. Adds preliminary support for 8168G, 8168EP, 8168GU, 8411B and 8106EUS. Message-ID: <20131029060340.GA1390@michelle.cdnetworks.com> References: <20131027231325.2719b3c9.eocallaghan@alterapraxis.com> <20131028022723.GA4367@michelle.cdnetworks.com> <20131028164835.298646d5.eocallaghan@alterapraxis.com> <20131028061100.GC1350@michelle.cdnetworks.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20131028061100.GC1350@michelle.cdnetworks.com> User-Agent: Mutt/1.4.2.3i Cc: freebsd-net@freebsd.org X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: pyunyh@gmail.com List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Oct 2013 06:03:49 -0000 On Mon, Oct 28, 2013 at 03:11:00PM +0900, Yonghyeon PYUN wrote: > On Mon, Oct 28, 2013 at 04:48:35PM +1100, Edward O'Callaghan wrote: > > On Mon, 28 Oct 2013 11:27:23 +0900 > > Yonghyeon PYUN wrote: > > > > > On Sun, Oct 27, 2013 at 11:13:25PM +1100, Edward O'Callaghan wrote: > > > > Hi, > > > > > > > > This is a follow up. I have tested most of these NIC's now and this > > > > patch _should_ be fine to commit to HEAD. Could someone please help > > > > me mediate this? This also fixes kern/183167. Please disregards the > > > > patches in the PR. > > > > > > > > > > I can handle this. Actually I had been working on supporting these > > > newer controllers for a while. It seems just adding 8168GU id does > > > not work. Did you test the patch on 8168GU controller? > > > If yes, please let me know the OUI id and model number of the PHY. > > > > Hi Yonghyeon, > > > > Many thanks! Not the 8168GU, however I did find out that its the same > > as a 8106EUS. I don't know if this may shed some light if you have the > > hw to test it.. What exactly did not work about the 8168GU, what is it > > doing? > > Intermittent packet drops and slightly high number of RX > interrupts. > > > > > My main concern is to get a board here working that has a 8168G onboard. > > > > Just adding RTL8168G id would use ukpky(4). Probably rgephy(4) > should be taught to pick up the PHY but I don't have copy of data > sheet. I'm testing patched rgephy(4) at this moment so give me some > time. > FYI: Committed in r257304-257306. These commits do not address high number of RX interrupts though.