From owner-cvs-all@FreeBSD.ORG Sat Nov 10 18:45:30 2007 Return-Path: Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C5BB816A417; Sat, 10 Nov 2007 18:45:30 +0000 (UTC) (envelope-from sam@errno.com) Received: from ebb.errno.com (ebb.errno.com [69.12.149.25]) by mx1.freebsd.org (Postfix) with ESMTP id 965B913C491; Sat, 10 Nov 2007 18:45:30 +0000 (UTC) (envelope-from sam@errno.com) Received: from trouble.errno.com (trouble.errno.com [10.0.0.248]) (authenticated bits=0) by ebb.errno.com (8.13.6/8.12.6) with ESMTP id lAAIjGWj000362 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 10 Nov 2007 10:45:16 -0800 (PST) (envelope-from sam@errno.com) Message-ID: <4735FC3F.6040704@errno.com> Date: Sat, 10 Nov 2007 10:45:19 -0800 From: Sam Leffler User-Agent: Thunderbird 2.0.0.6 (X11/20070814) MIME-Version: 1.0 To: src-committers@FreeBSD.org References: <200711101623.lAAGNccg068642@repoman.freebsd.org> In-Reply-To: <200711101623.lAAGNccg068642@repoman.freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-DCC-Rhyolite-Metrics: o.com; whitelist Cc: cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/dev/usb if_axe.c if_axereg.h X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Nov 2007 18:45:30 -0000 Sam Leffler wrote: > sam 2007-11-10 16:23:38 UTC > > FreeBSD src repository > > Modified files: > sys/dev/usb if_axe.c if_axereg.h > Log: > Add private tx/rx buffer management to support large frame sizes > and update the rx code to handle multiple frames in a single usb > transfer. AX772 parts (at least) exhibit many input errors when > operated with a 2K rx buffer and no errors w/ a 4K rx buffer (it's > unclear what the cause of the errors is for 2K so this may just be > covering up the real issue). Larger rx buffer sizes show no > significant performance improvement for AX772. Bypassing the common > buffer management routines also eliminates an extra context switch > on every packet which noticeably improves performance (TCP netperf > rx goes from 45 Mb/s to 85 MB/s). > > Submitted by: "J.R. Oldroyd" > Reviewed by: imp > Obtained from: openbsd (partly) > MFC after: 3 weeks > Anyone w/ AX88172 parts please test--these changes should be a noop but I'd like confirmation before MFC. Sam