From owner-freebsd-arm@FreeBSD.ORG Fri Mar 22 17:09:21 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 7F512D15 for ; Fri, 22 Mar 2013 17:09:21 +0000 (UTC) (envelope-from lehis2000@mail.ru) Received: from smtp53.i.mail.ru (smtp53.i.mail.ru [94.100.177.113]) by mx1.freebsd.org (Postfix) with ESMTP id 03665EF5 for ; Fri, 22 Mar 2013 17:09:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mail.ru; s=mail2; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:References:Subject:CC:To:MIME-Version:From:Date:Message-ID; bh=0uU/m9Ogeu8QvrF0VRfl1eRHyvsFXOi/jhhrQqMD5kQ=; b=fiOqh8rAOjrPq38yd4ejSZyuAeNsWGxMG27aOLOhVDQt1GoRg+7MVQuct4nOObxTYsqOIpgnndGI8ILDbalSE1q+YPMf7zLlUcy8gsp29eGcI/KgzB4gTAKYhnfhgtNMX3nsXxj8Nsm8+g9Bap9FzMfzmamPGebOSvaxyhzPmR8=; Received: from [91.217.137.251] (port=9420 helo=work-book.lehis.ru) by smtp53.i.mail.ru with esmtpa (envelope-from ) id 1UJ5Ss-0003v7-Cb; Fri, 22 Mar 2013 21:09:14 +0400 Message-ID: <514C902D.3030207@mail.ru> Date: Fri, 22 Mar 2013 21:09:01 +0400 From: "Alexey V. Panfilov" User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:17.0) Gecko/20130209 Thunderbird/17.0.2 MIME-Version: 1.0 To: Oleksandr Tymoshenko Subject: Re: RPI-B as router References: <514B2188.8030905@mail.ru> <6F05C3AD-D6F0-46B2-95D3-329898DE69B6@bluezbox.com> In-Reply-To: <6F05C3AD-D6F0-46B2-95D3-329898DE69B6@bluezbox.com> Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 7bit X-Spam: Not detected X-Mras: Ok Cc: freebsd-arm@freebsd.org 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: Fri, 22 Mar 2013 17:09:21 -0000 22.03.2013 09:53, Oleksandr Tymoshenko wrote: >> So RPI-B network's throughput was around 20Mbit/sec of full-duplex traffic: > > The problem is that USB works in PIO mode. With DMA mode enabled > it's somewhat faster. Here is my half-baked patch: > > http://people.freebsd.org/~gonzo/patches/dwc_otg-dma-nosplit.diff Oleksandr, thank you for explaine patch! Recompiling kernel with your patch in progress :) I'll report about result. > > Network interface should work, although USB keyboards will not work > with this patch. > I prefer to logon on RPI via ssh, so breaking USB keyboard is not big damage for me :) -- Best regards, Alexey V. Panfilov