From owner-freebsd-arm@FreeBSD.ORG Sun Feb 3 01:11:37 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 6575B7CB; Sun, 3 Feb 2013 01:11:37 +0000 (UTC) (envelope-from tim@kientzle.com) Received: from monday.kientzle.com (99-115-135-74.uvs.sntcca.sbcglobal.net [99.115.135.74]) by mx1.freebsd.org (Postfix) with ESMTP id 2B9A2DE7; Sun, 3 Feb 2013 01:11:36 +0000 (UTC) Received: (from root@localhost) by monday.kientzle.com (8.14.4/8.14.4) id r131BZrK070808; Sun, 3 Feb 2013 01:11:35 GMT (envelope-from tim@kientzle.com) Received: from [192.168.2.143] (CiscoE3000 [192.168.1.65]) by kientzle.com with SMTP id ev8273997b82fbbufwrvvhgtmn; Sun, 03 Feb 2013 01:11:35 +0000 (UTC) (envelope-from tim@kientzle.com) Subject: Re: CfT: Revised CPSW driver for BeagleBone Mime-Version: 1.0 (Apple Message framework v1283) Content-Type: text/plain; charset=us-ascii From: Tim Kientzle In-Reply-To: <3F0C7436-3CC5-4B57-A4CB-431D83AFCAFE@freebsd.org> Date: Sat, 2 Feb 2013 17:11:34 -0800 Content-Transfer-Encoding: 7bit Message-Id: References: <3F0C7436-3CC5-4B57-A4CB-431D83AFCAFE@freebsd.org> To: Tim Kientzle X-Mailer: Apple Mail (2.1283) Cc: freebsd-arm X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Feb 2013 01:11:37 -0000 I've committed this to FreeBSD SVN. If anyone sees any problems, please let me know. (It appears the issues Brett reported were actually from the older driver due to a source mixup.) I'm especially interested in performance measurements (I don't have a good setup here for perf testing.) or if anyone has access to other hardware that might use this driver. (I think I've figured out how to refactor it to support dual-PHY configurations but that would be easier if I had hardware to test on.) Tim On Jan 28, 2013, at 10:52 PM, Tim Kientzle wrote: > I have another iteration of the BeagleBone network driver > almost ready to commit and would appreciate any > feedback. > > The code is on github; you can browse it at > > https://github.com/kientzle/cpsw > > or download a snapshot from: > > https://github.com/kientzle/cpsw/archive/master.zip > > Just copy the three if_cpsw* files to sys/arm/ti/cpsw/ > and rebuild. > > Here are the improvements since my last update: > * Finally (!!) fixed the regular watchdog timeouts > (turned out to be misconfigured Ethernet flow control) > * TX performance improvements: > = Eliminated TX interrupt > = queue fragmented packets directly without defragmenting > * Debugging: Connected up the "Host Error" interrupt to print > detailed traces whenever the controller gets confused. > * Debugging: "sysctl dev.cpsw" gives a variety of statistics, > including packet error counters, queue and watchdog statistics > > Unless something shows up, I expect to commit it to > FreeBSD-CURRENT this coming weekend. > > Tim > > _______________________________________________ > freebsd-arm@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org"