From owner-freebsd-current@FreeBSD.ORG Tue May 19 10:52: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 326431065673 for ; Tue, 19 May 2009 10:52:24 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.229]) by mx1.freebsd.org (Postfix) with ESMTP id F3DD18FC17 for ; Tue, 19 May 2009 10:52:23 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: by rv-out-0506.google.com with SMTP id k40so2147677rvb.43 for ; Tue, 19 May 2009 03:52:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:from:date:to:cc :subject:message-id:reply-to:references:mime-version:content-type :content-disposition:in-reply-to:user-agent; bh=Jz+kxlYck8S4CLDrDhGt6KcTO+oAtCX9OEC9gwEBkAs=; b=T+iGYVWPXCGZPjl8R6mrS1Fb5jyC3S9yXn4x4icjFrYaqSwDV5/lMD6b7D6WYaWIay 4anHSZdFIMHccGOL6KHMu2Tzd2436DwWAN0mGRHakd0MHDex7uGlbXGmH4fkQ09aJbD3 MmpWmcJQPcTkI4hwY9De3AQ+Pc8yH0qvuHcqQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:date:to:cc:subject:message-id:reply-to:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=azi5dlfQnoBjCEESOEwRCNNjZxxU+o0wIcN/j7nlc6YMUnN6vDN0QMMgTBoY8Z8/yP SQxFz8gwNEm6MjWjgznTG80hCBS0T0zNKnekY+fn4JVlJ8I5iUZJ4W5YkvSX0oy4/C0X Jc/RN0jFuHt82xSmYCrixZnW9khjZD4qXXaxY= Received: by 10.141.137.8 with SMTP id p8mr2782524rvn.27.1242729108542; Tue, 19 May 2009 03:31:48 -0700 (PDT) Received: from michelle.cdnetworks.co.kr ([114.111.62.249]) by mx.google.com with ESMTPS id g14sm15916327rvb.52.2009.05.19.03.31.46 (version=SSLv3 cipher=RC4-MD5); Tue, 19 May 2009 03:31:47 -0700 (PDT) Received: by michelle.cdnetworks.co.kr (sSMTP sendmail emulation); Tue, 19 May 2009 19:41:33 +0900 From: Pyun YongHyeon Date: Tue, 19 May 2009 19:41:33 +0900 To: Pascal Braun Message-ID: <20090519104133.GF4697@michelle.cdnetworks.co.kr> References: <4A127C56.6040502@continum.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4A127C56.6040502@continum.net> User-Agent: Mutt/1.4.2.3i Cc: freebsd-current@freebsd.org Subject: Re: Problems with jumbo frames on nfe 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: Tue, 19 May 2009 10:52:24 -0000 On Tue, May 19, 2009 at 11:31:02AM +0200, Pascal Braun wrote: > Hi, > > I'm currently testing jumbo frames on a Sunfire 4540 running with > FreeBSD 8-Current (build on April 8th). While using the nfe driver I'm > having some unexpected problems if i try to bring up the interface with > MTU sizes greater than 1970 bytes. > > The error message (in dmesg) is: > nfe2: initialization failed: no memory for rx buffers > It means you've run out of jumbo clusters. Check the output of "netstat -m" and see how many jumbo cluster requests were denied. > I tried to deactivate checksum offloading with -rxcsum -txcsum, but that > didn't help either. > Yeah, that has nothing to do with jumbo frame support. > If I change the mtu size on-the-fly without bringing the interface down > first, no error is logged. But the interface just isn't working. > nfe(4) is smart enough not to allocate jumbo clusters if interface is DOWN. > Does anyone have any ideas how to get jumbo frames working? > How about increasing 9K jumbo clusters(kern.ipc.nmbjumbo9) with sysctl(8)? > Regards > Pascal