From owner-freebsd-stable@FreeBSD.ORG Thu Apr 14 20:18: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 5B205106566B for ; Thu, 14 Apr 2011 20:18:51 +0000 (UTC) (envelope-from jfvogel@gmail.com) Received: from mail-vx0-f182.google.com (mail-vx0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id 0B0388FC08 for ; Thu, 14 Apr 2011 20:18:50 +0000 (UTC) Received: by vxc34 with SMTP id 34so2079683vxc.13 for ; Thu, 14 Apr 2011 13:18: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=HKMREARS4mhHLnhRIOmjHqoODTPWpS5t8nE87NxB1sw=; b=sKdChdB5Newoe98C6B976oWUnUtwIEYObRRhLKY63JdAsX3cFlO+5fXOv5Hg4l811k 9KTeLc7gzahyffQsL7UfjuyZy7XGN+3KhdIJQe9z3zy2p9JTDP61gB+XNg5tz8/pioys 0FCPCn1DvSX4ZLWDV3jgtnmtFAvL1yYyj5Rl8= 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=IhDZiN509iMrPuExFo82H0cIbvIy/6oSZM7X/NganN6/ECZupRHfyNo0oTbuakkDsJ hY2WpF0d+BMi3WTE8kOBkx1TYlFOE2G3+LuML5ZqAM20hy/NGOS4VJMuMaLR84yLEkGQ 89fId5d3YbEZRdAP9MIE3JhvwIMQSos7zz2AQ= MIME-Version: 1.0 Received: by 10.52.176.34 with SMTP id cf2mr1747041vdc.81.1302812330121; Thu, 14 Apr 2011 13:18:50 -0700 (PDT) Received: by 10.52.161.168 with HTTP; Thu, 14 Apr 2011 13:18:50 -0700 (PDT) In-Reply-To: References: <20110414130540.GD9116@emmi.physik-pool.tu-berlin.de> Date: Thu, 14 Apr 2011 13:18:50 -0700 Message-ID: From: Jack Vogel To: "K. Macy" 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?= , 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 20:18:51 -0000 So, what do you have in mind as the real problem then? Jack On Thu, Apr 14, 2011 at 11:55 AM, K. Macy wrote: > 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 > mbufs > > to > > fill your rings. You must do one of two things, either reduce the numbe= r > 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 structure= s > >> > >> I already tried the following patch because of Jack Vogel's advice giv= en > >> 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" > >> > > _______________________________________________ > > freebsd-stable@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.or= g > " > > >