From owner-freebsd-stable@FreeBSD.ORG Thu Apr 14 20:25:39 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 EFE891065670 for ; Thu, 14 Apr 2011 20:25:38 +0000 (UTC) (envelope-from kmacybsd@gmail.com) Received: from mail-px0-f172.google.com (mail-px0-f172.google.com [209.85.212.172]) by mx1.freebsd.org (Postfix) with ESMTP id BD8208FC0A for ; Thu, 14 Apr 2011 20:25:38 +0000 (UTC) Received: by pxi6 with SMTP id 6so1724896pxi.17 for ; Thu, 14 Apr 2011 13:25:38 -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=2k0jy4LDI1pPGYaapqTzpkPynBeyZcsfsqSXRDVzIUs=; b=J591bGjCGvu3uT9TWkahNLVMJak9E7w0C8CEqqWlI8p5XswNJIv0f1BmmB2gatk44c fVC1seDwBcbDt717ib2Wl2kcet5/dYUyr477Ka5F6Tyl4ZDUXRCcsEYYTfNPRgaU7yOB oiHN3J9RQwvEITPpnMLs0NGIzKXqqlZAgqbNY= 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=Y4QQXGQCe8qT3+abkjhBnYKA3RI9Ysuz0edqjkHpNIPkzmC5fcU9e0ZSTy1P/Eq/Tq WlqepxBDkImx//L5uvFgs37c0qT0Mb4sQ7n5iI4Z4nvmPTaZ1eF9Yw6zdk42hWeb4oYc YV2etuGINGXzwf7JGmhXeu/OawmExC9MUqqd0= MIME-Version: 1.0 Received: by 10.68.50.66 with SMTP id a2mr779870pbo.490.1302812738335; Thu, 14 Apr 2011 13:25:38 -0700 (PDT) Sender: kmacybsd@gmail.com Received: by 10.68.41.101 with HTTP; Thu, 14 Apr 2011 13:25:38 -0700 (PDT) In-Reply-To: References: <20110414130540.GD9116@emmi.physik-pool.tu-berlin.de> Date: Thu, 14 Apr 2011 22:25:38 +0200 X-Google-Sender-Auth: McRHz3SEPn0G8D2MBHnNB9yB2Nc 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 20:25:39 -0000 On Thu, Apr 14, 2011 at 10:18 PM, Jack Vogel wrote: > So, what do you have in mind as the real problem then? The problem was the one that you provided the solution to. I was simply observing that auto-tuning of mbuf jumbo cluster limits is in need of improvement. Kip > > 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 numb= er >> 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 structur= es >> >> >> >> I already tried the following patch because of Jack Vogel's advice gi= ven >> >> 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 += 0000 >> >> @@ -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.o= rg >> " >> > >> > _______________________________________________ > 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" >