From owner-freebsd-stable@FreeBSD.ORG Thu Apr 14 16:44: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 7710C106566C for ; Thu, 14 Apr 2011 16:44:51 +0000 (UTC) (envelope-from jfvogel@gmail.com) Received: from mail-gx0-f182.google.com (mail-gx0-f182.google.com [209.85.161.182]) by mx1.freebsd.org (Postfix) with ESMTP id 2ECC78FC12 for ; Thu, 14 Apr 2011 16:44:50 +0000 (UTC) Received: by gxk28 with SMTP id 28so981111gxk.13 for ; Thu, 14 Apr 2011 09:44:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=6/HiCken9zNYAwPJK1hifRpEVH8PaJWdN+5VSqvzxbY=; b=lrXaKEKToXQfFQxPulznDcxv5A5Fe/BLcb8vl++Ur+GGXpIK1fDPixC5BhJ6Qsg98Y MKV++1zJvXXO4RyHYhjvDwhNW7QKAis1W/iWxClWQuMO5vzkZO0Zog3P6IhHwdFM40+T A0CLFmWd0DLyTSSJnDGmMt00MO84sdohE28vQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=kvGbfDhdetAgbBp2PmBGir+ydoEnQFXf/+eNJeuYLaW01qE0qy26HcSQUqrDREZNm/ yJZJw0aOKAp8HZHH4LxbLxdN8QetEmbzICFNhqdmPqCCXH482sR/ebz5KhEggcvFbYzj hyJtZqqsaPqP0kdbwdw3tno/yZRtkbJW9UROk= MIME-Version: 1.0 Received: by 10.150.213.7 with SMTP id l7mr1693397ybg.392.1302799489016; Thu, 14 Apr 2011 09:44:49 -0700 (PDT) Received: by 10.151.112.18 with HTTP; Thu, 14 Apr 2011 09:44:48 -0700 (PDT) In-Reply-To: <20110414130540.GD9116@emmi.physik-pool.tu-berlin.de> References: <20110414130540.GD9116@emmi.physik-pool.tu-berlin.de> Date: Thu, 14 Apr 2011 09:44:48 -0700 Message-ID: From: Jack Vogel To: freebsd-stable@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: =?ISO-8859-1?Q?Leon_Me=DFner?= 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 16:44:51 -0000 If you get this message its only for one reason, you don't have enough mbuf= s to fill your rings. You must do one of two things, either reduce the number of queues, or increase the relevant mbuf pool. Increase the 9K mbuf cluster pool. Jack On Thu, Apr 14, 2011 at 6:05 AM, Leon Me=DFner wrote: > Hi, > > 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. > > # ifconfig ix0 mtu 9198 > > I then get the following error: > > # tail -n 1 /var/log/messages > Apr 14 12:48:43 siloneu kernel: ix0: Could not setup receive structures > > 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: > > http://lists.freebsd.org/pipermail/freebsd-stable/2010-October/059541.htm= l > > # cat ~/patches/ixgbe.num_queues_to_4.patch > --- /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); > > /* > > _______________________________________________ > 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" >