From owner-freebsd-stable@FreeBSD.ORG Thu Apr 14 18:55:18 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 A6F87106564A for ; Thu, 14 Apr 2011 18:55:18 +0000 (UTC) (envelope-from kmacybsd@gmail.com) Received: from mail-pw0-f54.google.com (mail-pw0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id 76F6D8FC12 for ; Thu, 14 Apr 2011 18:55:18 +0000 (UTC) Received: by pwj8 with SMTP id 8so971691pwj.13 for ; Thu, 14 Apr 2011 11:55:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=lHUzumn1CH+b0K7vjDUJGghuXCGPr+Ncu/GqMNDBcFQ=; b=j6FnAx0aM5YLqSPIMxAJrpLBoYZrJElXI5grGjOysCOD5CvYZAUeNA69C7EcWWwG8l 5bHhBpNfsb6o58zKQzbPHM+vQy2nOcGDLs7qi7YyzCh8/GuSNwpUhUx7RTISYw4uxSLT CgLQ3OhgE6DWsdjIn4z0p+X27JyXipAmLUNMI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=aWu+513CzeNkS0TrBIJmTOg/34zTnQbg26ZjP6Eo/0KPdWOoJfILVXBvdhx6hBZ2u/ n7dEkB3FeC5dj9ZBdIxarbi2GXDfvTsipd8x38rddIskV3SjTsTAKjdGhW7M+BRG+n0e ENHMIgftL3txShYpuQJ8tHibxOIaIscRL11lQ= MIME-Version: 1.0 Received: by 10.68.22.9 with SMTP id z9mr714149pbe.44.1302807317990; Thu, 14 Apr 2011 11:55:17 -0700 (PDT) Sender: kmacybsd@gmail.com Received: by 10.68.41.101 with HTTP; Thu, 14 Apr 2011 11:55:17 -0700 (PDT) In-Reply-To: References: <20110414130540.GD9116@emmi.physik-pool.tu-berlin.de> Date: Thu, 14 Apr 2011 20:55:17 +0200 X-Google-Sender-Auth: ye2n3O3ddvP35RCgqkDUPWJLO_A Message-ID: From: "K. Macy" To: Jack Vogel Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: =?ISO-8859-1?Q?Leon_Me=DFner?= , 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 18:55:18 -0000 That isn't guaranteed to work if he is KVA limited. On Thu, Apr 14, 2011 at 6:44 PM, Jack Vogel wrote: > If you get this message its only for one reason, you don't have enough mb= ufs > 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.ht= ml >> >> # cat ~/patches/ixgbe.num_queues_to_4.patch >> --- /root/.vimbackup/ixgbe.c~ =A0 2011-04-12 22:14:27.000000000 +0000 >> +++ sys/dev/ixgbe/ixgbe.c =A0 =A0 =A0 2011-04-12 22:14:27.000000000 +000= 0 >> @@ -273,7 +273,7 @@ TUNABLE_INT("hw.ixgbe.hdr_split", &ixgbe >> =A0* number of cpus. Each queue is a pair >> =A0 =A0* of RX and TX rings with a msix vector >> =A0 =A0 =A0*/ >> =A0 =A0 =A0-static int ixgbe_num_queues =3D 0; >> =A0 =A0 =A0+static int ixgbe_num_queues =3D 4; >> =A0 =A0 =A0 TUNABLE_INT("hw.ixgbe.num_queues", &ixgbe_num_queues); >> >> =A0 =A0 =A0 =A0 /* >> >> _______________________________________________ >> 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= " >> > _______________________________________________ > 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" >