From owner-freebsd-current@FreeBSD.ORG Wed Nov 11 22:38:24 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9F16F106566B for ; Wed, 11 Nov 2009 22:38:24 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.24]) by mx1.freebsd.org (Postfix) with ESMTP id 58D888FC13 for ; Wed, 11 Nov 2009 22:38:24 +0000 (UTC) Received: by qw-out-2122.google.com with SMTP id 9so299550qwb.7 for ; Wed, 11 Nov 2009 14:38:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:from:date:to:subject :message-id:reply-to:mime-version:content-type:content-disposition :user-agent; bh=mVZivPMTi7DuzqPFaszPR5Ydvd3fsdHJpPpMSGaXwjo=; b=ojgZXu0RsedrGwBhko0LzXQfnq4n5F6nC1plNnxO1P6QCGSFF1P+0XlNZMMPcfYsPn 8yhlY3Bo+Jx8PBF2xW+cNwvH6C9hsFmZr0V3qHTeF4NY0KUyoQwBPhRO3ioqZ2L6IFon 8yaumGG4/pZozD6HzWO7Z9kWlebjPWQa6A3Qw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:date:to:subject:message-id:reply-to:mime-version:content-type :content-disposition:user-agent; b=LSVrigb0Fj01rBI3G2dn199x4oPTEbCbfiUZVTXKkzJyuDSaDuGCW+r9jb90pCQhdg v3FV9l7egWmhLn2SQEBP3Db+LTh9jMdLl3gF7MdAS4dXx0wtRH43Vem9ZYPpcv1fLk7/ +P/gnOn73PdRyAQxPP0sGTKPjSGLiULfs7Hgg= Received: by 10.224.43.160 with SMTP id w32mr1136026qae.277.1257979103810; Wed, 11 Nov 2009 14:38:23 -0800 (PST) Received: from pyunyh@gmail.com ([174.35.1.224]) by mx.google.com with ESMTPS id 20sm162410qyk.1.2009.11.11.14.38.22 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 11 Nov 2009 14:38:23 -0800 (PST) Received: by pyunyh@gmail.com (sSMTP sendmail emulation); Wed, 11 Nov 2009 14:37:51 -0800 From: Pyun YongHyeon Date: Wed, 11 Nov 2009 14:37:51 -0800 To: freebsd-current@freebsd.org Message-ID: <20091111223751.GE15449@michelle.cdnetworks.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i Subject: Call for bge(4) testers X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pyunyh@gmail.com List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Nov 2009 22:38:24 -0000 Hi, I had been working on fixing bus_dma(9) bugs and adding TSO capability to bge(4). Now TSO is supported for BCM5755 or newer controllers. Actually some pre-BCM5755 controllers also support TSO with the help of special firmware but the license issue and lower performance of firmware based TSO as well as TSO bug I intentionally excluded TSO support for pre-BCM5755 controllers. You can get the patch form the following URL. The diff was generated against latest HEAD. http://people.freebsd.org/~yongari/bge/bge.tso.1111.diff or http://people.freebsd.org/~yongari/bge/if_bge.c http://people.freebsd.org/~yongari/bge/if_bgereg.h The diff also has a lot of functional changes which may affect other bge(4) controllers. Specifically the diff - Added workarounds for known DMA bug. This workaround shall make bge(4) use bounce buffers so this fix requires all previous changes made in HEAD. This may slow down overall performance if bounce buffers are used but I think it's better than leaving the bug. - Tuned interrupt coalescing parameters. - Use taskqeue to get better performance on PCIe controllers. - TSO support for BCM5755 or newer controllers. - Tx path cleaned up. - Interrupt handler now clears status word as it does in polling case. I'm interesting in performance changes before/after the diff and any regressions from the diff. Please test I'll commit the diff next week unless I get regressions. Thanks.