From owner-freebsd-stable@FreeBSD.ORG Thu Apr 14 14:45:51 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3A5EC1065673 for ; Thu, 14 Apr 2011 14:45:51 +0000 (UTC) (envelope-from ndenev@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id BB96D8FC24 for ; Thu, 14 Apr 2011 14:45:50 +0000 (UTC) Received: by fxm11 with SMTP id 11so1657291fxm.13 for ; Thu, 14 Apr 2011 07:45:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:subject:mime-version:content-type:from :in-reply-to:date:cc:content-transfer-encoding:message-id:references :to:x-mailer; bh=rVH3e/y41lQ6U808RrTi/zDDcYXyHJfBnIoioyLFtFU=; b=L8zCTSonYfGLEiCsPH0J6BgIGPetkPXgaUqzR8PvG4peZ+h99cCm3K0CO5bTtJqYSH pPlodbeNj6Y63J3xVQGfCwjAfPTxKHPf/XYoR4xEUB+13Gvvh9qVI8P/d+XPfOxG67kZ MG+3zQRX9zKQHD5ltbH3xahUxNE9S19nDkkOc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; b=kcbw/XVSSLCnAQr3ogbaz+gUdPuKTvzz+mPfWDcrdaEi0c8LUBRpbGRkKYnChswVDf LaTeXWhuUGerEd08wnZYYo2B9tIUpX5gMQHm3cXZWSMwNIdCaD8mqcgK1J1AemZKD/Db GkkT7rR5v3CSNny/RVyvw4Pt8wuxx3qkXdAOE= Received: by 10.223.27.14 with SMTP id g14mr852043fac.129.1302790495537; Thu, 14 Apr 2011 07:14:55 -0700 (PDT) Received: from [91.208.28.69] ([91.208.28.69]) by mx.google.com with ESMTPS id l3sm519517fap.12.2011.04.14.07.14.53 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 14 Apr 2011 07:14:54 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=iso-8859-1 From: Nikolay Denev In-Reply-To: <20110414130540.GD9116@emmi.physik-pool.tu-berlin.de> Date: Thu, 14 Apr 2011 15:14:52 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: References: <20110414130540.GD9116@emmi.physik-pool.tu-berlin.de> To: =?iso-8859-1?Q?Leon_Me=DFner?= X-Mailer: Apple Mail (2.1084) Cc: freebsd-stable@freebsd.org Subject: Re: ixgbe(4) and "Could not setup receive structures" X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Apr 2011 14:45:51 -0000 On Apr 14, 2011, at 2:05 PM, Leon Me=DFner wrote: > Hi, >=20 > i tried setting the mtu on one of my ixgbe(4) intel NICs to support > jumbo frames. This is on a box with RELENG_8 from today. >=20 > # ifconfig ix0 mtu 9198 >=20 > I then get the following error:=20 >=20 > # tail -n 1 /var/log/messages > Apr 14 12:48:43 siloneu kernel: ix0: Could not setup receive = structures >=20 > I already tried the following patch because of Jack Vogel's advice = given > in the following thread on -stable in Oct. last year, which still > produces the same error message and leaves the box unpingable: >=20 > = http://lists.freebsd.org/pipermail/freebsd-stable/2010-October/059541.html= >=20 > # cat ~/patches/ixgbe.num_queues_to_4.patch=20 > --- /root/.vimbackup/ixgbe.c~ 2011-04-12 22:14:27.000000000 +0000 > +++ sys/dev/ixgbe/ixgbe.c 2011-04-12 22:14:27.000000000 +0000 > @@ -273,7 +273,7 @@ TUNABLE_INT("hw.ixgbe.hdr_split", &ixgbe > * number of cpus. Each queue is a pair > * of RX and TX rings with a msix vector > */ > -static int ixgbe_num_queues =3D 0; > +static int ixgbe_num_queues =3D 4; > TUNABLE_INT("hw.ixgbe.num_queues", &ixgbe_num_queues); >=20 > /* >=20 > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to = "freebsd-stable-unsubscribe@freebsd.org" Hi, Have you tried increasing the following sysctls ? : kern.ipc.nmbjumbo16 kern.ipc.nmbjumbo9 kern.ipc.nmbclusters Regards, Nikolay