From owner-freebsd-stable@FreeBSD.ORG Wed Feb 13 07:55:59 2013 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id F11B5DC8 for ; Wed, 13 Feb 2013 07:55:59 +0000 (UTC) (envelope-from Devin.Teske@fisglobal.com) Received: from mx1.fisglobal.com (mx1.fisglobal.com [199.200.24.190]) by mx1.freebsd.org (Postfix) with ESMTP id B5DCFFC for ; Wed, 13 Feb 2013 07:55:59 +0000 (UTC) Received: from smtp.fisglobal.com ([10.132.206.31]) by ltcfislmsgpa04.fnfis.com (8.14.5/8.14.5) with ESMTP id r1D7thmD019386 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Wed, 13 Feb 2013 01:55:50 -0600 Received: from LTCFISWMSGMB21.FNFIS.com ([10.132.99.23]) by LTCFISWMSGHT03.FNFIS.com ([10.132.206.31]) with mapi id 14.02.0309.002; Wed, 13 Feb 2013 01:55:48 -0600 From: "Teske, Devin" To: Daniel Braniss Subject: RE: ix? / Intel(R) PRO/10GbE Thread-Topic: ix? / Intel(R) PRO/10GbE Thread-Index: AQHOCTS51RZcgQACiESvcPSCI1tHdZh2WHTBgAFxUwD//6EmDg== Date: Wed, 13 Feb 2013 07:55:47 +0000 Message-ID: <13CA24D6AB415D428143D44749F57D7201EA7B3E@ltcfiswmsgmb21> References: <13CA24D6AB415D428143D44749F57D7201EA7586@ltcfiswmsgmb21>, In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.132.253.120] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.9.8327, 1.0.431, 0.0.0000 definitions=2013-02-13_03:2013-02-12,2013-02-13,1970-01-01 signatures=0 Cc: "freebsd-stable@freebsd.org" X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Feb 2013 07:56:00 -0000 On Tue, 12 Feb 2013, Daniel Braniss wrote: > > On Tue, 12 Feb 2013, Daniel Braniss wrote: > > > > > I finally got a 10G card that is recognized by FreeBSD (9.1-stable): > > > ... > > > ix0: = port > > > 0xecc0-0xecdf mem 0xd9e80000-0xd9efffff,0xd9ff8000-0xd9ffbfff irq 40 = at d=3Device > > > 0.0 on pci4 > > > ix0: Using MSIX interrupts with 9 vectors > > > ix0: RX Descriptors exceed system mbuf max, using default instead! > > > > From reading sys/dev/ixgbe/README: > > > > echo "kern.ipc.nmbclusters=3D262144" >> /etc/sysctl.conf > > echo "kern.ipc.nmbjumbop=3D262144" >> /etc/sysctl.conf > > reboot >=20 > but this only works if the driver is loaded after > the sysctl is executed! > it's better to put it in /boot/loader.conf Not necessarily, it depends when the driver grabs the mbufs. In the case of= the igb/ixgb/ixgbe drivers, this happens when the interface is brought up = (not when the driver is loaded, nor when the driver probes/attaches a PHY).= In other words, you don't have to worry about mbuf exhaustion until you sa= y "ifconfig ix0 up" (in the case of ixgbe, bringing up even a single interf= ace is enough through the default mbufs and require more). Since sysctl.conf is processed before the network is brought up, putting th= e parameters in sysctl.conf will be perfectly suitable for most needs (unle= ss for some strange reason you need to "up" an interface before sysctl.conf= is processed). --=20 Devin _____________ The information contained in this message is proprietary and/or confidentia= l. If you are not the intended recipient, please: (i) delete the message an= d all copies; (ii) do not disclose, distribute or use the message in any ma= nner; and (iii) notify the sender immediately. In addition, please be aware= that any message addressed to our domain is subject to archiving and revie= w by persons other than the intended recipient. Thank you.