From owner-freebsd-current@FreeBSD.ORG Thu Jan 11 00:39:22 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 433FB16A504 for ; Thu, 11 Jan 2007 00:39:22 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.177]) by mx1.freebsd.org (Postfix) with ESMTP id F264313C441 for ; Thu, 11 Jan 2007 00:39:21 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: by py-out-1112.google.com with SMTP id f31so118594pyh for ; Wed, 10 Jan 2007 16:39:21 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:date:from:to:cc:subject:message-id:reply-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; b=Kqv47MqHChzEw60jLZl/pt3smY90tAihAXRh+B88Beu5rtBIyQ5VePAVLx5Msr5QxqcBmU2Y4fHqZ0ePzS0JJx0xS0O8kbN5Ijc+sMe+6Hpa7P4ZH1HzizviC7MA84mRImOyAFiHjo6FfxAm/+I/HA/iCcD9KObRppl3G6nvHt8= Received: by 10.35.100.6 with SMTP id c6mr1601190pym.1168475961513; Wed, 10 Jan 2007 16:39:21 -0800 (PST) Received: from michelle.cdnetworks.co.kr ( [211.53.35.84]) by mx.google.com with ESMTP id f10sm171942pyh.2007.01.10.16.39.19; Wed, 10 Jan 2007 16:39:20 -0800 (PST) Received: from michelle.cdnetworks.co.kr (localhost.cdnetworks.co.kr [127.0.0.1]) by michelle.cdnetworks.co.kr (8.13.5/8.13.5) with ESMTP id l0B0ekti038343 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 11 Jan 2007 09:40:46 +0900 (KST) (envelope-from pyunyh@gmail.com) Received: (from yongari@localhost) by michelle.cdnetworks.co.kr (8.13.5/8.13.5/Submit) id l0B0eic0038342; Thu, 11 Jan 2007 09:40:44 +0900 (KST) (envelope-from pyunyh@gmail.com) Date: Thu, 11 Jan 2007 09:40:44 +0900 From: Pyun YongHyeon To: Sergey Zaharchenko Message-ID: <20070111004044.GA33964@cdnetworks.co.kr> References: <20070110120731.GA1515@shark.localdomain> <200701100910.13167.jhb@freebsd.org> <20070110155331.GA2762@shark.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070110155331.GA2762@shark.localdomain> User-Agent: Mutt/1.4.2.1i Cc: freebsd-current@freebsd.org Subject: Re: nve related LOR triggered by lots of small packets, and a hard hang 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: Thu, 11 Jan 2007 00:39:22 -0000 On Wed, Jan 10, 2007 at 06:53:31PM +0300, Sergey Zaharchenko wrote: > Hello John! > > Wed, Jan 10, 2007 at 09:10:12AM -0500 you wrote: > [snip] > > Have you tried using nfe(4)? :) > > Now I have, and it works just fine, thanks (I somehow thought nfe was > specific to some platform). Why isn't it the default? Smaller range of > hardware supported? > AFAIK, nfe(4) supports more hardwares than that of nve(4). Try overhauled nfe(4) in the following URL. http://people.freebsd.org/~yongari/nfe/if_nfe.c http://people.freebsd.org/~yongari/nfe/if_nfereg.h http://people.freebsd.org/~yongari/nfe/if_nfevar.h The patch fixed serveral bugs in nfe(4) and it should perform better than nve(4). The following hardware features are supported. o TSO o Tx/Rx IP/TCP/UDP checksum offload o VLAN hardware tag insertion/stripping o Jumbo frame(up to 9100 bytes) It seems that the hardware supports MSI/MSI-X too but I don't have nForce hardwares that supports MSI/MSI-X so it's hard to implement/ experiment it. Accoring to the Shigeaki Tagashira, the author of FreeBSD nfe(4), his hardware claims to support 8 messages. I've checked Linux forcedeth driver to get hardware information for MSI/MSI-X but it I cound't understand the details. :-( -- Regards, Pyun YongHyeon