From owner-cvs-src@FreeBSD.ORG Tue Jun 12 10:38:32 2007 Return-Path: X-Original-To: cvs-src@freebsd.org Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 48BDD16A41F for ; Tue, 12 Jun 2007 10:38:32 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.225]) by mx1.freebsd.org (Postfix) with ESMTP id E0F0113C46A for ; Tue, 12 Jun 2007 10:38:31 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: by nz-out-0506.google.com with SMTP id 14so1354291nzn for ; Tue, 12 Jun 2007 03:38:31 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:received:received:date:from:to:cc:subject:message-id:reply-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; b=jIqOdkatxeTglCEhiAEVKtd892PtH6/JclkVAEiXAs1TBaaOvYNhDvR7KUSi+AzN9RtXrZhNkxcdts4WfjfDi1VKDuRxGIW5ut6RnZdor4WpTVCOFR4hCu7lvzGtZywKoZQ+z+0lqIHHtcNXjveFPo99Z/pcz2N20yNqU0FN9xU= 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=I4LhO3AhGE2yHGftVrOAmcZ1Osl6YXpyzZO4E8oHyGu/SZRMeYV6RxX6Htv+GJvuK3BTpE/fnZj0mFoTpL+ikLidnaPLHKw72OlI1ghxdbrd9qNWt32TkO5XgHE9++6x39ZXueVnZvV6P/6LztXPzKvC4SLO5X6EFf5bcjJ9UJ8= Received: by 10.114.202.15 with SMTP id z15mr6485957waf.1181644711085; Tue, 12 Jun 2007 03:38:31 -0700 (PDT) Received: from michelle.cdnetworks.co.kr ( [211.53.35.84]) by mx.google.com with ESMTP id k9sm10476924wah.2007.06.12.03.38.27 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 12 Jun 2007 03:38:30 -0700 (PDT) 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 l5CAcK8Q047478 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 12 Jun 2007 19:38:20 +0900 (KST) (envelope-from pyunyh@gmail.com) Received: (from yongari@localhost) by michelle.cdnetworks.co.kr (8.13.5/8.13.5/Submit) id l5CAcKQo047477; Tue, 12 Jun 2007 19:38:20 +0900 (KST) (envelope-from pyunyh@gmail.com) Date: Tue, 12 Jun 2007 19:38:20 +0900 From: Pyun YongHyeon To: Andrew Gallatin Message-ID: <20070612103820.GG44998@cdnetworks.co.kr> References: <200706120235.l5C2Z1iJ022543@repoman.freebsd.org> <20070612060521.D84335@grasshopper.cs.duke.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070612060521.D84335@grasshopper.cs.duke.edu> User-Agent: Mutt/1.4.2.1i Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org, Pyun YongHyeon Subject: Re: cvs commit: src/sys/dev/nfe if_nfe.c if_nfereg.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pyunyh@gmail.com List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Jun 2007 10:38:32 -0000 On Tue, Jun 12, 2007 at 06:05:21AM -0400, Andrew Gallatin wrote: > Pyun YongHyeon [yongari@FreeBSD.org] wrote: > > yongari 2007-06-12 02:35:01 UTC > > > > FreeBSD src repository > > > > Modified files: > > sys/dev/nfe if_nfe.c if_nfereg.h > > Log: > > Increase a maximum segment size of DMA to 4096. Previously it used > > MCLBYTES for the segment size but it used too many Tx descriptors in > > TSO case. > > While I'm here adjust maximum size of the sum of all segment lengths > > in a given DMA mapping to 65535, the maximum size, in bytes, of a IP > > Can't it actually be 65535 + link layer headers? Eg, up to > 65535 + 14 or 65535 + 18? > Oops, you're right. It should be 65535 + sizeof(struct ether_vlan_header). Thanks for pointing out! :) > Drew -- Regards, Pyun YongHyeon